summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-11-04 15:42:13 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-04 15:42:13 +0100
commit9f5ba11cbabb0d62f65623eb4b173ffd0d94628d (patch)
treecfab067fa5a3414f9480c29329c7ff49fba5e5e7 /media-sound
parentmedia-sound/qsynth: dropped obsolete 1.0.1 (diff)
downloadgentoo-9f5ba11cbabb0d62f65623eb4b173ffd0d94628d.tar.gz
gentoo-9f5ba11cbabb0d62f65623eb4b173ffd0d94628d.tar.bz2
gentoo-9f5ba11cbabb0d62f65623eb4b173ffd0d94628d.zip
media-sound/qtractor: added support for qt6
Closes: https://bugs.gentoo.org/908106 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qtractor/qtractor-1.4.0-r1.ebuild (renamed from media-sound/qtractor/qtractor-1.4.0.ebuild)25
1 files changed, 16 insertions, 9 deletions
diff --git a/media-sound/qtractor/qtractor-1.4.0.ebuild b/media-sound/qtractor/qtractor-1.4.0-r1.ebuild
index 15185bd5c831..eb8b13d4e22f 100644
--- a/media-sound/qtractor/qtractor-1.4.0.ebuild
+++ b/media-sound/qtractor/qtractor-1.4.0-r1.ebuild
@@ -13,20 +13,15 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="aubio cpu_flags_x86_sse debug dssi ladspa libsamplerate mad osc rubberband vorbis zlib"
+IUSE="aubio cpu_flags_x86_sse debug dssi ladspa libsamplerate mad osc qt5 rubberband vorbis zlib"
REQUIRED_USE="dssi? ( ladspa )"
BDEPEND="
- dev-qt/linguist-tools:5
virtual/pkgconfig
+ qt5? ( dev-qt/linguist-tools:5 )
+ !qt5? ( dev-qt/qttools:6[linguist] )
"
DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- dev-qt/qtx11extras:5
media-libs/alsa-lib
media-libs/libsndfile
media-libs/lilv
@@ -40,6 +35,18 @@ DEPEND="
libsamplerate? ( media-libs/libsamplerate )
mad? ( media-libs/libmad )
osc? ( media-libs/liblo )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtx11extras:5
+ )
+ !qt5? (
+ dev-qt/qtbase:6[gui,widgets,xml]
+ dev-qt/qtsvg:6
+ )
rubberband? ( media-libs/rubberband )
vorbis? (
media-libs/libogg
@@ -72,7 +79,7 @@ src_configure() {
-DCONFIG_LV2=1
-DCONFIG_LV2_UI_GTK2=0
-DCONFIG_NSM=0
- -DCONFIG_QT6=0
+ -DCONFIG_QT6=$(usex qt5 0 1)
-DCONFIG_SSE=$(usex cpu_flags_x86_sse 1 0)
-DCONFIG_STACKTRACE=$(usex debug 1 0)
-DCONFIG_VESTIGE=1