commit:     2b17103b23f4ae848d1ae15ba4392cc3110feed4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 20:42:18 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan  1 08:55:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b17103b

media-sound/qsynth: Drop IUSE qt6 (Qt5 build option)

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

 .../{qsynth-9999.ebuild => qsynth-1.0.2-r1.ebuild} | 24 ++++++----------------
 media-sound/qsynth/qsynth-9999.ebuild              | 22 +++++---------------
 2 files changed, 11 insertions(+), 35 deletions(-)

diff --git a/media-sound/qsynth/qsynth-9999.ebuild 
b/media-sound/qsynth/qsynth-1.0.2-r1.ebuild
similarity index 74%
copy from media-sound/qsynth/qsynth-9999.ebuild
copy to media-sound/qsynth/qsynth-1.0.2-r1.ebuild
index 496e8129a1ca..e10bee8f4374 100644
--- a/media-sound/qsynth/qsynth-9999.ebuild
+++ b/media-sound/qsynth/qsynth-1.0.2-r1.ebuild
@@ -13,39 +13,27 @@ if [[ ${PV} == *9999* ]]; then
        inherit git-r3
 else
        SRC_URI="https://downloads.sourceforge.net/qsynth/${P}.tar.gz";
-       KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+       KEYWORDS="amd64 ppc ppc64 x86"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+alsa debug jack pulseaudio qt6"
+IUSE="+alsa debug jack pulseaudio"
 
 REQUIRED_USE="|| ( alsa jack pulseaudio )"
 
-BDEPEND="
-       qt6? ( dev-qt/qttools:6[linguist] )
-       !qt6? ( dev-qt/linguist-tools:5 )
-"
 DEPEND="
-       qt6? (
-               dev-qt/qtbase:6[gui,network,widgets]
-               dev-qt/qtsvg:6
-       )
-       !qt6? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtnetwork:5
-               dev-qt/qtsvg:5
-               dev-qt/qtwidgets:5
-       )
+       dev-qt/qtbase:6[gui,network,widgets]
+       dev-qt/qtsvg:6
        media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
 "
 RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/qttools:6[linguist]"
 
 src_configure() {
        local mycmakeargs=(
                -DCONFIG_DEBUG=$(usex debug 1 0)
-               -DCONFIG_QT6=$(usex qt6 1 0)
+               -DCONFIG_QT6=1
        )
        cmake_src_configure
 }

diff --git a/media-sound/qsynth/qsynth-9999.ebuild 
b/media-sound/qsynth/qsynth-9999.ebuild
index 496e8129a1ca..1a8dd2a8ac2b 100644
--- a/media-sound/qsynth/qsynth-9999.ebuild
+++ b/media-sound/qsynth/qsynth-9999.ebuild
@@ -18,34 +18,22 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+alsa debug jack pulseaudio qt6"
+IUSE="+alsa debug jack pulseaudio"
 
 REQUIRED_USE="|| ( alsa jack pulseaudio )"
 
-BDEPEND="
-       qt6? ( dev-qt/qttools:6[linguist] )
-       !qt6? ( dev-qt/linguist-tools:5 )
-"
 DEPEND="
-       qt6? (
-               dev-qt/qtbase:6[gui,network,widgets]
-               dev-qt/qtsvg:6
-       )
-       !qt6? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtnetwork:5
-               dev-qt/qtsvg:5
-               dev-qt/qtwidgets:5
-       )
+       dev-qt/qtbase:6[gui,network,widgets]
+       dev-qt/qtsvg:6
        media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?]
 "
 RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/qttools:6[linguist]"
 
 src_configure() {
        local mycmakeargs=(
                -DCONFIG_DEBUG=$(usex debug 1 0)
-               -DCONFIG_QT6=$(usex qt6 1 0)
+               -DCONFIG_QT6=1
        )
        cmake_src_configure
 }

Reply via email to