From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 031FE158099 for ; Mon, 27 Nov 2023 23:23:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8E152BC11C; Mon, 27 Nov 2023 23:22:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC2702BC11C for ; Mon, 27 Nov 2023 23:22:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57EC9342F5D for ; Mon, 27 Nov 2023 23:22:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4A1013FB for ; Mon, 27 Nov 2023 23:22:52 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1701127295.5d2ca195c1c7020564d365f0463bb3db30e2f67e.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: media-libs/phonon/ X-VCS-Repository: proj/kde X-VCS-Files: media-libs/phonon/phonon-9999.ebuild X-VCS-Directories: media-libs/phonon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5d2ca195c1c7020564d365f0463bb3db30e2f67e X-VCS-Branch: master Date: Mon, 27 Nov 2023 23:22:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54372a93-0842-4952-8709-4d205086ebd4 X-Archives-Hash: f78305d385e5b4d0b5eff0b12a899a5b commit: 5d2ca195c1c7020564d365f0463bb3db30e2f67e Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 27 21:10:50 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Nov 27 23:21:35 2023 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5d2ca195 media-libs/phonon: Add IUSE="qt5,qt6" TODO: phononsettings currently built against Qt6 if both flags are enabled. Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/phonon/phonon-9999.ebuild | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild index aeb2ece48b..49a50dbd7b 100644 --- a/media-libs/phonon/phonon-9999.ebuild +++ b/media-libs/phonon/phonon-9999.ebuild @@ -15,25 +15,33 @@ fi LICENSE="|| ( LGPL-2.1 LGPL-3 ) !pulseaudio? ( || ( GPL-2 GPL-3 ) )" SLOT="0" -IUSE="debug designer gstreamer pulseaudio +vlc" +IUSE="designer pulseaudio +qt5 qt6 +vlc" +REQUIRED_USE="|| ( qt5 qt6 )" DEPEND=" - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - designer? ( dev-qt/designer:5 ) pulseaudio? ( dev-libs/glib:2 media-libs/libpulse[glib] ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + designer? ( dev-qt/designer:5 ) + ) + qt6? ( + dev-qt/qt5compat:6 + dev-qt/qtbase:6[gui,widgets] + designer? ( dev-qt/qttools:6[designer] ) + ) " RDEPEND="${DEPEND}" BDEPEND=" - dev-qt/linguist-tools:5 + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) virtual/pkgconfig " PDEPEND=" - gstreamer? ( >=media-libs/phonon-gstreamer-4.9.60 ) - vlc? ( >=media-libs/phonon-vlc-0.9.60 ) + vlc? ( >=media-libs/phonon-vlc-0.12.0[qt5?,qt6?] ) " src_configure() { @@ -41,6 +49,8 @@ src_configure() { -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio) -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio) + -DPHONON_BUILD_QT5=$(usex qt5) + -DPHONON_BUILD_QT6=$(usex qt6) -DPHONON_BUILD_SETTINGS=ON ) ecm_src_configure