diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-09-21 15:15:05 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-09-21 15:15:14 -0400 |
commit | f044a80e16fb31ae0c015de3ac6207f2bc36ca05 (patch) | |
tree | 31783c29613338a231b611b325664056e9bbc30b /net-wireless | |
parent | dev-lang/cxprolog: specify prolog.java location for unit tests (diff) | |
download | gentoo-f044a80e16fb31ae0c015de3ac6207f2bc36ca05.tar.gz gentoo-f044a80e16fb31ae0c015de3ac6207f2bc36ca05.tar.bz2 gentoo-f044a80e16fb31ae0c015de3ac6207f2bc36ca05.zip |
net-wireless/gqrx: bug #727524
plus a little ebuild cleanup
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gqrx/gqrx-2.12.1-r1.ebuild (renamed from net-wireless/gqrx/gqrx-2.12.1.ebuild) | 11 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-9999.ebuild | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/net-wireless/gqrx/gqrx-2.12.1.ebuild b/net-wireless/gqrx/gqrx-2.12.1-r1.ebuild index 5497f6b12fd5..a008cc56721e 100644 --- a/net-wireless/gqrx/gqrx-2.12.1.ebuild +++ b/net-wireless/gqrx/gqrx-2.12.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt" HOMEPAGE="https://gqrx.dk/" @@ -11,7 +11,6 @@ HOMEPAGE="https://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" @@ -30,6 +29,7 @@ DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] 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}" @@ -38,7 +38,10 @@ src_prepare() { if use !pulseaudio; then sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die fi - cmake-utils_src_prepare + if use portaudio; then + sed -i 's#find_package(Portaudio#find_package(PORTAUDIO#' CMakeLists.txt || die + fi + cmake_src_prepare eapply_user } @@ -54,7 +57,7 @@ src_configure() { local mycmakeargs=( "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}" ) - cmake-utils_src_configure + cmake_src_configure } src_install() { diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild index 5497f6b12fd5..a008cc56721e 100644 --- a/net-wireless/gqrx/gqrx-9999.ebuild +++ b/net-wireless/gqrx/gqrx-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt" HOMEPAGE="https://gqrx.dk/" @@ -11,7 +11,6 @@ HOMEPAGE="https://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" @@ -30,6 +29,7 @@ DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] 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}" @@ -38,7 +38,10 @@ src_prepare() { if use !pulseaudio; then sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die fi - cmake-utils_src_prepare + if use portaudio; then + sed -i 's#find_package(Portaudio#find_package(PORTAUDIO#' CMakeLists.txt || die + fi + cmake_src_prepare eapply_user } @@ -54,7 +57,7 @@ src_configure() { local mycmakeargs=( "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}" ) - cmake-utils_src_configure + cmake_src_configure } src_install() { |