summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-08-20 14:04:50 -0400
committerRick Farina <zerochaos@gentoo.org>2023-08-20 14:05:41 -0400
commit3056140ba680241cdca4cf3d99254e14d8ad7c3f (patch)
treed5f707466c48545410af352182e7c0ce7e028bb4 /net-wireless
parentdev-python/pillow: Stabilize 10.0.0 hppa, #912621 (diff)
downloadgentoo-3056140ba680241cdca4cf3d99254e14d8ad7c3f.tar.gz
gentoo-3056140ba680241cdca4cf3d99254e14d8ad7c3f.tar.bz2
gentoo-3056140ba680241cdca4cf3d99254e14d8ad7c3f.zip
net-wireless/gqrx: add 2.16
Minor dep fixes Closes: https://bugs.gentoo.org/908656 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gqrx/Manifest1
-rw-r--r--net-wireless/gqrx/gqrx-2.16.ebuild58
-rw-r--r--net-wireless/gqrx/gqrx-9999.ebuild10
3 files changed, 65 insertions, 4 deletions
diff --git a/net-wireless/gqrx/Manifest b/net-wireless/gqrx/Manifest
index 86b5cfa09452..6a0c2a7eef40 100644
--- a/net-wireless/gqrx/Manifest
+++ b/net-wireless/gqrx/Manifest
@@ -1 +1,2 @@
DIST gqrx-2.15.9.tar.gz 3608134 BLAKE2B 0864e8b33efe12cbc77dc75bf9bb2c5938655e40710a99ff72da2f1bdb43bc4c2f964c1fe4d88136891417c16eed16444d8fad699f80ab8fe164bb18d62d23f6 SHA512 0562f5c962b7fb48e5b5b8d88f15e328bfb08284b36e289e68e77528156452075eb04a0fa530b235c383495bf4008a7c80e78aae88dfcc30da6f4ba619dfd2f3
+DIST gqrx-2.16.tar.gz 3608271 BLAKE2B 0523be1f678c8966a0f973776ed4db71b9856334df528996a1790f74454124e72a3cbe51ae75dae3b5d02794a5dde8c0d06a0ea69d5886bd5678f630504c84df SHA512 b2a2035f22b927667dd36e838dedc3db119c916eea0b9c70f37f5f6c1826ce04f05de6c459aeb84cf71bca39c036e96380b8c9531ad035558de7759864ac8569
diff --git a/net-wireless/gqrx/gqrx-2.16.ebuild b/net-wireless/gqrx/gqrx-2.16.ebuild
new file mode 100644
index 000000000000..2cf2b96d63cd
--- /dev/null
+++ b/net-wireless/gqrx/gqrx-2.16.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt"
+HOMEPAGE="https://gqrx.dk/"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/gqrx-sdr/gqrx.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/gqrx-sdr/gqrx/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~riscv ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gr-audio portaudio pulseaudio"
+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
+ sci-libs/volk:=
+ pulseaudio? ( media-libs/libpulse )
+ portaudio? ( media-libs/portaudio:= )"
+DEPEND="${RDEPEND}
+ dev-libs/boost:=
+ dev-libs/log4cpp:=
+"
+BDEPEND=""
+
+src_configure() {
+ if use pulseaudio; then
+ LINUX_AUDIO_BACKEND=Pulseaudio
+ elif use portaudio; then
+ LINUX_AUDIO_BACKEND=Portaudio
+ elif use gr-audio; then
+ LINUX_AUDIO_BACKEND=Gr-audio
+ fi
+
+ local mycmakeargs=(
+ "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/src/gqrx
+}
diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild
index c2935b0461f9..2cf2b96d63cd 100644
--- a/net-wireless/gqrx/gqrx-9999.ebuild
+++ b/net-wireless/gqrx/gqrx-9999.ebuild
@@ -21,11 +21,9 @@ SLOT="0"
IUSE="gr-audio portaudio pulseaudio"
REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )"
-DEPEND="
+RDEPEND="
>=net-wireless/gnuradio-3.10:0=[audio,analog,filter,network]
>=net-wireless/gr-osmosdr-0.1.0:=
- dev-libs/boost:=
- dev-libs/log4cpp:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
@@ -34,7 +32,11 @@ DEPEND="
sci-libs/volk:=
pulseaudio? ( media-libs/libpulse )
portaudio? ( media-libs/portaudio:= )"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ dev-libs/boost:=
+ dev-libs/log4cpp:=
+"
+BDEPEND=""
src_configure() {
if use pulseaudio; then