diff options
Diffstat (limited to 'extra/pulseaudio/PKGBUILD')
-rw-r--r-- | extra/pulseaudio/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD index 8ba2595fb..a380da235 100644 --- a/extra/pulseaudio/PKGBUILD +++ b/extra/pulseaudio/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 140984 2011-10-20 15:35:19Z heftig $ +# $Id: PKGBUILD 146236 2012-01-06 17:00:30Z heftig $ # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Corrado Primier <bardo@aur.archlinux.org> @@ -14,9 +14,9 @@ url="http://pulseaudio.org/" license=(GPL LGPL) makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit speex tdb udev dbus-core xcb-util avahi bluez gconf intltool jack - openssl fftw orc json-c) + openssl fftw orc json-c gtk2) [ "$CARCH" = "mips64el" ] || makedepends+=(lirc-utils) -options=(!emptydirs !libtool !makeflags) +options=(!emptydirs !libtool) source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz $pkgbase.xinit) sha256sums=('6fe531136f6ebce2d35872a2d2c914278cdc5dcdd5eea516dc52c81f9001f5ee' @@ -35,6 +35,9 @@ build() { --disable-rpath \ --disable-default-build-tests + # fight unused direct deps + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make } @@ -50,8 +53,9 @@ package_pulseaudio() { [ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: infra-red support') backup=(etc/pulse/{daemon.conf,default.pa,system.pa}) install=pulseaudio.install + cd "$srcdir/$pkgbase-$pkgver" - make DESTDIR="$pkgdir" install + make -j1 DESTDIR="$pkgdir" install # Lower resample quality, saves CPU sed -e '/resample-method/iresample-method=speex-float-0' \ @@ -62,9 +66,8 @@ package_pulseaudio() { sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \ -i "$pkgdir/usr/bin/start-pulseaudio-x11" - # Make some modules optional + # Make ConsoleKit optional sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \ - -e '/load-module module-jackdbus-detect/s/^/#/' \ -i "$pkgdir/etc/pulse/default.pa" # Python fix @@ -93,9 +96,10 @@ package_pulseaudio() { package_libpulse() { pkgdesc="$pkgdesc (client library)" - depends=(dbus-core xcb-util libasyncns libcap libxtst libsm libsndfile json-c) + depends=(dbus-core libasyncns libcap libxtst libsm libsndfile json-c) optdepends=('alsa-plugins: ALSA support' 'avahi: zeroconf support') backup=(etc/pulse/client.conf) + mv "$srcdir"/libpulse/* "$pkgdir" } |