From ef34dbf88449b79a652ed1bdfacc584f15dd1832 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Thu, 27 Jan 2022 22:29:07 -0500 Subject: net-wireless/gqrx: add 2.15.8 Signed-off-by: Rick Farina --- net-wireless/gqrx/gqrx-2.15.8.ebuild | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 net-wireless/gqrx/gqrx-2.15.8.ebuild (limited to 'net-wireless/gqrx/gqrx-2.15.8.ebuild') 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 +} -- cgit v1.2.3-65-gdbad