extra/pulseaudio to 12.0-1

This commit is contained in:
Kevin Mihelich 2018-06-21 12:56:44 +00:00
parent a2ddb41c7b
commit 78be3af931

View file

@ -8,19 +8,19 @@
# - added --disable-neon-opt to configure
pkgbase=pulseaudio
pkgname=(pulseaudio libpulse pulseaudio-{gconf,zeroconf,lirc,jack,bluetooth,equalizer})
pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer})
pkgdesc="A featureful, general-purpose sound server"
pkgver=11.1
pkgver=12.0
pkgrel=1
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
license=(GPL)
makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit libsoxr
speexdsp tdb systemd dbus avahi bluez bluez-libs gconf intltool jack2-dbus sbc
speexdsp tdb systemd dbus avahi bluez bluez-libs intltool jack2-dbus sbc
lirc openssl fftw orc gtk3 webrtc-audio-processing
check autoconf-archive git)
options=(!emptydirs)
_commit=f93e372b0b2cb960df04de3f0a8fbea683bb8229 # tags/v11.1^0
_commit=43e6ef5c7b05d1013a1eb0c05db34a40c367b892 # tags/v12.0^0
source=("git+https://anongit.freedesktop.org/git/pulseaudio/pulseaudio#commit=$_commit")
sha256sums=('SKIP')
@ -52,7 +52,7 @@ build() {
--disable-rpath \
--disable-default-build-tests \
$CONFIG \
DATADIRNAME=share
DATADIRNAME=share
# fight unused direct deps
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@ -66,7 +66,7 @@ package_pulseaudio() {
optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
install=pulseaudio.install
replaces=('pulseaudio-xen<=9.0')
replaces=('pulseaudio-xen<=9.0' 'pulseaudio-gconf<=11.1')
cd pulseaudio
@ -131,13 +131,8 @@ package_pulseaudio() {
### Split modules
mkdir -p "$srcdir"/{gconf,zeroconf,lirc,jack,bluetooth,equalizer}/usr/lib/pulse-$_pulsever/modules \
"$srcdir"/{gconf/usr/lib/pulse,equalizer/usr/bin}
mv usr/lib/pulse-$_pulsever/modules/module-gconf.so \
"$srcdir/gconf/usr/lib/pulse-$_pulsever/modules"
mv usr/lib/pulse/gconf-helper \
"$srcdir/gconf/usr/lib/pulse"
mkdir -p "$srcdir"/{zeroconf,lirc,jack,bluetooth,equalizer}/usr/lib/pulse-$_pulsever/modules \
"$srcdir"/equalizer/usr/bin
mv usr/lib/pulse-$_pulsever/modules/{libavahi-wrap,module-{zeroconf-{publish,discover},raop-discover}}.so \
"$srcdir/zeroconf/usr/lib/pulse-$_pulsever/modules"
@ -166,13 +161,6 @@ package_libpulse() {
mv "$srcdir"/libpulse/* "$pkgdir"
}
package_pulseaudio-gconf(){
pkgdesc="GConf support for PulseAudio"
depends=("pulseaudio=$pkgver-$pkgrel" gconf)
mv "$srcdir"/gconf/* "$pkgdir"
}
package_pulseaudio-zeroconf(){
pkgdesc="Zeroconf support for PulseAudio"
depends=("pulseaudio=$pkgver-$pkgrel" avahi openssl)
@ -203,8 +191,7 @@ package_pulseaudio-bluetooth(){
package_pulseaudio-equalizer(){
pkgdesc="Equalizer for PulseAudio"
depends=("pulseaudio=$pkgver-$pkgrel" python-pyqt4 fftw)
license=(AGPL3)
depends=("pulseaudio=$pkgver-$pkgrel" python-pyqt5 fftw)
mv "$srcdir"/equalizer/* "$pkgdir"
}