# vim: set syn=sh: # Packager: Phill Watkins pkgname=pulseaudio pkgver=0.9.23 pkgrel=1pw #arch=noarch source=("http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.tar.gz" "pavol.gz" "README.Slackware.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/13.37/l/$pkgname docs=("ABOUT-NLS" "GPL" "LGPL" "LICENSE" "README" "README.Slackware") url=http://www.pulseaudio.org/ dotnew=('etc/dbus-1/system.d/pulseaudio-system.conf' 'etc/pulse/client.conf' 'etc/pulse/daemon.conf' 'etc/pulse/default.pa' 'etc/pulse/system.pa') options=('nosrcpack' 'noautodotnew') doinst() { udevadm control --reload-rules udevadm trigger --action=change } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pulseaudio (PulseAudio Sound Server)" "PulseAudio is a sound server that acts as a proxy for your sound" "applications allowing you to do advanced operations on your sound" "data as it passes between your applications and hardware." "Transferring audio to a different machine, changing the sample format" "or channel count and mixing several sounds into one are easily" "achieved using a sound server." "" "Note: Read the 'README.Slackware' for post-installation help." ) build() { set -e cd $startdir/src/$pkgname-$pkgver # fix tcp_wrappers support sed '/LIBS=/s|-lwrap|-lnsl -lwrap|' -i ./configure ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux \ --disable-static \ --disable-hal \ --with-system-user=pulse \ --with-system-group=pulse \ --with-access-group=audio \ --with-udev-rules-dir=/etc/udev/rules.d make -j $numjobs make install DESTDIR=$startdir/pkg # volume control script install -m 0755 $startdir/src/pavol $startdir/pkg/usr/bin/ set +e }