summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2020-12-08 12:24:54 -0500
committerSolomon Choina2020-12-08 12:24:54 -0500
commitf5a0e1a59ce9bac1add3f14b2e9e930c4e2aa5f5 (patch)
treea8859931a05f95e8db0aceb516372175f0be0cb9
parent194d6326cd74bac487683e9b7be386259fb282ac (diff)
downloadaur-f5a0e1a59ce9bac1add3f14b2e9e930c4e2aa5f5.tar.gz
pipewire and other stuff
-rwxr-xr-x.SRCINFO9
-rw-r--r--PKGBUILD21
-rw-r--r--pulseaudio.install14
3 files changed, 31 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58261af78ca..f42a935279a 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = pulseaudio-git
pkgdesc = A featureful, general-purpose sound server (development version)
- pkgver = 13.99.2.r4.g36a86d414
+ pkgver = 14.0.r41.g6bf178d79
pkgrel = 1
url = http://pulseaudio.org/
+ install = pulseaudio.install
arch = i686
arch = x86_64
arch = armv7h
@@ -50,6 +51,7 @@ pkgbase = pulseaudio-git
depends = python-sip
depends = fftw
depends = dconf
+ depends = gst-plugins-base-libs
optdepends = alsa-plugins: ALSA support
optdepends = pulseaudio-alsa: ALSA configuration (recommended)
optdepends = lirc-utils: infra-red support
@@ -63,16 +65,15 @@ pkgbase = pulseaudio-git
provides = libpulse.so
provides = libpulse-simple.so
provides = libpulse-mainloop-glib.so
- conflicts = pulseaudio
conflicts = pulseaudio-zeroconf
conflicts = pulseaudio-lirc
- conflicts = pulseaudio-jack
+ conflicts = pulse-audio-jack
conflicts = pulseaudio-bluetooth
conflicts = pulseaudio-equalizer
- conflicts = libpulse
conflicts = libpulse.so
conflicts = libpulse-simple.so
conflicts = libpulse-mainloop-glib.so
+ conflicts = pipewire-pulse
options = !emptydirs
backup = etc/pulse/daemon.conf
backup = etc/pulse/default.pa
diff --git a/PKGBUILD b/PKGBUILD
index bb03231531b..ece5d7c8caf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,15 @@
_pkgname="pulseaudio"
pkgname="$_pkgname-git"
pkgdesc="A featureful, general-purpose sound server (development version)"
-pkgver=13.99.2.r4.g36a86d414
+pkgver=14.0.r41.g6bf178d79
pkgrel=1
arch=("i686" "x86_64" "armv7h")
url="http://pulseaudio.org/"
license=("GPL" "LGPL")
+install=pulseaudio.install
depends=(lib{ltdl,soxr,asyncns,xtst,sndfile} "rtkit" "speexdsp" "tdb" "orc"
"webrtc-audio-processing" jack2 "lirc" bluez{,-libs} "sbc"
- python-{pyqt5,dbus,sip} "fftw" dconf)
+ python-{pyqt5,dbus,sip} "fftw" dconf gst-plugins-base-libs)
makedepends=("git" lib{asyncns,xtst,tool,soxr,sndfile} "attr" "rtkit" "speexdsp"
"tdb" jack2 bluez{,-libs} "intltool" "sbc" "lirc" "fftw"
"orc" "gtk3" "webrtc-audio-processing" "check" "meson")
@@ -26,11 +27,13 @@ optdepends=("alsa-plugins: ALSA support"
"pulseaudio-alsa: ALSA configuration (recommended)"
"lirc-utils: infra-red support")
backup=(etc/pulse/{daemon.conf,default.pa,system.pa,client.conf})
-provides=(pulseaudio{,-{zeroconf,lirc,jack,bluetooth,equalizer}} "libpulse" libpulse{,-{simple,mainloop-glib}}.so)
-conflicts=(pulseaudio{,-{zeroconf,lirc,jack,bluetooth,equalizer}} "libpulse" libpulse{,-{simple,mainloop-glib}}.so)
+provides=(pulseaudio{,-{zeroconf,lirc,jack,bluetooth,equalizer}} libpulse libpulse{,-{simple,mainloop-glib}}.so)
+conflicts=(pulseaudio-zeroconf pulseaudio-lirc pulse-audio-jack pulseaudio-bluetooth pulseaudio-equalizer libpulse{,-{simple,mainloop-glib}}.so pipewire-pulse)
options=(!emptydirs)
-source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git")
-sha256sums=('SKIP')
+source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git"
+ "pulseaudio.install")
+sha256sums=('SKIP'
+ '1d4890b10fadb9208c3fefbbed4aca1f22e63a0f102f4c598dc573a55e724cb2')
pkgver() {
cd "$srcdir/$_pkgname"
@@ -39,7 +42,7 @@ pkgver() {
build() {
arch-meson pulseaudio build \
- -D gcov=false \
+ -D stream-restore-clear-old-devices=true \
-D pulsedsp-location='/usr/\$LIB/pulseaudio' \
-D udevrulesdir=/usr/lib/udev/rules.d
ninja -C build
@@ -71,12 +74,12 @@ package() {
# Disable cork-request module, can result in e.g. media players unpausing
# when there's a Skype call incoming
- sed -e "s|/usr/bin/pactl load-module module-x11-cork-request|#&|" \
+ sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
-i usr/bin/start-pulseaudio-x11
# Required by qpaeq
sed -e '/Load several protocols/aload-module module-dbus-protocol' \
- -i "$pkgdir/etc/pulse/default.pa"
+ -i etc/pulse/default.pa
rm -r etc/dbus-1
diff --git a/pulseaudio.install b/pulseaudio.install
new file mode 100644
index 00000000000..f6f8478d05c
--- /dev/null
+++ b/pulseaudio.install
@@ -0,0 +1,14 @@
+post_install() {
+ # Enable socket by default
+ systemctl --global enable pulseaudio.socket
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 8.0-3) < 0)); then
+ systemctl --global enable pulseaudio.socket
+ fi
+}
+
+pre_remove() {
+ systemctl --global disable pulseaudio.socket
+}