summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-04-02 20:40:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-04-02 20:40:14 +0200
commitf80953b33d31d16e1a969816c020a6f1c7049bbd (patch)
treeab984c6a608b1133387ca0ab6e1604b3c0c7678e
parentae264506891a55e5b53efad131a3f7cfb115df32 (diff)
downloadkde-f80953b33d31d16e1a969816c020a6f1c7049bbd.tar.gz
kde-f80953b33d31d16e1a969816c020a6f1c7049bbd.tar.bz2
kde-f80953b33d31d16e1a969816c020a6f1c7049bbd.zip
kde-apps/kmix: Deal with upstream sndio mess
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kmix/files/kmix-25.03.90-revert-sndio-automagic.patch37
-rw-r--r--kde-apps/kmix/kmix-25.03.90.ebuild2
-rw-r--r--kde-apps/kmix/kmix-25.04.49.9999.ebuild2
-rw-r--r--kde-apps/kmix/kmix-9999.ebuild2
4 files changed, 43 insertions, 0 deletions
diff --git a/kde-apps/kmix/files/kmix-25.03.90-revert-sndio-automagic.patch b/kde-apps/kmix/files/kmix-25.03.90-revert-sndio-automagic.patch
new file mode 100644
index 00000000000..fafb7617c9f
--- /dev/null
+++ b/kde-apps/kmix/files/kmix-25.03.90-revert-sndio-automagic.patch
@@ -0,0 +1,37 @@
+From 55b5b20e18f40cfaa7df21bbf7f4ec3cd4ea57ad Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 2 Apr 2025 20:36:25 +0200
+Subject: [PATCH] Disable sndio detection
+
+Until it is fixed upstream:
+https://invent.kde.org/multimedia/kmix/-/merge_requests/32
+https://invent.kde.org/multimedia/kmix/-/merge_requests/32#note_1182527
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e831f673..114bebae 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -91,6 +91,7 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
+ ########### sound backend support ##################################################################
+ ####################################################################################################
+
++if (0)
+ # sndio, only for that platform
+ check_include_file("sndio.h" HAVE_SYS_SNDIO_H)
+ if (HAVE_SYS_SNDIO_H)
+@@ -99,6 +100,7 @@ if (HAVE_SYS_SNDIO_H)
+ add_definitions(-DHAVE_SNDIO_MIXER)
+ set(SUPPORTED_BACKENDS ${SUPPORTED_BACKENDS} "Sndio")
+ endif ()
++endif ()
+
+ # Sun Audio, only for that platform
+ check_include_file("sys/audioio.h" HAVE_SYS_AUDIOIO_H)
+--
+2.49.0
+
diff --git a/kde-apps/kmix/kmix-25.03.90.ebuild b/kde-apps/kmix/kmix-25.03.90.ebuild
index d717b722937..dcf5d56a43e 100644
--- a/kde-apps/kmix/kmix-25.03.90.ebuild
+++ b/kde-apps/kmix/kmix-25.03.90.ebuild
@@ -46,6 +46,8 @@ PATCHES=(
"${FILESDIR}/${PN}-23.04.2-autostart_disable.patch"
# Pending: https://invent.kde.org/multimedia/kmix/-/merge_requests/29
"${FILESDIR}/${PN}-24.12.2-revert-kcm_pulseaudio-dep.patch"
+ # Regressed in: https://invent.kde.org/multimedia/kmix/-/merge_requests/32
+ "${FILESDIR}/${P}-revert-sndio-automagic.patch"
)
src_configure() {
diff --git a/kde-apps/kmix/kmix-25.04.49.9999.ebuild b/kde-apps/kmix/kmix-25.04.49.9999.ebuild
index fc6db3e9192..e9980de8481 100644
--- a/kde-apps/kmix/kmix-25.04.49.9999.ebuild
+++ b/kde-apps/kmix/kmix-25.04.49.9999.ebuild
@@ -46,6 +46,8 @@ PATCHES=(
"${FILESDIR}/${PN}-23.04.2-autostart_disable.patch"
# Pending: https://invent.kde.org/multimedia/kmix/-/merge_requests/29
"${FILESDIR}/${PN}-24.12.2-revert-kcm_pulseaudio-dep.patch"
+ # Regressed in: https://invent.kde.org/multimedia/kmix/-/merge_requests/32
+ "${FILESDIR}/${PN}-25.03.90-revert-sndio-automagic.patch"
)
src_configure() {
diff --git a/kde-apps/kmix/kmix-9999.ebuild b/kde-apps/kmix/kmix-9999.ebuild
index b4c65a926da..dd15f95de01 100644
--- a/kde-apps/kmix/kmix-9999.ebuild
+++ b/kde-apps/kmix/kmix-9999.ebuild
@@ -46,6 +46,8 @@ PATCHES=(
"${FILESDIR}/${PN}-23.04.2-autostart_disable.patch"
# Pending: https://invent.kde.org/multimedia/kmix/-/merge_requests/29
"${FILESDIR}/${PN}-24.12.2-revert-kcm_pulseaudio-dep.patch"
+ # Regressed in: https://invent.kde.org/multimedia/kmix/-/merge_requests/32
+ "${FILESDIR}/${PN}-25.03.90-revert-sndio-automagic.patch"
)
src_configure() {