extra/pulseaudio to 7.0-2

This commit is contained in:
Kevin Mihelich 2015-09-27 17:00:34 +00:00
parent ce3ef235b8
commit ec48b00bd6

View file

@ -12,7 +12,7 @@ pkgbase=pulseaudio
pkgname=(pulseaudio libpulse pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
pkgdesc="A featureful, general-purpose sound server"
pkgver=7.0
pkgrel=1
pkgrel=2
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(LGPL)
@ -44,7 +44,8 @@ build() {
--disable-samplerate \
--disable-rpath \
--disable-default-build-tests \
--disable-neon-opt
--disable-neon-opt \
DATADIRNAME=share
# fight unused direct deps
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@ -62,7 +63,10 @@ package_pulseaudio() {
cd $pkgbase-$pkgver
_pulsever=$(./git-version-gen .tarball-version)
[[ $_pulsever = *.*.* ]] && _pulsever=${_pulsever%.*}
while [[ $_pulsever = *.*.* ]]; do
_pulsever=${_pulsever%.*}
done
_pulsever=${_pulsever%%-*}
make -j1 DESTDIR="$pkgdir" install \
bashcompletiondir=/usr/share/bash-completion/completions