diff options
author | Richard Farina <zerochaos@gentoo.org> | 2014-03-02 18:56:40 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2014-03-02 18:56:40 +0000 |
commit | 74da548cc556ac75671c85df62b4fd028ab3c924 (patch) | |
tree | 348bfac6faa4529084577dd2244c44b909d9e65c /net-wireless/gnuradio | |
parent | old (diff) | |
download | historical-74da548cc556ac75671c85df62b4fd028ab3c924.tar.gz historical-74da548cc556ac75671c85df62b4fd028ab3c924.tar.bz2 historical-74da548cc556ac75671c85df62b4fd028ab3c924.zip |
remove old
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless/gnuradio')
-rw-r--r-- | net-wireless/gnuradio/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/gnuradio/Manifest | 32 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild | 210 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.7.2.ebuild | 210 |
4 files changed, 20 insertions, 440 deletions
diff --git a/net-wireless/gnuradio/ChangeLog b/net-wireless/gnuradio/ChangeLog index 4acfb7e76d9c..64a5e7af343c 100644 --- a/net-wireless/gnuradio/ChangeLog +++ b/net-wireless/gnuradio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/gnuradio -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/ChangeLog,v 1.36 2013/11/30 04:41:09 zerochaos Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/ChangeLog,v 1.37 2014/03/02 18:56:35 zerochaos Exp $ + + 02 Mar 2014; Rick Farina <zerochaos@gentoo.org> -gnuradio-3.7.1.1.ebuild, + -gnuradio-3.7.2.ebuild: + remove old *gnuradio-3.7.2.1 (30 Nov 2013) diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest index c05bd64b640d..4cbd904c5683 100644 --- a/net-wireless/gnuradio/Manifest +++ b/net-wireless/gnuradio/Manifest @@ -3,30 +3,26 @@ Hash: SHA512 AUX gnuradio-3.6.1-automagic-audio.patch 2839 SHA256 3e65981e8e8e9c2fc5e8223bf7e93956d6f802bbd9df15277283e9d44b7c5a2b SHA512 406ecc20f4818f83cbd599c216c60a6d0daf70ed3d227613421d53466307e44f3d32cf5480401273baf74a488c3f73349c145452ca865f1ca9365314c1813768 WHIRLPOOL 363650437161e68f056229315f1d0b52fa409ba9b284196c16e7acf96b68e2e036930db45188f61b5b0bb0e4f51bd3007d8fee622476eb605c72f2ff4b6c24c7 DIST gnuradio-3.6.5.1.tar.gz 3150283 SHA256 0875d2f0a7da0f3bcc1771b528b0f98f79d9ab69aa1ef953651bbbe1f57b4621 SHA512 23a22aed482da11005b17e5197ee3ba24d442b30309522b0858e694b58f46b76cc050143d365623c7dd4241cdf8b9f988e1a4dabe2e1f98d0fd4cca71bbb82e8 WHIRLPOOL 7cf55be5fac7891a737d228d83718bbc43f9069c6275c5ac465ae11088559dca5e7fa31239e281271b529aa8b9ae1a0efe3850a16a40e53c0f1fe57e351ff2a8 -DIST gnuradio-3.7.1.1.tar.gz 3041261 SHA256 6224e17b5f8a8583093b985d00194f286465bf810b488c0eec7aadedfc68e44b SHA512 a14ef7478a938f69fa4fead39ca43752a53f3d92e18117d8954f76c282ca895385f3d8047619a8c53e4cb4810c8f99c6914ac1182d72905961eb0eda12f6cde3 WHIRLPOOL 2d57be1c1a11c4f42b82b19347ac1db771ae9a296d992df93b0c5707ef31e1cfde4c723ecdc435cceaa460c19da17435fe89cf4a522ceeeeb8c615a0a50d767e DIST gnuradio-3.7.2.1.tar.gz 2925751 SHA256 8c6b7e1fda31e9228bdd62a137af901b28757d7e1b044de2e985b96e53c83c80 SHA512 0a0fc63bc233628384535f3741282fd699db95656e8ef30960976823648ef1584c4b46055ab0294fb25028c0a5a9c10547586ca8e25b0692872128c5243c9a08 WHIRLPOOL e9d51839023c589691240ce36faf1cd470bf3018766f60c76288c9af93d6f95ec70f344098109acf5490af9f69cdc37537688a6f1997f8174803d9e022c0b86d -DIST gnuradio-3.7.2.tar.gz 3105137 SHA256 b80b42eaa091cb77a168e15b029307856db249d460ff06dfdf292802c19a2669 SHA512 4b6bdf4e800bc13dc01bfb3d72b4b5d454a088ba1a6ea3ae450564d000883206d60aab1b96d6768acfe9f45bb86b66243148cee154a63b7cad9581fd2e281a6a WHIRLPOOL 8a98d30aa5f1528c46bc01e62190e0035a7e665026553099f40184a36d627fa60074d14fb626659a2ab94ce787f743504c2c6b0f3db92b00e0da1ef17d0976f2 EBUILD gnuradio-3.6.5.1.ebuild 5234 SHA256 adf83b3fe7d2f84096470cdaccc95e8f16f9c9e3b13e9fa3c590c2de5d97ad32 SHA512 3816b34df44f5d4100948032c26fa025417bb5ec604590fe8da98d8037b8001246e11eaf924524d3bec82e4e0a130f4d00313fdd5cde986cc715bd66af77043c WHIRLPOOL e54a3cf4ebad5e4faba5ab43931937826ee0b6f22b60fb0f931de78efa0ba23f83708594b4a4e78b8abbe5a58375f0b24822943c34f44f0e63b98f62d94d34fe -EBUILD gnuradio-3.7.1.1.ebuild 5675 SHA256 15a5041eb5966234246e822b4e95bf3a00a4cd64418ae6792c8ec8efb8f2cbc8 SHA512 d1c3bd4af3ad8df41c0dd12809155913b905d552834461250b0e24fb0cd3a3f6c3e2f2034142f00eb538a232cf9eedea6851ffa3b26c9e4f42f80dd964f3fe56 WHIRLPOOL ced1121bf82f201b5dd1fdc2917830153db4388853c225fe7d818eef8a82ed64db692998a91739a47555dd72a6b41bd19695dcac8e78a922d28579c47c2215a5 EBUILD gnuradio-3.7.2.1.ebuild 5675 SHA256 fcfa0237a20157d4d953cdd38194c585971fdc14d563320d0c20a12d81a00043 SHA512 33b81b72d6b8517aa71df25cb967fd04f9ef818a012f5c51d2aaaa83af8d6b9292b172c0c7c41a7e416f5310c98b0daad08009eef19ac99cb60e81782514d772 WHIRLPOOL 91ef295c0d40fcd0569ca0716aee8b4de40f5815e9c74f27527352bcddbf737ffbeeea3fa43a8e899f620f06feb03f3dadb6324f518279a7aa8d3a1a67b7d37e -EBUILD gnuradio-3.7.2.ebuild 5673 SHA256 8f590743504aff1aa8b1536dbb848cc2431461acca72b543203e852f68bcb107 SHA512 8ddc6c3dc90e464102eefa4bc98d467ce40ffbd88a2d518df7b4ff9957174607a33bfc9f84d2f886cf97d56654d5225af5579ddcd5b036b70573e41172a06ce2 WHIRLPOOL a687a4b5df544a1a274411d56239edb5d932336797a94eee1eee63dfbd2c7c4b828116e1037b00ec0757806a6f982b37037372e5283c0119a85069294abe9305 EBUILD gnuradio-9999.ebuild 5231 SHA256 fb9b65ba306f442067bcf98963831d264da5306c455b58516c3b575caa6bcd6a SHA512 7353235cddc0b9c87d3f36ebb5ae576501490cec9628bab5b22e5aa96f95a364d72915799af06e1ccba402c30b1ec20fa760d58060ecbe1f0c412f60d1fc63ff WHIRLPOOL ea5af3a7e6778b80d9b309d4bcaca1a67b25ad005cefdd37e2dfdea5a50967e96d1472c56d3f241b6df431ce6c90b601ef39f7261d33d1df843f9322cccb1d99 -MISC ChangeLog 6758 SHA256 71b4447f508424bc3f68cd17d6b8cd1f1f87e1561a2eeb363f78e8fe59483192 SHA512 c29f9b42b8dc3a79faff963c303661e5fcffafaf81a4a20fe971c7e930329c8052ce39f847258fe982d7b0fcc7f1fa047a6345545df04085f4200ced19bae567 WHIRLPOOL b22454e768eca11ace08eed23eb754e19bc01bff8c3c55f6caef84ef04afa0a4be45f3d65cfc00731a822ca93de923e124b55a8aeb89dca4aba53561ccda1604 +MISC ChangeLog 6874 SHA256 d72afe0f49c02db0222db0e3785aba0e3c501d19a880707cd83c490d65e36715 SHA512 1b2ccf0144d33380d334ff07adac5aef63b476de1f3bdf508c3470dca79a35613c1fcf69dfd1b51e03e2264900627b82ff8df50500553d38d2fbe1fd514e211e WHIRLPOOL 14ed11d023bf6afa322c37de705fc812e6c089347c307da8602fd3a32863e30ab9a1631ababfcd645153bf27b4512e1a85c64d214eb60bb89230c47de36eb9ca MISC metadata.xml 932 SHA256 95bbb6d405dcad3e6493fd0ac72f6d6265ed76d2d7b3c71fcc50526571cc765d SHA512 33cf8b1561849cc735d43f6567f00af613e44e777cdd4235d01784d7eb7bae07040b1a7eff237a90b0b69e906e099f9dbabc2545b3b35c738653ca9c73cde7cc WHIRLPOOL 0dbb103c57e7ec0d8cbfd77b69193dbdf8d9762249a0df4304ee0e9b178c1b6000605525512429f09196bfc3b009f35f77eb1cad9043a65d8927ba7dfb5f678e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSmWy0AAoJEKXdFCfdEflKLxwP/RT+j7wCWtcc3X4leN7AEqHK -98h9JUwOplZNpBX75iaETS4jpowBL38m2+mF6Ud1fQ+quAYrvkjecRjxMg07tviS -q0nNog8UKhW14NTkvoU8lGDy8VV9QrmyM+S1fpRb43UJ+/0M/fsR2u/CYkZBKQr3 -5lNzN8X6nVoxYS6Gg7SwDzXA9g8gOj/QEDOmTNfbh4hwbV/i7OV4qyuJdGe2mL9L -3ZRGkx+zfloZHpH/1rPqOwdD/7GtglJzu6bTH50Amod9kc6Mnvaeo2FcePzqlS+/ -S5xZFlJkiibHPRNIwN5iehWXr7xlVQQekVpW7fuDlTWPzv44rAUb3Um63oJlbtRp -StA59MVvKPi0NUnYA8/C3mLagNPVrvpkHfEWlFiVebVzYtP0s9WAcHop9VFB+z1Y -wAPgtcYnQf1gHnEs0ahEupA/c0qL/8Zro3w86k8mXoTdz+j2UhVm+rS/BjND1VU+ -4wh8KPUmrn258ooXkCmoSEfJfGVUr5oaYV49opfXkRdKdIR276/SgMIXMBHJSrV9 -9iBuMCwpivuF+9YgUfAVwy6KoWnpclv+AnzUY2QVfSo7X0wT0UHe6udpv63S99mH -5p+MyjxIGHSOEBpoG0VhZyqk9y4NF5OmiMJ2R5bKSYQL8iggYILvDey8uaWqu0pe -XEGuqUbe7bOV9X4qV1un -=Fe6x +iQIcBAEBCgAGBQJTE39aAAoJEKXdFCfdEflKs88P/0xv69w9MpSpBLycT0Xv/Fz5 +fmv8lTaeB4OHbeaxqhKfqfgM/XmwIYSV0sRsvInKfdlkuCZvPNRlFWwgjPLR11Eu +UIth6REI32JTXc/Qdv9kV8ZlHSF8/9pPMPgyTBP3Zrv4XlbZxTNCy6ASBbF5K72t +tQ7SzNCytVOH+1FGalT/AftBxAZ8f+RELr8XlkS5mkkmaWtbra0nDVXeVZ3FphKB +EOpnpf8ER6RGihNT82H9H3ITEHiz4kUM1jF+Kz2PgESrwCP28pHDHBMfeJry8e9l +CYjodqGhyaaMjii0pA2xMduoRZoxfYSK2b2z0+62tZpQ/cRmMPo0P39mEUdRbAy8 +jGR/IZiyHcnEAUU+FFvfPOeP0PZMxeyEg9wMH6+oLDIvH1sOnQrS/dNITWZxpMjc +RceoVNDTPqX/+DK17l8qLbKOFFJESW59pfQN8tC2e2i69HGrvYm1J7uDvfMayptZ +WBVDfl/Y6QPld2L7Zk5rZELcSo4OAehWTsJ+Ka4jdro9I3DeFyeo+6IzttwSxHBW +T7TwcQfCNVbAhhD2stCz80Mj2R5D7fCDRs6KvopqM+GRNVYuRy0jRaCxN9MymuAf +JDTH495o17PGjZxfydK3QKDrsvAELhU9DcLUogaNoISujRs+ZlRZdDkKzcfxjOW2 +/Y+sOGROxTYS1uKkOXxI +=q4En -----END PGP SIGNATURE----- diff --git a/net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild b/net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild deleted file mode 100644 index 49326aa2c930..000000000000 --- a/net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild,v 1.2 2013/11/18 15:49:30 zerochaos Exp $ - -EAPI=5 -PYTHON_DEPEND="2" - -inherit base cmake-utils fdo-mime python - -DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" -HOMEPAGE="http://gnuradio.org/" -LICENSE="GPL-3" -SLOT="0/${PV}" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="http://gnuradio.org/git/gnuradio.git" - inherit git-2 - KEYWORDS="" -else - SRC_URI="http://gnuradio.org/releases/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -IUSE="alsa +analog +digital doc examples fcd +filter grc jack oss performance-counters pager portaudio qt4 sdl uhd +utils wavelet wxwidgets" - -REQUIRED_USE="analog? ( filter ) - digital? ( filter analog ) - pager? ( filter analog ) - qt4? ( filter ) - uhd? ( filter analog ) - fcd? ( || ( alsa oss ) ) - wavelet? ( analog ) - wxwidgets? ( filter analog )" - -# bug #348206 -# comedi? ( >=sci-electronics/comedilib-0.7 ) -# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 -# gr-ctrlport needs "ice 3.5" -RDEPEND=">=dev-lang/orc-0.4.12 - dev-libs/boost:0= - !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/cheetah - dev-util/cppunit - sci-libs/fftw:3.0= - fcd? ( virtual/libusb:1 ) - alsa? ( - media-libs/alsa-lib - ) - grc? ( - dev-python/lxml - dev-python/numpy - dev-python/pygtk:2 - ) - jack? ( - media-sound/jack-audio-connection-kit - ) - portaudio? ( - >=media-libs/portaudio-19_pre - ) - qt4? ( - dev-python/PyQt4[X,opengl] - dev-python/pyqwt:5 - dev-qt/qtgui:4 - ) - sdl? ( media-libs/libsdl ) - uhd? ( >=net-wireless/uhd-3.4.3-r1:= ) - wavelet? ( - sci-libs/gsl - ) - wxwidgets? ( - dev-python/wxpython:2.8 - dev-python/numpy - ) -" -DEPEND="${RDEPEND} - dev-lang/swig - virtual/pkgconfig - doc? ( - >=app-doc/doxygen-1.5.7.1 - dev-python/sphinx - ) - grc? ( - x11-misc/xdg-utils - ) - oss? ( - virtual/os-headers - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.6.1-automagic-audio.patch -) - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - python_convert_shebangs -q -r 2 "${S}" - # Useless UI element would require qt3support, bug #365019 - sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die - base_src_prepare -} - -src_configure() { - # TODO: docs are installed to /usr/share/doc/${PN} not /usr/share/doc/${PF} - # SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX - mycmakeargs=( - $(cmake-utils_use_enable alsa GR_AUDIO_ALSA) - $(cmake-utils_use_enable analog GR_ANALOG) - $(cmake-utils_use_enable digital GR_DIGITAL) \ - $(cmake-utils_use_enable doc DOXYGEN) \ - $(cmake-utils_use_enable doc SPHINX) \ - $(cmake-utils_use_enable fcd GR_FCD) \ - $(cmake-utils_use_enable filter GR_FILTER) \ - $(cmake-utils_use_enable grc GRC) \ - $(cmake-utils_use_enable jack GR_AUDIO_JACK) - $(cmake-utils_use_enable oss GR_AUDIO_OSS) - $(cmake-utils_use_enable pager GR_PAGER) - $(cmake-utils_use_enable performance-counters ENABLE_PERFORMANCE_COUNTERS) - $(cmake-utils_use_enable portaudio GR_AUDIO_PORTAUDIO) - $(cmake-utils_use_enable uhd GR_UHD) \ - $(cmake-utils_use_enable utils GR_UTILS) \ - $(cmake-utils_use_enable wavelet GR_WAVELET) \ - $(cmake-utils_use_enable wxwidgets GR_WXGUI) \ - $(cmake-utils_use_enable qt4 GR_QTGUI) \ - $(cmake-utils_use_enable sdl GR_VIDEO_SDL) \ - -DENABLE_GR_CORE=ON - -DSYSCONFDIR="${EPREFIX}"/etc - ) - use qt4 && mycmakeargs+=( -DQWT_INCLUDE_DIRS="${EPREFIX}"/usr/include/qwt5 ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - python_clean_installation_image -q - - # Remove bad shebangs that creep back in during install - sed -i '\|#!/usr/bin/python|d' "${ED}"/usr/bin/* || die - - # Install examples to /usr/share/doc/$PF - if use examples ; then - dodir /usr/share/doc/${PF}/ - mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die - else - # It seems that the examples are always installed - rm -rf "${ED}"/usr/share/${PN}/examples || die - fi - - # We install the mimetypes to the correct locations from the ebuild - rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die - rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die - - # Install icons, menu items and mime-types for GRC - if use grc ; then - local fd_path="${S}/grc/freedesktop" - insinto /usr/share/mime/packages - doins "${fd_path}/${PN}-grc.xml" - - domenu "${fd_path}/"*.desktop - doicon "${fd_path}/"*.png - fi -} - -src_test() -{ - ctest -E qtgui -} - -pkg_postinst() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - python_mod_optimize gnuradio - - if use grc ; then - fdo-mime_desktop_database_update - fdo-mime_mime_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 \ - || die "icon resource installation failed" - xdg-icon-resource install --noupdate --context apps --size ${size} \ - "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" gnuradio-grc \ - || die "icon resource installation failed" - done - xdg-icon-resource forceupdate - fi -} - -pkg_postrm() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - python_mod_cleanup gnuradio - - if use grc ; then - fdo-mime_desktop_database_update - fdo-mime_mime_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" - xdg-icon-resource uninstall --noupdate --context apps --size ${size} \ - gnuradio-grc || ewarn "icon uninstall failed" - - done - xdg-icon-resource forceupdate - fi -} diff --git a/net-wireless/gnuradio/gnuradio-3.7.2.ebuild b/net-wireless/gnuradio/gnuradio-3.7.2.ebuild deleted file mode 100644 index 65c266abd143..000000000000 --- a/net-wireless/gnuradio/gnuradio-3.7.2.ebuild +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/gnuradio-3.7.2.ebuild,v 1.2 2013/11/18 15:49:30 zerochaos Exp $ - -EAPI=5 -PYTHON_DEPEND="2" - -inherit base cmake-utils fdo-mime python - -DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" -HOMEPAGE="http://gnuradio.org/" -LICENSE="GPL-3" -SLOT="0/${PV}" - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="http://gnuradio.org/git/gnuradio.git" - inherit git-2 - KEYWORDS="" -else - SRC_URI="http://gnuradio.org/releases/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -IUSE="alsa +analog +digital doc examples fcd +filter grc jack oss performance-counters pager portaudio qt4 sdl uhd +utils wavelet wxwidgets" - -REQUIRED_USE="analog? ( filter ) - digital? ( filter analog ) - pager? ( filter analog ) - qt4? ( filter ) - uhd? ( filter analog ) - fcd? ( || ( alsa oss ) ) - wavelet? ( analog ) - wxwidgets? ( filter analog )" - -# bug #348206 -# comedi? ( >=sci-electronics/comedilib-0.7 ) -# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 -# gr-ctrlport needs "ice 3.5" -RDEPEND=">=dev-lang/orc-0.4.12 - dev-libs/boost:0= - !<=dev-libs/boost-1.52.0-r6:0/1.52 - dev-python/cheetah - dev-util/cppunit - sci-libs/fftw:3.0= - fcd? ( virtual/libusb:1 ) - alsa? ( - media-libs/alsa-lib - ) - grc? ( - dev-python/lxml - dev-python/numpy - dev-python/pygtk:2 - ) - jack? ( - media-sound/jack-audio-connection-kit - ) - portaudio? ( - >=media-libs/portaudio-19_pre - ) - qt4? ( - dev-python/PyQt4[X,opengl] - dev-python/pyqwt:5 - dev-qt/qtgui:4 - ) - sdl? ( media-libs/libsdl ) - uhd? ( >=net-wireless/uhd-3.4.3-r1:= ) - wavelet? ( - sci-libs/gsl - ) - wxwidgets? ( - dev-python/wxpython:2.8 - dev-python/numpy - ) -" -DEPEND="${RDEPEND} - dev-lang/swig - virtual/pkgconfig - doc? ( - >=app-doc/doxygen-1.5.7.1 - dev-python/sphinx - ) - grc? ( - x11-misc/xdg-utils - ) - oss? ( - virtual/os-headers - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-3.6.1-automagic-audio.patch -) - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - python_convert_shebangs -q -r 2 "${S}" - # Useless UI element would require qt3support, bug #365019 - sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die - base_src_prepare -} - -src_configure() { - # TODO: docs are installed to /usr/share/doc/${PN} not /usr/share/doc/${PF} - # SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX - mycmakeargs=( - $(cmake-utils_use_enable alsa GR_AUDIO_ALSA) - $(cmake-utils_use_enable analog GR_ANALOG) - $(cmake-utils_use_enable digital GR_DIGITAL) \ - $(cmake-utils_use_enable doc DOXYGEN) \ - $(cmake-utils_use_enable doc SPHINX) \ - $(cmake-utils_use_enable fcd GR_FCD) \ - $(cmake-utils_use_enable filter GR_FILTER) \ - $(cmake-utils_use_enable grc GRC) \ - $(cmake-utils_use_enable jack GR_AUDIO_JACK) - $(cmake-utils_use_enable oss GR_AUDIO_OSS) - $(cmake-utils_use_enable pager GR_PAGER) - $(cmake-utils_use_enable performance-counters ENABLE_PERFORMANCE_COUNTERS) - $(cmake-utils_use_enable portaudio GR_AUDIO_PORTAUDIO) - $(cmake-utils_use_enable uhd GR_UHD) \ - $(cmake-utils_use_enable utils GR_UTILS) \ - $(cmake-utils_use_enable wavelet GR_WAVELET) \ - $(cmake-utils_use_enable wxwidgets GR_WXGUI) \ - $(cmake-utils_use_enable qt4 GR_QTGUI) \ - $(cmake-utils_use_enable sdl GR_VIDEO_SDL) \ - -DENABLE_GR_CORE=ON - -DSYSCONFDIR="${EPREFIX}"/etc - ) - use qt4 && mycmakeargs+=( -DQWT_INCLUDE_DIRS="${EPREFIX}"/usr/include/qwt5 ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - python_clean_installation_image -q - - # Remove bad shebangs that creep back in during install - sed -i '\|#!/usr/bin/python|d' "${ED}"/usr/bin/* || die - - # Install examples to /usr/share/doc/$PF - if use examples ; then - dodir /usr/share/doc/${PF}/ - mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die - else - # It seems that the examples are always installed - rm -rf "${ED}"/usr/share/${PN}/examples || die - fi - - # We install the mimetypes to the correct locations from the ebuild - rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die - rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die - - # Install icons, menu items and mime-types for GRC - if use grc ; then - local fd_path="${S}/grc/freedesktop" - insinto /usr/share/mime/packages - doins "${fd_path}/${PN}-grc.xml" - - domenu "${fd_path}/"*.desktop - doicon "${fd_path}/"*.png - fi -} - -src_test() -{ - ctest -E qtgui -} - -pkg_postinst() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - python_mod_optimize gnuradio - - if use grc ; then - fdo-mime_desktop_database_update - fdo-mime_mime_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 \ - || die "icon resource installation failed" - xdg-icon-resource install --noupdate --context apps --size ${size} \ - "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" gnuradio-grc \ - || die "icon resource installation failed" - done - xdg-icon-resource forceupdate - fi -} - -pkg_postrm() -{ - local GRC_ICON_SIZES="32 48 64 128 256" - python_mod_cleanup gnuradio - - if use grc ; then - fdo-mime_desktop_database_update - fdo-mime_mime_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" - xdg-icon-resource uninstall --noupdate --context apps --size ${size} \ - gnuradio-grc || ewarn "icon uninstall failed" - - done - xdg-icon-resource forceupdate - fi -} |