summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-11-29 19:45:15 -0500
committerDavid P <megver83@parabola.nu>2021-11-29 19:45:15 -0500
commit24077c93f711c4756ef1fc1acda11078e51446aa (patch)
treef4878b7932f99e6f556fa122d7dd668f3887e4dc
parentc05bf063fc4c93b657cd92339c01001c392e113e (diff)
downloadabslibre-24077c93f711c4756ef1fc1acda11078e51446aa.tar.gz
abslibre-24077c93f711c4756ef1fc1acda11078e51446aa.tar.bz2
abslibre-24077c93f711c4756ef1fc1acda11078e51446aa.zip
updpkg: nonsystemd/pulseaudio 15.0-1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--nonsystemd/pulseaudio/PKGBUILD41
-rw-r--r--nonsystemd/pulseaudio/meson-elogind-support.patch42
2 files changed, 23 insertions, 60 deletions
diff --git a/nonsystemd/pulseaudio/PKGBUILD b/nonsystemd/pulseaudio/PKGBUILD
index 2a96d303d..1d9238560 100644
--- a/nonsystemd/pulseaudio/PKGBUILD
+++ b/nonsystemd/pulseaudio/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: David P. <megver83@parabola.nu>
-# Maintainer (Arch): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgbase=pulseaudio
pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp})
pkgdesc="A featureful, general-purpose sound server"
-pkgver=14.2
-pkgrel=2
+pkgver=15.0
+pkgrel=1
pkgrel+=.nonsystemd1
arch=(x86_64)
arch+=(i686 armv7h)
@@ -14,12 +14,10 @@ license=(GPL)
makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr
speexdsp tdb elogind dbus avahi bluez bluez-libs jack2 sbc
lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
- xmltoman)
-_commit=6a487c5244563f49a025088de3510c80824fc99e # tags/v14.2^0
-source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit"
- "meson-elogind-support.patch")
-sha256sums=('SKIP'
- 'fea0e09a9f026bc3c9160b53018b8e1dd1f3493c60f68405a758de7d3cb592cf')
+ xmltoman valgrind doxygen)
+_commit=6329a2498eb038f8a9537888280a62b00a93f68e # tags/v15.0^0
+source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
+sha256sums=('SKIP')
pkgver() {
cd pulseaudio
@@ -30,18 +28,22 @@ prepare() {
cd pulseaudio
# Freeze version before patching
- patch -Np 1 -i ../meson-elogind-support.patch
./git-version-gen doesnt-exist >.tarball-version
}
build() {
- arch-meson pulseaudio build \
- -D pulsedsp-location='/usr/\$LIB/pulseaudio' \
- -D stream-restore-clear-old-devices=true \
- -D udevrulesdir=/usr/lib/udev/rules.d \
- -D systemd=disabled \
+ local meson_options=(
+ -D stream-restore-clear-old-devices=true
+ -D pulsedsp-location='/usr/\$LIB/pulseaudio'
+ -D udevrulesdir=/usr/lib/udev/rules.d
+ -D bluez5-gstreamer=disabled
+ -D tcpwrap=disabled
+ -D systemd=disabled
-D elogind=enabled
- meson compile -C build
+ )
+
+ arch-meson pulseaudio build "${meson_options[@]}"
+ meson compile -C build
}
check() {
@@ -78,7 +80,7 @@ package_pulseaudio() {
done
pulsever=${pulsever%%-*}
- DESTDIR="$pkgdir" meson install -C build
+ meson install -C build --destdir "$pkgdir"
cd "$pkgdir"
@@ -106,7 +108,10 @@ package_pulseaudio() {
_pick libpulse usr/include
_pick libpulse usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1
_pick libpulse usr/share/man/man5/pulse-client.conf.5
+ _pick libpulse usr/share/bash-completion/completions/pa{cat,ctl,dsp,play,rec,record}
+ _pick libpulse usr/share/bash-completion/completions/pulseaudio
_pick libpulse usr/share/vala
+ _pick libpulse usr/share/zsh
local moddir=usr/lib/pulse-$pulsever/modules
@@ -133,7 +138,7 @@ package_pulseaudio() {
package_libpulse() {
pkgdesc="$pkgdesc (client library)"
- depends=(dbus libasyncns libcap libxcb libsm libsndfile elogind)
+ depends=(dbus libasyncns libcap libxcb libsm libsndfile libelogind)
optdepends=('glib2: mainloop integration')
provides=(libpulse{,-simple,-mainloop-glib}.so)
license=(LGPL)
diff --git a/nonsystemd/pulseaudio/meson-elogind-support.patch b/nonsystemd/pulseaudio/meson-elogind-support.patch
deleted file mode 100644
index 9d18e4a39..000000000
--- a/nonsystemd/pulseaudio/meson-elogind-support.patch
+++ /dev/null
@@ -1,42 +0,0 @@
- meson.build | 6 ++++++
- meson_options.txt | 3 +++
- 2 files changed, 9 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index 842d5f5b5..1daa3b067 100644
---- a/meson.build
-+++ b/meson.build
-@@ -484,6 +484,11 @@ if systemd_dep.found() and systemduserunitdir == ''
- systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir')
- endif
-
-+libelogind_dep = dependency('libelogind', required : get_option('elogind'))
-+if libelogind_dep.found()
-+ cdata.set('HAVE_SYSTEMD_LOGIN', 1)
-+endif
-+
- x11_dep = dependency('x11-xcb', required : get_option('x11'))
- if x11_dep.found()
- xcb_dep = dependency('xcb', required : true, version : '>= 1.6')
-@@ -701,6 +706,7 @@ summary = [
- 'Enable udev: @0@'.format(udev_dep.found()),
- ' Enable HAL->udev compat: @0@'.format(get_option('hal-compat')),
- 'Enable systemd: @0@'.format(libsystemd_dep.found()),
-+ 'Enable elogind: @0@'.format(libelogind_dep.found()),
- # 'Enable TCP Wrappers: @0@'.format(${ENABLE_TCPWRAP}),
- 'Enable libsamplerate: @0@'.format(samplerate_dep.found()),
- 'Enable IPv6: @0@'.format(get_option('ipv6')),
-diff --git a/meson_options.txt b/meson_options.txt
-index e54caf5cf..5fbb513c0 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -126,6 +126,9 @@ option('udev',
- option('x11',
- type : 'feature', value : 'auto',
- description : 'Optional X11 support')
-+option('elogind',
-+ type : 'feature', value : 'auto',
-+ description : 'Optional elogind support')
-
- # Echo cancellation
-