summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/gqrx/gqrx-9999.ebuild')
-rw-r--r--net-wireless/gqrx/gqrx-9999.ebuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild
index 2cf2b96d63cd..eaecd1663e78 100644
--- a/net-wireless/gqrx/gqrx-9999.ebuild
+++ b/net-wireless/gqrx/gqrx-9999.ebuild
@@ -18,17 +18,23 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="gr-audio portaudio pulseaudio"
+IUSE="gr-audio portaudio pulseaudio qt6"
REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )"
RDEPEND="
>=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network]
>=net-wireless/gr-osmosdr-0.1.0:=
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
+ qt6? (
+ dev-qt/qtbase:6
+ 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
+ )
sci-libs/volk:=
pulseaudio? ( media-libs/libpulse )
portaudio? ( media-libs/portaudio:= )"
@@ -48,6 +54,8 @@ src_configure() {
fi
local mycmakeargs=(
+ -DFORCE_QT6="$(usex qt6)"
+ -DFORCE_QT5="$(usex !qt6)"
"-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}"
)
cmake_src_configure