summaryrefslogtreecommitdiff
path: root/net-wireless/gqrx/gqrx-2.9.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/gqrx/gqrx-2.9.ebuild')
-rw-r--r--net-wireless/gqrx/gqrx-2.9.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/net-wireless/gqrx/gqrx-2.9.ebuild b/net-wireless/gqrx/gqrx-2.9.ebuild
deleted file mode 100644
index d280c8f3e3c..00000000000
--- a/net-wireless/gqrx/gqrx-2.9.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt"
-HOMEPAGE="http://gqrx.dk/"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/csete/gqrx.git"
- inherit git-r3
- KEYWORDS=""
-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-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
- 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-utils_src_configure
-}
-
-src_prepare() {
- if use !pulseaudio; then
- sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die
- fi
- eapply_user
-}
-
-src_install() {
- dobin "${BUILD_DIR}"/src/gqrx
-}