commit:     76227a67676268ef6650ba71954b0dffd5b5e8c8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 16:02:16 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 16:07:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76227a67

media-sound/kid3: Set -DWITH_QAUDIODECODER to circumvent detection

If none of (WITH_FFMPEG,WITH_GSTREAMER,WITH_QAUDIODECODER) is set, build
system will perform some kind of detection on chromaprint via CMake's
GetPrerequisites macro. That, for some reason, will end up in a sandbox
violation against media-libs/chromaprint[-tools].

Set to -DWITH_QAUDIODECODER since we already depend on dev-qt/qtmultimedia.

Closes: https://bugs.gentoo.org/855281
Bug: https://bugs.gentoo.org/911185
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/kid3/kid3-3.9.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/kid3/kid3-3.9.4.ebuild 
b/media-sound/kid3/kid3-3.9.4.ebuild
index 2bc1178b0bb1..22d30b51080b 100644
--- a/media-sound/kid3/kid3-3.9.4.ebuild
+++ b/media-sound/kid3/kid3-3.9.4.ebuild
@@ -80,6 +80,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DBUILD_WITH_QT6=OFF
+               -DWITH_QAUDIODECODER=ON # bug 855281
                -DWITH_CHROMAPRINT=$(usex acoustid)
                -DWITH_DBUS=$(usex mpris)
                -DWITH_FLAC=$(usex flac)

Reply via email to