diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2018-10-22 22:36:24 -0400 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2018-10-22 22:36:38 -0400 |
commit | e3bfa7d308912fc916b19c86cd79ebd8cea27155 (patch) | |
tree | c0417c148dde1742c3286146adc7118bb325d5c1 /net-wireless/gnuradio/gnuradio-3.7.9999.ebuild | |
parent | profiles/releases/13.0: mask >=www-client/firefox-63.0 which requires nodejs (diff) | |
download | gentoo-e3bfa7d308912fc916b19c86cd79ebd8cea27155.tar.gz gentoo-e3bfa7d308912fc916b19c86cd79ebd8cea27155.tar.bz2 gentoo-e3bfa7d308912fc916b19c86cd79ebd8cea27155.zip |
net-wireless/gnuradio: dep cleanup
fix automagic bits, fix missing codec2 deps
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-wireless/gnuradio/gnuradio-3.7.9999.ebuild')
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.7.9999.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild b/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild index ad674115e294..3b3053625af0 100644 --- a/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild +++ b/net-wireless/gnuradio/gnuradio-3.7.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,7 @@ else KEYWORDS="~amd64 ~arm ~x86" fi if [[ ${PV} == "3.7.9999" ]]; then - EGIT_BRANCH="maint" + EGIT_BRANCH="maint-3.7" elif [[ ${PV} == "3.8.9999" ]]; then EGIT_BRANCH="next" fi @@ -72,7 +72,8 @@ RDEPEND="${PYTHON_DEPS} sdl? ( >=media-libs/libsdl-1.2.0 ) uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_USEDEP}] ) utils? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) - vocoder? ( media-sound/gsm ) + vocoder? ( media-sound/gsm + >=media-libs/codec2-0.8.1 ) wavelet? ( >=sci-libs/gsl-1.10 ) @@ -109,6 +110,11 @@ src_prepare() { fi # Useless UI element would require qt3support, bug #365019 sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die + + use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake + use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake + use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake + cmake-utils_src_prepare } @@ -214,7 +220,7 @@ pkg_postinst() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ @@ -233,7 +239,7 @@ pkg_postrm() if use grc ; then xdg_desktop_database_update - xdg_mime_database_update + xdg_mimeinfo_database_update for size in ${GRC_ICON_SIZES} ; do xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ application-gnuradio-grc || ewarn "icon uninstall failed" |