[arch-commits] Commit in pulseaudio/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Aug 8 08:49:52 UTC 2019
Date: Thursday, August 8, 2019 @ 08:49:52
Author: heftig
Revision: 359318
12.99.2-1
Modified:
pulseaudio/trunk/PKGBUILD
----------+
PKGBUILD | 49 ++++++++++++++++++-------------------------------
1 file changed, 18 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-08 01:16:04 UTC (rev 359317)
+++ PKGBUILD 2019-08-08 08:49:52 UTC (rev 359318)
@@ -6,16 +6,16 @@
pkgbase=pulseaudio
pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer})
pkgdesc="A featureful, general-purpose sound server"
-pkgver=12.99.1
+pkgver=12.99.2
pkgrel=1
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 intltool jack2-dbus sbc
- lirc openssl fftw orc gtk3 webrtc-audio-processing
- check autoconf-archive git)
-_commit=0cd931dc808786bffa3b40f75097af43a217b880 # tags/v12.99.1^0
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs jack2-dbus sbc
+ lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
+ xmltoman)
+_commit=09e6728f7b609a7eb00abacd2caaa7cae862de70 # tags/v12.99.2^0
source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
sha256sums=('SKIP')
@@ -26,30 +26,18 @@
prepare() {
cd pulseaudio
- NOCONFIGURE=1 ./bootstrap.sh
}
build() {
- cd pulseaudio
+ arch-meson pulseaudio build \
+ -D gcov=false \
+ -D pulsedsp-location='/usr/\$LIB/pulseaudio' \
+ -D udevrulesdir=/usr/lib/udev/rules.d
+ ninja -C build
+}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --with-udev-rules-dir=/usr/lib/udev/rules.d \
- --with-pulsedsp-location='/usr/\\$$LIB/pulseaudio' \
- --with-database=tdb \
- --disable-tcpwrap \
- --disable-bluez4 \
- --disable-samplerate \
- --disable-rpath \
- --disable-default-build-tests \
- DATADIRNAME=share
-
- # fight unused direct deps
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
+check() {
+ meson test -C build --print-errorlogs
}
_pick() {
@@ -70,16 +58,13 @@
install=pulseaudio.install
replaces=('pulseaudio-xen<=9.0' 'pulseaudio-gconf<=11.1')
- cd pulseaudio
-
- local pulsever=$(./git-version-gen .tarball-version)
+ local pulsever=$(cd pulseaudio; ./git-version-gen .tarball-version)
while [[ $pulsever = *.*.* ]]; do
pulsever=${pulsever%.*}
done
pulsever=${pulsever%%-*}
- make -j1 DESTDIR="$pkgdir" install \
- bashcompletiondir=/usr/share/bash-completion/completions
+ DESTDIR="$pkgdir" meson install -C build
cd "$pkgdir"
@@ -180,3 +165,5 @@
mv equalizer/* "$pkgdir"
}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list