aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-21 16:02:08 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-21 14:38:20 +0000
commit7cdda1f62c74f4fdf7f79ffaac570324fba931b4 (patch)
tree8f1beec25e1c4dc5445fea5815c978f14c78405d
parentba61e620eba7d18bc224ff12fdede3a50a0bd041 (diff)
downloadaports-7cdda1f62c74f4fdf7f79ffaac570324fba931b4.tar.gz
aports-7cdda1f62c74f4fdf7f79ffaac570324fba931b4.tar.bz2
aports-7cdda1f62c74f4fdf7f79ffaac570324fba931b4.tar.xz
community/pulseaudio: fix audio over network
-rw-r--r--community/pulseaudio/APKBUILD6
-rw-r--r--community/pulseaudio/define-tunnel_sink-for-module-tunnel-sink.patch28
2 files changed, 32 insertions, 2 deletions
diff --git a/community/pulseaudio/APKBUILD b/community/pulseaudio/APKBUILD
index d6e8b3f6f3..7db289c70a 100644
--- a/community/pulseaudio/APKBUILD
+++ b/community/pulseaudio/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=pulseaudio
pkgver=13.0
-pkgrel=7
+pkgrel=8
pkgdesc="A featureful, general-purpose sound server"
url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
arch="all"
@@ -64,6 +64,7 @@ source="https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.
python3.patch
$pkgname.initd
$pkgname.confd
+ define-tunnel_sink-for-module-tunnel-sink.patch
"
case "$CARCH" in
@@ -237,4 +238,5 @@ sha512sums="d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bd
126b66e8fd3e0b231beed987acf0f1aecb8a9da1c4d4591eb65a5d8d3e0561bd6b3652e2c3dc079350be4219df48a446a58c4539f7275edba941db846837baae link-libintl.patch
f45f4c9ddc75ff6a3ef42cc916bc11615b74fa1214502455d13a05c90acd3dcab652681bab1f768f7f02a863226a717bd63585c3405a9f58db40470b293d61d3 python3.patch
34fe54ece5df60ce63a7955cd828a2716670fef71f40960698ae5518fdaf9cd599f4d8f8852e2c88d715600a9ad06a38984415e5eb320071012e5eb6e5c1b8b1 pulseaudio.initd
-75b54581591519d63a3362b155c0f9b0501a60763ab394693a456c44d0216138cf3a40bdd0f7442028663bc045e9ffee286f8f8eaf2ee3bb17379b43615fee0e pulseaudio.confd"
+75b54581591519d63a3362b155c0f9b0501a60763ab394693a456c44d0216138cf3a40bdd0f7442028663bc045e9ffee286f8f8eaf2ee3bb17379b43615fee0e pulseaudio.confd
+0493b75e0dcfa4a48c68a394c8a0aa4fc395803e572eff90ac3234da8e87da4b8f5dc2d3ed68322d4565364e7c12fc9eeea07aff9dc9a46d587135302bba92bd define-tunnel_sink-for-module-tunnel-sink.patch"
diff --git a/community/pulseaudio/define-tunnel_sink-for-module-tunnel-sink.patch b/community/pulseaudio/define-tunnel_sink-for-module-tunnel-sink.patch
new file mode 100644
index 0000000000..a0926c4b3b
--- /dev/null
+++ b/community/pulseaudio/define-tunnel_sink-for-module-tunnel-sink.patch
@@ -0,0 +1,28 @@
+From 7e039c4ff7466d253ac8a9511ffbe02b9ffc721c Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Sun, 15 Sep 2019 13:47:19 +0200
+Subject: [PATCH] meson: Define TUNNEL_SINK for module-tunnel-sink
+
+This was missing, so it was building another tunnel-source instead.
+
+Fixes https://bugs.archlinux.org/task/63755
+---
+ src/modules/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/modules/meson.build b/src/modules/meson.build
+index 92d5871f9..dd2241f42 100644
+--- a/src/modules/meson.build
++++ b/src/modules/meson.build
+@@ -55,7 +55,7 @@ all_modules = [
+ [ 'module-suspend-on-idle', 'module-suspend-on-idle.c' ],
+ [ 'module-switch-on-connect', 'module-switch-on-connect.c' ],
+ [ 'module-switch-on-port-available', 'module-switch-on-port-available.c' ],
+- [ 'module-tunnel-sink', 'module-tunnel.c', [], [], [x11_dep] ],
++ [ 'module-tunnel-sink', 'module-tunnel.c', [], ['-DTUNNEL_SINK=1'], [x11_dep] ],
+ [ 'module-tunnel-sink-new', 'module-tunnel-sink-new.c' ],
+ [ 'module-tunnel-source', 'module-tunnel.c', [], [], [x11_dep] ],
+ [ 'module-tunnel-source-new', 'module-tunnel-source-new.c' ],
+--
+2.24.1
+