diff options
author | Richard Farina <zerochaos@gentoo.org> | 2013-11-18 03:44:20 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2013-11-18 03:44:20 +0000 |
commit | 7bf84484017b44249631be55572af9cc00d7554f (patch) | |
tree | 66a7cc35b6ad6fd150102c4cd667022feb743f2f /net-wireless/gnuradio | |
parent | fixing cve and 490764 and 490766 (diff) | |
download | historical-7bf84484017b44249631be55572af9cc00d7554f.tar.gz historical-7bf84484017b44249631be55572af9cc00d7554f.tar.bz2 historical-7bf84484017b44249631be55572af9cc00d7554f.zip |
cleanup old ebuilds
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 | 6 | ||||
-rw-r--r-- | net-wireless/gnuradio/Manifest | 32 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.7.0.ebuild | 197 | ||||
-rw-r--r-- | net-wireless/gnuradio/gnuradio-3.7.1.ebuild | 210 |
4 files changed, 19 insertions, 426 deletions
diff --git a/net-wireless/gnuradio/ChangeLog b/net-wireless/gnuradio/ChangeLog index 4a5150955bbf..0231028a6905 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.33 2013/11/12 23:32:38 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/ChangeLog,v 1.34 2013/11/18 03:44:12 zerochaos Exp $ + + 18 Nov 2013; Rick Farina <zerochaos@gentoo.org> -gnuradio-3.7.0.ebuild, + -gnuradio-3.7.1.ebuild: + cleanup old ebuilds *gnuradio-3.7.2 (12 Nov 2013) *gnuradio-3.7.1.1 (12 Nov 2013) diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest index 7087bcd24274..a06145793165 100644 --- a/net-wireless/gnuradio/Manifest +++ b/net-wireless/gnuradio/Manifest @@ -3,32 +3,28 @@ 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.0.tar.gz 2990545 SHA256 c18e12f119df5ea49ea2ed8ccde3b13043d9c4adfbbb28ac3f15122c91e646a5 SHA512 3a57c20ea5dd02e55bcf02f3fe26dde2fa298bd83ce308fd941848928ef44711f4176a654f1a4b9f191448a2fb85c5249356b9b038c41fc3f6b21e1e0cc55edb WHIRLPOOL 9c13108f274df420d53914df1b28a9dc9267de03d966c7d5b33f279b494f82d7c8f771210e9ad6a0f08507b4d6b95f3435616e04885c9b968ddcdb24f5ecb3a4 DIST gnuradio-3.7.1.1.tar.gz 3041261 SHA256 6224e17b5f8a8583093b985d00194f286465bf810b488c0eec7aadedfc68e44b SHA512 a14ef7478a938f69fa4fead39ca43752a53f3d92e18117d8954f76c282ca895385f3d8047619a8c53e4cb4810c8f99c6914ac1182d72905961eb0eda12f6cde3 WHIRLPOOL 2d57be1c1a11c4f42b82b19347ac1db771ae9a296d992df93b0c5707ef31e1cfde4c723ecdc435cceaa460c19da17435fe89cf4a522ceeeeb8c615a0a50d767e -DIST gnuradio-3.7.1.tar.gz 3042894 SHA256 e9f7f66d175365e281175f889ed4fc46e20318affa8f1f5b4edbe477378ad6cd SHA512 7982c8b666b03de4d4ca7872f91343fc176e57e9390397d494fca560744698039ec79894dade7aeadc734fdeff71e31c231f8c8b3c7229677a2785a4044e6702 WHIRLPOOL 787c9bf69877fd892e7a1cc234502743647d534bcebaff8d04e62aec5270ae43f088a2fdcb84bc9a4e782193f7e4648745ba487edff9f57d7b58320e651ca8a6 DIST gnuradio-3.7.2.tar.gz 3105137 SHA256 b80b42eaa091cb77a168e15b029307856db249d460ff06dfdf292802c19a2669 SHA512 4b6bdf4e800bc13dc01bfb3d72b4b5d454a088ba1a6ea3ae450564d000883206d60aab1b96d6768acfe9f45bb86b66243148cee154a63b7cad9581fd2e281a6a WHIRLPOOL 8a98d30aa5f1528c46bc01e62190e0035a7e665026553099f40184a36d627fa60074d14fb626659a2ab94ce787f743504c2c6b0f3db92b00e0da1ef17d0976f2 EBUILD gnuradio-3.6.5.1.ebuild 5206 SHA256 1b3d894bee30b3646b1a5425b88f317dedc629f518c14d8969d4c60f8ed751fa SHA512 1b52b39c9673d9d088c4c5b42a9398b3ee21674e16b08a74fc3139c2e597deaa9a1d64c1c6a850f8976e8441a00d2537ff9af94d61c79f1147d4e11e4ce488d8 WHIRLPOOL 39d2fc86ef0c755d5e84e5cfa076ef1611acaf5199682e8fc0f1a6811f53475f6f2a22b3386f9dd1839595db59b8850a0bc5298f70780c1e9ee387eaff049db6 -EBUILD gnuradio-3.7.0.ebuild 5236 SHA256 bb60b7cd4f7338a3ab58cd53cd606e483300992e540eca6e7a5c22e37700bcf3 SHA512 b6a4be751883c8c32207cb5ef7e89d2bf1b3303f2a03a7e76c5ea1f6419d228ca5313ddb760b9e86eec58b0dc7eb857eff48725911c5d38aefee1fb273c7862a WHIRLPOOL 382764cea22c79629cc59312a17ee6b8e93f25cbd2be21204cb07c72a25e50f27dce7193e003abb23a1c496e1d31c300a642e7dd9697c2d163860437cc962d20 EBUILD gnuradio-3.7.1.1.ebuild 5648 SHA256 f433dfcb3d6ae46e373409060505e76c378fd42be1a39e5bd1f77694fb367119 SHA512 eec3efdda1b0fac06c53e2e4f5b0401709908f3f9d0a2310e4eacce47d214377e2456cddb6cd2dbd56d9b14d5f886dca214563cb900029e611d6181fb2b1ac1f WHIRLPOOL b62fc458656009a69735b01b41ea7eb1fb73b7c0577ea3445f0c88309f013a6fa21d858637d6ae7afdd8f85e44398734b8b87f1ce8092ad58f3affbbfc67f861 -EBUILD gnuradio-3.7.1.ebuild 5646 SHA256 2d5ed02644be1ff92d4c1922f995e90aa888f6da1153473d39212a20817a4ba3 SHA512 26db88396db97ec3cf6ec4023fc03821bedb0ffd91e18bffb6aace7b31bccf51ddccd0b1ac83b2aee97933ce67aeefa80e1c0c4ed4ed08414825b285fc05540a WHIRLPOOL 772e61904d1c8c761d7977aff79c52bf733fb280ad01e21c98598fd9736f937b9071faff3de07224617a82916ec29d9cb29e0c4285946e0de3cee272b5c7455a EBUILD gnuradio-3.7.2.ebuild 5646 SHA256 c511c62f8da756dc32a9a8c3d1fc68c62680415472b94aba867cdfc609033aa5 SHA512 1848a743e4758dd56e9735c77255fb30a33bb7ac3ad10d3575e32e6b8e6b41bd519fd717f3d4e56d43a0a13b825a58834eb6f1f16dcf02f479ce5e74be370d00 WHIRLPOOL 1be617d2a9b58b3c2a2ce328c080e55b9bb0a425c764ccb7ec2217002a92c30f7d1fc3645166e5c24b64c0fe993b5ec16e36ee688e459212a59e0867fcd312f2 EBUILD gnuradio-9999.ebuild 5203 SHA256 798ece5fc063d44584a5fb6d02e7d7807e64a1a2f33e7b88ef000a34bc980385 SHA512 00fc275f5e637b41b92af4b98f038d06f3b20252d93bf21619dc0db334c726e3ff7053f3da996636a397d9984649f5a9b40dccda44bf73d3054afffcf0198c0f WHIRLPOOL 1d59da1ee05bac6124eff43857ceff59ccc46e616d65f518b3472157c544071dcd81ab4f84d3e063b6cec619a1846e045667eaba37bd15b74ceb2737228b7a55 -MISC ChangeLog 6321 SHA256 8a17a39656a7144d16ec4e23a23e191fea42b4e44e6986cd21405bce88328463 SHA512 1b58a970489038a7022a03969e1769f5775295590b16c7e755c06585e288bf14e40110aa087369ef848ba261b2a8f2e25bafd5a9e3cb21af3efd8536452465c6 WHIRLPOOL 92fb2cbe613eec64fea8ef81266019c706d56796cd1940648f1fd655c85091ca1761061d476c9fadf2672edcfd6a76aed9c7638e21ae422c3a8eabc62e5ee25d +MISC ChangeLog 6444 SHA256 7a28afc85e0a462d3930f7eb1d7e4ff47b54284ea009e5896fa8438ba5f93591 SHA512 8e6b31b72fee61aff03fce3a672b20bc0a746d18b28455ebb91d523ad6b3484427527642b56031b81d9d11f9f9b7220a7896ce7b013601a8a86193555f8edb81 WHIRLPOOL 7d87fef042daa97b579b9b6840bacde3cab202d920078e57e814589bcdfce9e196e8144b42d4fd8d4ed9eee69e34c75d5bd215ee1e52ee9dae180468fb789c8e MISC metadata.xml 932 SHA256 95bbb6d405dcad3e6493fd0ac72f6d6265ed76d2d7b3c71fcc50526571cc765d SHA512 33cf8b1561849cc735d43f6567f00af613e44e777cdd4235d01784d7eb7bae07040b1a7eff237a90b0b69e906e099f9dbabc2545b3b35c738653ca9c73cde7cc WHIRLPOOL 0dbb103c57e7ec0d8cbfd77b69193dbdf8d9762249a0df4304ee0e9b178c1b6000605525512429f09196bfc3b009f35f77eb1cad9043a65d8927ba7dfb5f678e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSgrqoAAoJEKXdFCfdEflKUAMQAKlzSinO34F+3gEAn0f5qAYB -61Wh0tA3uN4vg8rtnrNagCW0x/GN7Twy1ECK05pIPhraEK5A/pqZK4adqClu43/X -iwgQ2Md0oonC8V4svxnBUNI37EQH9ofjqUqT8glh/Cm3dTM6dMbKgemHbl8UzXQh -VhHWA54wcx/JZcV/aB1P21D3NnqKtEW2bwF9bRmeSF3OiwvmfsACKnA4h+4+sicw -o7nRk/SXSZyQ0EZ3yc7S6eCr4m8xWBLEKjIec3CzJrZ/Wp7eHk/mqIwmRHTU/Xlg -Ct2hH0AOqEGDzkDwY6rdzfiDWHDE7+kJ8SQG5TBYuUzvrD4X2lRHv2PNrLzoAMKr -DpXfM68SiRFiaz4GMveCsldlnQCL7MnPPb1cuQ4hSz9ZGS8nI49RgOX8RnMARi8H -0gXLqgSBE1jiw+3WC7h9NvKe0MG6Oaaol+2dVytHV6N60nFb7YUTrbancw/hIN4/ -21XgUZ0nfdOv+cR2IJIlm+k2szAI70rrpG7vF7PK9mnEbcbSASVOjBWR0s9YF3Bk -gCqV3ffUkMgIRwu03E0G1A7P95K255rTsQuQmbWukpnsRAep3iA6Ew2gKV+g3e9a -iGUemqFwP5Gh85Ta9zdQMuqMC3kNCN5WhtZldyVl36Q+rvvqf+3yByiMfB60vPFE -ZK6y0jGbeE40fcg4jLiZ -=hkAh +iQIcBAEBCgAGBQJSiY0sAAoJEKXdFCfdEflK2kMQAIXFQ3iqhbnmRf+V9rnLUSBX +SLZXSuRkjL81AHAylXACWEaumOdZxmzs5ubeI9WDI3vD4SWX9j0UcvHSAWqpd0ga +20cdaKfvQmxVXMmbzEBdcEBgFdvfGuIum6M84Pcf0GJJzJ5DAa/isT6+3pqn5X7p +tLv2tE7LlIBLc/+Tivni3wW+W3vf34Xrr/5dBEQ8KAwN3BObsvFpwKVl690Tw/2i +X7SHnrkNNTnvhFC8iblaT+GEDd0yvg1kZUU9xEJFHKaFXNh2EsaZkyCNmioD4O66 +fwEPcTCaUIPNzCYAyv5XNShuX9cdZqvvzZnjeDgI2pLKqmI2KR81GLDIgtW9saCy +/ItjLUQmIJuFK/mPADGoIXc+004cJRxJ99tZtkOOgfzViHapteeXt6wa7FCj2YOQ +aoe7etaSNSb6c7FSE32a8e5rva/wZexOu9zj9y26j1Y5sH3LIlNUg9zh7ZvHRGID +ESY6sUwCF95CpEOLQ8/aL1EjlArU2sL7/sL36EmMCmDtrTjFqKrm0bxj3HlACQF7 +MBD12KBvCc8VFdgoCPuIvxrVtcS0VxfqcSQy5NPEcAczJRKV2oA3Ysme006wp2uV +a9Z61mRTfNz9Go0/EiJaQQM6a6wsjC7GdY+SeC8x/g7BqKdo3diY48m2KNGDQzPZ +MlXMUd0YnSx4zeeH5lrd +=cM00 -----END PGP SIGNATURE----- diff --git a/net-wireless/gnuradio/gnuradio-3.7.0.ebuild b/net-wireless/gnuradio/gnuradio-3.7.0.ebuild deleted file mode 100644 index 061505495947..000000000000 --- a/net-wireless/gnuradio/gnuradio-3.7.0.ebuild +++ /dev/null @@ -1,197 +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.0.ebuild,v 1.2 2013/07/10 11:32:21 chithanh 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 doc examples fcd filter grc jack oss performance-counters portaudio qt4 sdl uhd utils wavelet wxwidgets" - -# bug #348206 -# comedi? ( >=sci-electronics/comedilib-0.7 ) -# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 -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 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 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 - -DQWT_INCLUDE_DIRS="${EPREFIX}"/usr/include/qwt5 - -DSYSCONFDIR="${EPREFIX}"/etc - ) - 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.1.ebuild b/net-wireless/gnuradio/gnuradio-3.7.1.ebuild deleted file mode 100644 index bdcd8ff35343..000000000000 --- a/net-wireless/gnuradio/gnuradio-3.7.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.ebuild,v 1.2 2013/11/12 23:32:38 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 - -DQWT_INCLUDE_DIRS="${EPREFIX}"/usr/include/qwt5 - -DSYSCONFDIR="${EPREFIX}"/etc - ) - 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 -} |