summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2013-11-12 23:32:46 +0000
committerRichard Farina <zerochaos@gentoo.org>2013-11-12 23:32:46 +0000
commit1e41cca810868a79af9b8453c2f61ee39bfe7d54 (patch)
treee32f2dcea297f06e95c8d6f92d7b2df7bdfa11aa /net-wireless
parentAutomated update. (diff)
downloadhistorical-1e41cca810868a79af9b8453c2f61ee39bfe7d54.tar.gz
historical-1e41cca810868a79af9b8453c2f61ee39bfe7d54.tar.bz2
historical-1e41cca810868a79af9b8453c2f61ee39bfe7d54.zip
version bumps, tested against a few things, both seem to work well
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gnuradio/ChangeLog9
-rw-r--r--net-wireless/gnuradio/Manifest30
-rw-r--r--net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild210
-rw-r--r--net-wireless/gnuradio/gnuradio-3.7.1.ebuild21
-rw-r--r--net-wireless/gnuradio/gnuradio-3.7.2.ebuild210
-rw-r--r--net-wireless/gnuradio/metadata.xml3
6 files changed, 475 insertions, 8 deletions
diff --git a/net-wireless/gnuradio/ChangeLog b/net-wireless/gnuradio/ChangeLog
index 696aa5185dad..4a5150955bbf 100644
--- a/net-wireless/gnuradio/ChangeLog
+++ b/net-wireless/gnuradio/ChangeLog
@@ -1,6 +1,13 @@
# 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.32 2013/08/31 03:36:13 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnuradio/ChangeLog,v 1.33 2013/11/12 23:32:38 zerochaos Exp $
+
+*gnuradio-3.7.2 (12 Nov 2013)
+*gnuradio-3.7.1.1 (12 Nov 2013)
+
+ 12 Nov 2013; Rick Farina <zerochaos@gentoo.org> +gnuradio-3.7.1.1.ebuild,
+ +gnuradio-3.7.2.ebuild, gnuradio-3.7.1.ebuild, metadata.xml:
+ version bumps, tested against a few things, both seem to work well
*gnuradio-3.7.1 (31 Aug 2013)
diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest
index b5ae6f320fbb..7087bcd24274 100644
--- a/net-wireless/gnuradio/Manifest
+++ b/net-wireless/gnuradio/Manifest
@@ -1,10 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+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.ebuild 5237 SHA256 a093c8d8cd50b2e98c3f7a477894565ccf2aa62831cd6072f80316e2cd6ed5b0 SHA512 08117657ec14041efa727e21840dca5eed16ae80aed65ff4b94424276ed99f7f6a1bae9d2879ccc360742228b56794733e4bbf36316d4a70d66a386b24c96852 WHIRLPOOL 8f6d302ffa0b863a0a7da5951fd080938fe397a6e7bb0e96a79cefd0ccb40f09fc1b3ac505ad78336a93b66d76b70844c696f13508c911b37b81f92d7003c245
+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 6049 SHA256 1a9afd05cc2501495a751173774bfa2c7807dda2bf98ff8642fbecde48d03492 SHA512 d3df4d96f3b48caa3ee9b28df32b45117805728bc09f5119cd4df58d7e136d1784744f8744efb03a549e68bdf3f15b64276d9879f75ddaabb40d5d7dd8f90403 WHIRLPOOL 013c7663ec6254eba60d752fb949fd4007ec6843cca649533ff56b573a76db9de77553e948ffc57702e87aaf95fb1f57257853aa0a907ddef5c396409a31eab8
-MISC metadata.xml 728 SHA256 9e95ec272bf243e9aeeb83495eb985756816acbf667fc0af1628bb2e53aa71c1 SHA512 5e43037b0b2e8b249abf465d22006330cfa04c12366a13ddd24f25393d910d6c62cab12a88942c55521e4dceaa2d3dd42e32c35a0d57f75f19922a001e9262e3 WHIRLPOOL d89b6e7e79bc63184c80346281d76567483596407d146dea1f7f9740c997cdf756ad603287e65ccb9e699a7b6ad57e268086acc76d8131936605e09d71347caf
+MISC ChangeLog 6321 SHA256 8a17a39656a7144d16ec4e23a23e191fea42b4e44e6986cd21405bce88328463 SHA512 1b58a970489038a7022a03969e1769f5775295590b16c7e755c06585e288bf14e40110aa087369ef848ba261b2a8f2e25bafd5a9e3cb21af3efd8536452465c6 WHIRLPOOL 92fb2cbe613eec64fea8ef81266019c706d56796cd1940648f1fd655c85091ca1761061d476c9fadf2672edcfd6a76aed9c7638e21ae422c3a8eabc62e5ee25d
+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
+-----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
new file mode 100644
index 000000000000..3efc712b6a5d
--- /dev/null
+++ b/net-wireless/gnuradio/gnuradio-3.7.1.1.ebuild
@@ -0,0 +1,210 @@
+# 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.1 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
+}
diff --git a/net-wireless/gnuradio/gnuradio-3.7.1.ebuild b/net-wireless/gnuradio/gnuradio-3.7.1.ebuild
index 69013607d2fc..bdcd8ff35343 100644
--- a/net-wireless/gnuradio/gnuradio-3.7.1.ebuild
+++ b/net-wireless/gnuradio/gnuradio-3.7.1.ebuild
@@ -1,6 +1,6 @@
# 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.1 2013/08/31 03:36:13 zerochaos Exp $
+# $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"
@@ -21,17 +21,27 @@ else
KEYWORDS="~amd64 ~arm ~x86"
fi
-IUSE="alsa doc examples fcd filter grc jack oss performance-counters portaudio qt4 sdl uhd utils wavelet wxwidgets"
+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
+ sci-libs/fftw:3.0=
fcd? ( virtual/libusb:1 )
alsa? (
media-libs/alsa-lib
@@ -53,7 +63,7 @@ RDEPEND=">=dev-lang/orc-0.4.12
dev-qt/qtgui:4
)
sdl? ( media-libs/libsdl )
- uhd? ( >=net-wireless/uhd-3.4.3-r1 )
+ uhd? ( >=net-wireless/uhd-3.4.3-r1:= )
wavelet? (
sci-libs/gsl
)
@@ -98,6 +108,8 @@ src_configure() {
# 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) \
@@ -105,6 +117,7 @@ src_configure() {
$(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) \
diff --git a/net-wireless/gnuradio/gnuradio-3.7.2.ebuild b/net-wireless/gnuradio/gnuradio-3.7.2.ebuild
new file mode 100644
index 000000000000..6dd6a365c89d
--- /dev/null
+++ b/net-wireless/gnuradio/gnuradio-3.7.2.ebuild
@@ -0,0 +1,210 @@
+# 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.1 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
+}
diff --git a/net-wireless/gnuradio/metadata.xml b/net-wireless/gnuradio/metadata.xml
index 68b921b24c53..425a889d06ef 100644
--- a/net-wireless/gnuradio/metadata.xml
+++ b/net-wireless/gnuradio/metadata.xml
@@ -3,9 +3,12 @@
<pkgmetadata>
<herd>radio</herd>
<use>
+ <flag name='analog'>enable analog signal processing blocks</flag>
+ <flag name='digital'>enable digital signal processing blocks</flag>
<flag name='fcd'>enable Funcube Dongle source block</flag>
<flag name='filter'>enable filter signal processing blocks</flag>
<flag name='grc'>enable GNU Radio Companion graphical tool to design signal processing flow graphs</flag>
+ <flag name='pager'>enable pager signal processing blocks</flag>
<flag name='performance-counters'>enable block performance counters</flag>
<flag name='uhd'>install UHD source and sink blocks</flag>
<flag name='utils'>install scripts to enable viewing and analysis of files produced by flow graphs</flag>