diff options
author | 2016-03-30 16:29:25 -0400 | |
---|---|---|
committer | 2016-03-30 16:29:48 -0400 | |
commit | e4733abba5e4024886d0156ba96bdb6dcfb35423 (patch) | |
tree | b5092026a8e00f669ad67de103d428b003231f7b /net-wireless/gqrx/gqrx-2.5.ebuild | |
parent | dev-db/mariadb: Version bump for 10.1.13 (diff) | |
download | gentoo-e4733abba5e4024886d0156ba96bdb6dcfb35423.tar.gz gentoo-e4733abba5e4024886d0156ba96bdb6dcfb35423.tar.bz2 gentoo-e4733abba5e4024886d0156ba96bdb6dcfb35423.zip |
net-wireless/gqrx: bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-wireless/gqrx/gqrx-2.5.ebuild')
-rw-r--r-- | net-wireless/gqrx/gqrx-2.5.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-wireless/gqrx/gqrx-2.5.ebuild b/net-wireless/gqrx/gqrx-2.5.ebuild new file mode 100644 index 000000000000..7327af4c8f65 --- /dev/null +++ b/net-wireless/gqrx/gqrx-2.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qt4-r2 + +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="pulseaudio" + +DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] + >=net-wireless/gr-osmosdr-0.1.0:= + dev-libs/boost:= + dev-qt/qtcore:4 + dev-qt/qtgui:4 + pulseaudio? ( media-sound/pulseaudio:= )" +RDEPEND="${DEPEND} + dev-qt/qtsvg:4" + +src_prepare() { + if use !pulseaudio; then + sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die + fi + qt4-r2_src_prepare +} + +src_install() { + dobin gqrx +} |