diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2017-12-19 21:28:30 -0500 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2017-12-19 21:28:43 -0500 |
commit | 51e395cb57a94309c271a2a4af576290146fee13 (patch) | |
tree | c8e429b1a5d627325c228e2ff188c0702c991e56 /net-wireless | |
parent | sci-calculators/units: Add support for python 3.6. (diff) | |
download | gentoo-51e395cb57a94309c271a2a4af576290146fee13.tar.gz gentoo-51e395cb57a94309c271a2a4af576290146fee13.tar.bz2 gentoo-51e395cb57a94309c271a2a4af576290146fee13.zip |
net-wireless/gqrx: bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gqrx/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-2.9.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-wireless/gqrx/Manifest b/net-wireless/gqrx/Manifest index 96d9c55fa938..81ed84669b62 100644 --- a/net-wireless/gqrx/Manifest +++ b/net-wireless/gqrx/Manifest @@ -1 +1,2 @@ DIST gqrx-2.7.tar.gz 1326826 BLAKE2B fc2b6d27952c688d43de756580d8ad00e5111c5bc74cb0f3d36ed69e4281110c921e51f313e899e747649f4e3e843a8c68df056a080de32e77ad5572bdf383fc SHA512 931f4751b2437ab2286a436ed842cd51203d69c7d6edf0c0125fcb1d9943a028175d8ae70dd62eb4d2f935e97419dc990537d90e2bf50c5d1924282fe0f5531d +DIST gqrx-2.9.tar.gz 1327672 BLAKE2B f402ce7034b63b40240486129774f7c5cbf8270f1265d397b654a3d30a972f9cdb4eea28936a8befa1991c127677e683b0271ec488df99fb9160efc07c842958 SHA512 e7e51124087524ae2bd793109cbe488bedf703a93a9727aeb3b20e6a04e759252bd1b70fe94b63c86024ba76acf14406143bd7a7d1ddd70e7948d3feaf3f69c2 diff --git a/net-wireless/gqrx/gqrx-2.9.ebuild b/net-wireless/gqrx/gqrx-2.9.ebuild new file mode 100644 index 000000000000..d280c8f3e3c5 --- /dev/null +++ b/net-wireless/gqrx/gqrx-2.9.ebuild @@ -0,0 +1,61 @@ +# 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 +} |