commit:     6c2bd6347954123d91cbaa3b8208a690a83d79b3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 20:32:41 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 20:39:19 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=6c2bd634

media-libs/phonon: Disable PHONON_BUILD_SETTINGS if USE=minimal

phononsettings binary segfaults without any backend configured.

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/phonon/phonon-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/phonon/phonon-9999.ebuild 
b/media-libs/phonon/phonon-9999.ebuild
index dc2e560289..dde73a34b7 100644
--- a/media-libs/phonon/phonon-9999.ebuild
+++ b/media-libs/phonon/phonon-9999.ebuild
@@ -73,12 +73,12 @@ src_configure() {
                if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then
                        mycmakeargs+=(
                                -DPHONON_BUILD_QT5=OFF
-                               -DPHONON_BUILD_SETTINGS=ON
+                               -DPHONON_BUILD_SETTINGS=$(usex !minimal)
                        )
                else
                        mycmakeargs+=(
                                -DPHONON_BUILD_QT6=OFF
-                               -DPHONON_BUILD_SETTINGS=$(usex !qt6)
+                               -DPHONON_BUILD_SETTINGS=$(usex !qt6 $(usex 
!minimal ON OFF) OFF)
                        )
                fi
 

Reply via email to