diff options
author | Rick Farina <zerochaos@gentoo.org> | 2022-01-27 22:29:07 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2022-01-27 22:29:07 -0500 |
commit | ef34dbf88449b79a652ed1bdfacc584f15dd1832 (patch) | |
tree | 9481d0a8ae0fe8e37ffd2834fb37d49719a8ecf6 /net-wireless | |
parent | net-wireless/kismet: add 2022.01.3, drop 2022.01.2 (diff) | |
download | gentoo-ef34dbf88449b79a652ed1bdfacc584f15dd1832.tar.gz gentoo-ef34dbf88449b79a652ed1bdfacc584f15dd1832.tar.bz2 gentoo-ef34dbf88449b79a652ed1bdfacc584f15dd1832.zip |
net-wireless/gqrx: add 2.15.8
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gqrx/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-2.15.8.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/net-wireless/gqrx/Manifest b/net-wireless/gqrx/Manifest index c3b71ff40c63..be67b15e6787 100644 --- a/net-wireless/gqrx/Manifest +++ b/net-wireless/gqrx/Manifest @@ -1 +1,2 @@ DIST gqrx-2.14.6.tar.gz 1346684 BLAKE2B fd31692ad0dfcb3eaa3ea0ca8a9a26282ae45c290997b016f0a9f7e750969f42b2084619efd342da8c28d608da1cd3477c2c1cb6cc334f9d53f74dbff4e5d0c5 SHA512 d8019a6094da1f6d63eda08b9f22390dd638eb191910d911437e46f40d81087b3c68f3948ccb9060025a91cd1e1d4e1be42d92ccdf8869f5588ac7d428e5489d +DIST gqrx-2.15.8.tar.gz 3608013 BLAKE2B 242ec9fd3c99bf683d030936d14c96170a3432f13059abca3ef7ab1863ca4af0651eb2429c0703a0dd649304edcc1dc6c1fdefb2e8e7a77db1b2bfafc4a15452 SHA512 1c9236b68a3e21e9b6a67e8034652e8a8b369a9c1d41a54bb5f1ba83c398b1b12beb7dae44660e6fb35aa4649d17ea6546d9f1e72766b36eda84390d15022e58 diff --git a/net-wireless/gqrx/gqrx-2.15.8.ebuild b/net-wireless/gqrx/gqrx-2.15.8.ebuild new file mode 100644 index 000000000000..d10ac3615b95 --- /dev/null +++ b/net-wireless/gqrx/gqrx-2.15.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 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/csete/gqrx.git" + inherit git-r3 +else + SRC_URI="https://github.com/csete/gqrx/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="gr-audio portaudio pulseaudio" +REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" + +DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] + >=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 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + sci-libs/volk:= + pulseaudio? ( media-sound/pulseaudio:= ) + portaudio? ( media-libs/portaudio:= )" +RDEPEND="${DEPEND}" + +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 +} |