diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-08-16 14:12:41 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-08-16 14:12:41 +0000 |
commit | 3abfc1ebef5936241997dd882938581c91743ee9 (patch) | |
tree | 2115f0512eb82f91f0a536d20631bed8eb37f47a /extra/esound | |
parent | ea595018ba8ae00d7030ff296ec4f50e122d2ea9 (diff) |
Tue Aug 16 14:12:40 UTC 2011
Diffstat (limited to 'extra/esound')
-rw-r--r-- | extra/esound/PKGBUILD | 38 | ||||
-rwxr-xr-x | extra/esound/esd | 37 | ||||
-rw-r--r-- | extra/esound/esd-0.2.38-alsa-drain.patch | 11 |
3 files changed, 0 insertions, 86 deletions
diff --git a/extra/esound/PKGBUILD b/extra/esound/PKGBUILD deleted file mode 100644 index b6d035b22..000000000 --- a/extra/esound/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# $Id: PKGBUILD 131830 2011-07-16 00:02:10Z dreisner $ -# Maintainer: Jan de Groot <jgc@archlinux.org> -pkgname=esound -pkgver=0.2.41 -pkgrel=2 -pkgdesc="Enlightened Sound Daemon" -arch=(i686 x86_64) -license=('LGPL') -depends=('audiofile' 'alsa-lib>=1.0.18') -url="http://www.tux.org/~ricdude/EsounD.html" -provides=("esd=${pkgver}") -replaces=('esd') -conflicts=('esd') -backup=('etc/esd.conf') -options=('!libtool') -source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.2/${pkgname}-${pkgver}.tar.bz2 - esd-0.2.38-alsa-drain.patch - esd) -md5sums=('8d9aad3d94d15e0d59ba9dc0ea990c6c' - '3de93efcd1bc196a3585e6aef50eac48' - 'a4c76e7c7f75b201ea7ab6fb15b47472') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/esd-0.2.38-alsa-drain.patch" - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static \ - --with-audiofile --without-libwrap \ - --enable-alsa --disable-artstest - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/etc/rc.d" - install -m755 "${srcdir}/esd" "${pkgdir}/etc/rc.d/esd" -} diff --git a/extra/esound/esd b/extra/esound/esd deleted file mode 100755 index d90ef55fa..000000000 --- a/extra/esound/esd +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/esd` -case "$1" in - start) - stat_busy "Starting Esound Daemon" - if [ -z "$PID" ]; then - /usr/bin/esd -nobeeps & - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - add_daemon esd - stat_done - fi - ;; - stop) - stat_busy "Stopping Esound Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon esd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac diff --git a/extra/esound/esd-0.2.38-alsa-drain.patch b/extra/esound/esd-0.2.38-alsa-drain.patch deleted file mode 100644 index f2fb716ba..000000000 --- a/extra/esound/esd-0.2.38-alsa-drain.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- esound-0.2.38/audio_alsa09.c.old 2007-06-11 12:22:24.000000000 +0200 -+++ esound-0.2.38/audio_alsa09.c 2007-06-11 12:22:49.000000000 +0200 -@@ -486,7 +486,7 @@ void esd_audio_flush(void) - } - - if (alsa_playback_handle != NULL) -- snd_pcm_drain( alsa_playback_handle ); -+ snd_pcm_drop( alsa_playback_handle ); - - if (alsadbg) - print_state(); |