public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gqrx/
Date: Wed, 08 Jan 2025 17:03:50 +0000 (UTC)	[thread overview]
Message-ID: <1736355817.4cb92581afc5261cd4ec9f77a927545bc0c95e5a.asturm@gentoo> (raw)

commit:     4cb92581afc5261cd4ec9f77a927545bc0c95e5a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  1 12:12:37 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 17:03:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb92581

net-wireless/gqrx: Drop IUSE qt5 (make Qt6 non-optional)

- Fix entirely missing dev-qt/qtbase:6 USEdeps
- Drop no-op slot operators from DEPEND

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

 .../{gqrx-9999.ebuild => gqrx-2.17.2-r1.ebuild}    | 30 ++++++++--------------
 net-wireless/gqrx/gqrx-9999.ebuild                 | 30 ++++++++--------------
 2 files changed, 20 insertions(+), 40 deletions(-)

diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-2.17.2-r1.ebuild
similarity index 70%
copy from net-wireless/gqrx/gqrx-9999.ebuild
copy to net-wireless/gqrx/gqrx-2.17.2-r1.ebuild
index eaecd1663e78..5853ad507b1f 100644
--- a/net-wireless/gqrx/gqrx-9999.ebuild
+++ b/net-wireless/gqrx/gqrx-2.17.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit cmake
 DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt"
 HOMEPAGE="https://gqrx.dk/"
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999* ]] ; then
 	EGIT_REPO_URI="https://github.com/gqrx-sdr/gqrx.git"
 	inherit git-r3
 else
@@ -18,31 +18,21 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="gr-audio portaudio pulseaudio qt6"
+IUSE="gr-audio portaudio pulseaudio"
 REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )"
 
 RDEPEND="
+	dev-qt/qtbase:6[gui,network,widgets]
+	dev-qt/qtsvg:6
 	>=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network]
 	>=net-wireless/gr-osmosdr-0.1.0:=
-	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:= )"
 DEPEND="${RDEPEND}
-	dev-libs/boost:=
-	dev-libs/log4cpp:=
+	dev-libs/boost
+	dev-libs/log4cpp
 "
-BDEPEND=""
 
 src_configure() {
 	if use pulseaudio; then
@@ -54,9 +44,9 @@ src_configure() {
 	fi
 
 	local mycmakeargs=(
-		-DFORCE_QT6="$(usex qt6)"
-		-DFORCE_QT5="$(usex !qt6)"
-		"-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}"
+		-DFORCE_QT6=ON
+		-DFORCE_QT5=OFF
+		-DLINUX_AUDIO_BACKEND="${LINUX_AUDIO_BACKEND}"
 	)
 	cmake_src_configure
 }

diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild
index eaecd1663e78..5853ad507b1f 100644
--- a/net-wireless/gqrx/gqrx-9999.ebuild
+++ b/net-wireless/gqrx/gqrx-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ inherit cmake
 DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt"
 HOMEPAGE="https://gqrx.dk/"
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == *9999* ]] ; then
 	EGIT_REPO_URI="https://github.com/gqrx-sdr/gqrx.git"
 	inherit git-r3
 else
@@ -18,31 +18,21 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="gr-audio portaudio pulseaudio qt6"
+IUSE="gr-audio portaudio pulseaudio"
 REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )"
 
 RDEPEND="
+	dev-qt/qtbase:6[gui,network,widgets]
+	dev-qt/qtsvg:6
 	>=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network]
 	>=net-wireless/gr-osmosdr-0.1.0:=
-	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:= )"
 DEPEND="${RDEPEND}
-	dev-libs/boost:=
-	dev-libs/log4cpp:=
+	dev-libs/boost
+	dev-libs/log4cpp
 "
-BDEPEND=""
 
 src_configure() {
 	if use pulseaudio; then
@@ -54,9 +44,9 @@ src_configure() {
 	fi
 
 	local mycmakeargs=(
-		-DFORCE_QT6="$(usex qt6)"
-		-DFORCE_QT5="$(usex !qt6)"
-		"-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}"
+		-DFORCE_QT6=ON
+		-DFORCE_QT5=OFF
+		-DLINUX_AUDIO_BACKEND="${LINUX_AUDIO_BACKEND}"
 	)
 	cmake_src_configure
 }


             reply	other threads:[~2025-01-08 17:03 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 17:03 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-07 15:43 [gentoo-commits] repo/gentoo:master commit in: net-wireless/gqrx/ Thomas Beierlein
2025-01-22 17:33 Andreas Sturmlechner
2025-01-08 17:03 Andreas Sturmlechner
2023-10-10  1:00 Rick Farina
2023-10-10  1:00 Rick Farina
2023-08-20 18:05 Rick Farina
2023-05-29 13:11 Andreas Sturmlechner
2023-05-29 13:00 Andreas Sturmlechner
2022-12-19 18:56 Rick Farina
2022-12-19 18:56 Rick Farina
2022-08-08  0:39 Rick Farina
2022-08-08  0:39 Rick Farina
2022-08-08  0:39 Rick Farina
2022-08-08  0:39 Rick Farina
2022-04-30 22:01 Marek Szuba
2022-01-28  3:29 Rick Farina
2021-10-07 16:42 Rick Farina
2021-02-17 15:53 Rick Farina
2020-12-18 19:41 Rick Farina
2020-12-17 15:53 Rick Farina
2020-12-04 18:22 Rick Farina
2020-11-25  0:13 Marek Szuba
2020-09-21 19:15 Rick Farina
2020-06-04  9:06 David Seifert
2020-01-27 21:41 Rick Farina
2019-01-11 18:29 Thomas Deutschmann
2018-08-16 20:45 Richard Farina
2018-08-16 20:45 Richard Farina
2018-02-18 17:31 Richard Farina
2017-12-20  2:28 Richard Farina
2017-10-04  9:15 Michał Górny
2017-01-24 22:25 Richard Farina
2017-01-24 21:54 Richard Farina
2016-06-03  2:39 Richard Farina
2016-03-30 20:30 Richard Farina
2016-01-01 10:47 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736355817.4cb92581afc5261cd4ec9f77a927545bc0c95e5a.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox