You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/gqrx/gqrx-9999.ebuild

40 lines
915 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gqrx/gqrx-9999.ebuild,v 1.3 2014/08/06 02:49:11 zerochaos Exp $
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"
KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="pulseaudio"
DEPEND=">=net-wireless/gnuradio-3.7_rc:=
>=net-wireless/gr-osmosdr-0.1.0:=
pulseaudio? ( media-sound/pulseaudio )"
RDEPEND="${DEPEND}"
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
}