summaryrefslogtreecommitdiff
path: root/media-libs/libpipewire/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-05 01:20:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-05 01:20:57 +0100
commitab25d73a3c73b68087af1fd47fdba69541701f10 (patch)
tree6282582f84c0c91da52293cc994b87e4e24db144 /media-libs/libpipewire/files
parentc5c0dbbfb1f391b057ca79bd560f1ede2d83e18b (diff)
app-emulation/steam{,-native-runtime} : version bump
Diffstat (limited to 'media-libs/libpipewire/files')
-rw-r--r--media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch12
-rw-r--r--media-libs/libpipewire/files/pipewire-0.3.31-non-systemd-integration.patch17
-rw-r--r--media-libs/libpipewire/files/pipewire-0.3.31-revert-openaptx-restriction.patch30
3 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch b/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch
new file mode 100644
index 00000000..bdb43fe5
--- /dev/null
+++ b/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch
@@ -0,0 +1,12 @@
+diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
+--- a/src/daemon/pipewire.conf.in
++++ b/src/daemon/pipewire.conf.in
+@@ -6,7 +6,7 @@ context.properties = {
+ #support.dbus = true
+ #link.max-buffers = 64
+ link.max-buffers = 16 # version < 3 clients can't handle more
+- #mem.warn-mlock = false
++ mem.warn-mlock = true # Gentoo should have good RLIMITs now
+ #mem.allow-mlock = true
+ #mem.mlock-all = false
+ #clock.power-of-two-quantum = true
diff --git a/media-libs/libpipewire/files/pipewire-0.3.31-non-systemd-integration.patch b/media-libs/libpipewire/files/pipewire-0.3.31-non-systemd-integration.patch
new file mode 100644
index 00000000..ccc89f13
--- /dev/null
+++ b/media-libs/libpipewire/files/pipewire-0.3.31-non-systemd-integration.patch
@@ -0,0 +1,17 @@
+--- a/src/daemon/pipewire.conf.in 2021-06-30 22:22:09.520402459 +0200
++++ b/src/daemon/pipewire.conf.in 2021-06-30 22:22:30.620404999 +0200
+@@ -234,12 +234,12 @@
+ # but it is better to start it as a systemd service.
+ # Run the session manager with -h for options.
+ #
+- @comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
++ { path = "@session_manager_path@" args = "@session_manager_args@" }
+ #
+ # You can optionally start the pulseaudio-server here as well
+ # but it is better to start it as a systemd service.
+ # It can be interesting to start another daemon here that listens
+ # on another address with the -a option (eg. -a tcp:4713).
+ #
+- @comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf" }
++ { path = "@pipewire_path@" args = "-c pipewire-pulse.conf" }
+ ]
diff --git a/media-libs/libpipewire/files/pipewire-0.3.31-revert-openaptx-restriction.patch b/media-libs/libpipewire/files/pipewire-0.3.31-revert-openaptx-restriction.patch
new file mode 100644
index 00000000..d8496bc5
--- /dev/null
+++ b/media-libs/libpipewire/files/pipewire-0.3.31-revert-openaptx-restriction.patch
@@ -0,0 +1,30 @@
+From 3449214466c4dac866ec9f47ecc573efaf4505bb Mon Sep 17 00:00:00 2001
+From: Thomas Deutschmann <whissi@gentoo.org>
+Date: Fri, 21 May 2021 10:32:52 +0200
+Subject: [PATCH] Revert "openaptx: Blacklist >= 0.2.1 due to license change"
+
+This reverts commit d08b6fac6bec0d334ee9fc785d551a67832f95fe.
+
+Doesn't apply to us.
+
+Bug: https://bugs.gentoo.org/785634
+---
+ spa/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spa/meson.build b/spa/meson.build
+index e13802e94..885b25405 100644
+--- a/spa/meson.build
++++ b/spa/meson.build
+@@ -28,7 +28,7 @@ if not get_option('spa-plugins').disabled()
+ summary({'LDAC': ldac_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
+ ldac_abr_dep = dependency('ldacBT-abr', required : get_option('bluez5-codec-ldac'))
+ summary({'LDAC ABR': ldac_abr_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
+- aptx_dep = dependency('libopenaptx', version : '< 0.2.1', required : get_option('bluez5-codec-aptx'))
++ aptx_dep = dependency('libopenaptx', required : get_option('bluez5-codec-aptx'))
+ summary({'aptX': aptx_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
+ fdk_aac_dep = dependency('fdk-aac', required : get_option('bluez5-codec-aac'))
+ summary({'AAC': fdk_aac_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
+--
+2.32.0
+