summarylogtreecommitdiffstats
path: root/pulseaudio.install
diff options
context:
space:
mode:
authorMr. Tao2020-07-23 21:05:43 +0200
committerMr. Tao2020-07-23 21:08:56 +0200
commit8a47c866e41bc856c1a957af24ab219b34889095 (patch)
tree199df4cf201d421e2cc6b3a78e72a1bf92d9fdbd /pulseaudio.install
downloadaur-8a47c866e41bc856c1a957af24ab219b34889095.tar.gz
Add support for AirPlay 2 devices
https://gitlab.freedesktop.org/ckdo/pulseaudio/-/commit/938fb6411540e31137396b97dd2011ebba4bd650
Diffstat (limited to 'pulseaudio.install')
-rw-r--r--pulseaudio.install14
1 files changed, 14 insertions, 0 deletions
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
+}