1 |
commit: f87b58e64e4da6792adc0ef4cb9827876205513c |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 14:46:37 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 14:46:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87b58e6 |
7 |
|
8 |
net-wireless/gnuradio: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
net-wireless/gnuradio/Manifest | 3 - |
14 |
net-wireless/gnuradio/gnuradio-3.7.13.5-r3.ebuild | 279 --------------------- |
15 |
net-wireless/gnuradio/gnuradio-3.7.13.5-r4.ebuild | 281 ---------------------- |
16 |
net-wireless/gnuradio/metadata.xml | 5 - |
17 |
4 files changed, 568 deletions(-) |
18 |
|
19 |
diff --git a/net-wireless/gnuradio/Manifest b/net-wireless/gnuradio/Manifest |
20 |
index 645064a69d8..71300a1da44 100644 |
21 |
--- a/net-wireless/gnuradio/Manifest |
22 |
+++ b/net-wireless/gnuradio/Manifest |
23 |
@@ -1,6 +1,3 @@ |
24 |
DIST 0002-boost_qualify_placeholders_with_their_full_namespace.patch.bz2 6933 BLAKE2B 021574de46f582f668788d35bb0f2fb7a47a03ae9d8009adaf3d53946bdf7fc61301a985a7eb0c6cde37fef36dceae86d71d287a8beb61d793b6309064e4e09d SHA512 f42f997a92592d3caf7e29e50bfb5733ab94988743eb3231c78b31272c5cde840f5abd984e1c6b1f928828a6be84eb5d17c3455207509f48652ed160a4f6c7ae |
25 |
-DIST gnuradio-3.7.13-1-qt5.tar.xz 31412 BLAKE2B 56aebd5ea61abd48723ed0c16050a05c3c8e328ac2a91307b00d8705ddcac0c713d74b946491bdd763abd5d2432d07cd51a85a4d365ef3c8d51eb255e682e326 SHA512 952c5bbf3ae38e2a935cd8dbd20f2f7aed4ab8c0492e3bc10ebed2b9eb1f11bb2caf84c035cd3d88f7703e84f1e58d8aa0a66290623c7b75e59b43a85de44549 |
26 |
-DIST gnuradio-3.7.13-codec2.tar.xz 13148 BLAKE2B 84f732dc562dbbd076e1656fad37c818fd9fa869b81f343d45b086659a6df1dc4e26afdb8f283b83c758f76e9d3b90e51ce32e396fbb03d1c0348d27ba9e2c1c SHA512 f9e034ff240b836e336b48900a3b6a86a656ec4f35a9df639503ab99cf8da6acfc6e8d45f11c81994766d9d5bb381671fc678abd0280ebc0e218bcd8523a3f1b |
27 |
-DIST gnuradio-3.7.13.5.tar.xz 2976120 BLAKE2B 67aea67b0bd87994f8b4bf89405f410dc08c9fc603a0a59579036b28e575c864df28a0b43e2163fc6ec834fdeb015f110295cdca3aa4256d15e1d223d31579d3 SHA512 cf25491b81d317cd0cdfc70203695c4e819676bc6771c25e85fc62873e6e28d6ea3b9f0387e693976fa072fa1cfe9c9a503e4958ec658e2e0a6768752c61fb15 |
28 |
DIST gnuradio-3.8.1.0.tar.xz 2436488 BLAKE2B f3919b458987c9dc72be2d9400473d64cc95870f4bf3a31b74c2ee9df8f291b6ca8e44d57269ad0af5e2fd0a22f777999986685f53665057f9a54478fa840479 SHA512 81e68db79b0927830a86d21f851f183becfad3e9b8b9b8379698c0d96d3f906b9b1b9292198829ce3d3c73fc29547e42a2532db62218d0b534bf02bf7a02fdde |
29 |
DIST gnuradio-3.8.2.0.tar.xz 2438736 BLAKE2B 93eabff578cd6b3b6587a6aa083095c787323ebf87a447d61999813e7e5e48b414d080a4fc02d01dabaa9378d42e3a210451a9109fc202991ebda8d1c9669676 SHA512 33930f62762cd9e3d1038b4a903f01e7ab33129732d207c126a89c1f1e719e9d656a94cdcbf3f6010f8476fedacee639c8a12444c41cdd56ad9fbace7863a170 |
30 |
|
31 |
diff --git a/net-wireless/gnuradio/gnuradio-3.7.13.5-r3.ebuild b/net-wireless/gnuradio/gnuradio-3.7.13.5-r3.ebuild |
32 |
deleted file mode 100644 |
33 |
index e5e6b1a24c2..00000000000 |
34 |
--- a/net-wireless/gnuradio/gnuradio-3.7.13.5-r3.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,279 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
-PYTHON_COMPAT=( python2_7 ) |
42 |
- |
43 |
-CMAKE_BUILD_TYPE="None" |
44 |
-inherit cmake-utils eutils gnome2-utils python-single-r1 xdg-utils |
45 |
- |
46 |
-DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" |
47 |
-HOMEPAGE="https://www.gnuradio.org/" |
48 |
-LICENSE="GPL-3" |
49 |
-SLOT="0/${PV}" |
50 |
- |
51 |
-if [[ ${PV} =~ "9999" ]]; then |
52 |
- EGIT_REPO_URI="https://www.gnuradio.org/cgit/gnuradio.git" |
53 |
- inherit git-r3 |
54 |
- KEYWORDS="" |
55 |
-else |
56 |
- SRC_URI="https://github.com/gnuradio/gnuradio/releases/download/v${PV}/${P}.tar.xz |
57 |
- https://dev.gentoo.org/~zerochaos/patches/${PN}-3.7.13-1-qt5.tar.xz |
58 |
- https://dev.gentoo.org/~zerochaos/patches/${PN}-3.7.13-codec2.tar.xz" |
59 |
- KEYWORDS="~amd64 ~arm ~x86" |
60 |
-fi |
61 |
-if [[ ${PV} == "3.7.9999" ]]; then |
62 |
- EGIT_BRANCH="maint-3.7" |
63 |
-fi |
64 |
- |
65 |
-IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" |
66 |
-RESTRICT="!test? ( test )" |
67 |
- |
68 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
69 |
- audio? ( || ( alsa oss jack portaudio ) ) |
70 |
- alsa? ( audio ) |
71 |
- oss? ( audio ) |
72 |
- jack? ( audio ) |
73 |
- portaudio? ( audio ) |
74 |
- analog? ( filter ) |
75 |
- digital? ( filter analog ) |
76 |
- dtv? ( fec ) |
77 |
- pager? ( filter analog ) |
78 |
- qt5? ( filter ) |
79 |
- uhd? ( filter analog ) |
80 |
- fcd? ( || ( alsa oss ) ) |
81 |
- wavelet? ( analog ) |
82 |
- wxwidgets? ( filter analog )" |
83 |
- |
84 |
-# bug #348206 |
85 |
-# comedi? ( >=sci-electronics/comedilib-0.8 ) |
86 |
-# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 |
87 |
-RDEPEND="${PYTHON_DEPS} |
88 |
- >=dev-lang/orc-0.4.12 |
89 |
- !<=dev-libs/boost-1.52.0-r6:0/1.52 |
90 |
- sci-libs/fftw:3.0= |
91 |
- alsa? ( |
92 |
- media-libs/alsa-lib:= |
93 |
- ) |
94 |
- fcd? ( virtual/libusb:1 ) |
95 |
- jack? ( |
96 |
- media-sound/jack-audio-connection-kit |
97 |
- ) |
98 |
- log? ( dev-libs/log4cpp ) |
99 |
- portaudio? ( |
100 |
- >=media-libs/portaudio-19_pre |
101 |
- ) |
102 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
103 |
- uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_SINGLE_USEDEP}] ) |
104 |
- vocoder? ( media-sound/gsm |
105 |
- >=media-libs/codec2-0.8.1 ) |
106 |
- wavelet? ( |
107 |
- >=sci-libs/gsl-1.10 |
108 |
- ) |
109 |
- zeromq? ( >=net-libs/zeromq-2.1.11 ) |
110 |
- $(python_gen_cond_dep ' |
111 |
- dev-libs/boost:0=[python,${PYTHON_MULTI_USEDEP}] |
112 |
- dev-python/mako[${PYTHON_MULTI_USEDEP}] |
113 |
- dev-python/six[${PYTHON_MULTI_USEDEP}] |
114 |
- filter? ( |
115 |
- || ( |
116 |
- dev-python/scipy-python2[${PYTHON_MULTI_USEDEP}] |
117 |
- dev-python/scipy[${PYTHON_MULTI_USEDEP}] |
118 |
- ) |
119 |
- ) |
120 |
- grc? ( |
121 |
- dev-python/cheetah[${PYTHON_MULTI_USEDEP}] |
122 |
- dev-python/lxml[${PYTHON_MULTI_USEDEP}] |
123 |
- >=dev-python/pygtk-2.10:2[${PYTHON_MULTI_USEDEP}] |
124 |
- || ( |
125 |
- dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] |
126 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
127 |
- ) |
128 |
- ) |
129 |
- qt5? ( |
130 |
- dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] |
131 |
- dev-qt/qtcore:5 |
132 |
- dev-qt/qtgui:5 |
133 |
- x11-libs/qwt:6[qt5(+)] |
134 |
- dev-qt/qtwidgets:5 |
135 |
- ) |
136 |
- utils? ( |
137 |
- || ( |
138 |
- dev-python/matplotlib-python2[${PYTHON_MULTI_USEDEP}] |
139 |
- dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] |
140 |
- ) |
141 |
- ) |
142 |
- wxwidgets? ( |
143 |
- dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}] |
144 |
- || ( |
145 |
- dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] |
146 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
147 |
- ) |
148 |
- ) |
149 |
- ') |
150 |
- " |
151 |
- |
152 |
-DEPEND="${RDEPEND} |
153 |
- app-text/docbook-xml-dtd:4.2 |
154 |
- >=dev-lang/swig-3.0.5 |
155 |
- virtual/pkgconfig |
156 |
- $(python_gen_cond_dep ' |
157 |
- dev-python/cheetah[${PYTHON_MULTI_USEDEP}] |
158 |
- doc? ( |
159 |
- >=app-doc/doxygen-1.5.7.1 |
160 |
- dev-python/sphinx[${PYTHON_MULTI_USEDEP}] |
161 |
- ) |
162 |
- ') |
163 |
- grc? ( x11-misc/xdg-utils ) |
164 |
- oss? ( virtual/os-headers ) |
165 |
- test? ( >=dev-util/cppunit-1.9.14 ) |
166 |
- zeromq? ( net-libs/cppzmq ) |
167 |
-" |
168 |
- |
169 |
-src_prepare() { |
170 |
- gnome2_environment_reset #534582 |
171 |
- |
172 |
- if [[ ${PV} == "9999" ]]; then |
173 |
- true |
174 |
- else |
175 |
- epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch |
176 |
- fi |
177 |
- # Useless UI element would require qt3support, bug #365019 |
178 |
- sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die |
179 |
- epatch "${WORKDIR}"/qt5-maint-00*.patch |
180 |
- epatch "${WORKDIR}"/codec2-next-00*.patch |
181 |
- epatch "${FILESDIR}"/${PN}-3.7.13.5-boost-1.70-asio.patch |
182 |
- |
183 |
- use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake |
184 |
- use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake |
185 |
- use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake |
186 |
- |
187 |
- cmake-utils_src_prepare |
188 |
-} |
189 |
- |
190 |
-src_configure() { |
191 |
- #zeromq missing deps isn't fatal |
192 |
- python_export PYTHON_SITEDIR |
193 |
- mycmakeargs=( |
194 |
- -DENABLE_DEFAULT=OFF |
195 |
- -DENABLE_GNURADIO_RUNTIME=ON |
196 |
- -DENABLE_VOLK=ON |
197 |
- -DENABLE_PYTHON=ON |
198 |
- -DENABLE_GR_BLOCKS=ON |
199 |
- -DENABLE_GR_FFT=ON |
200 |
- -DENABLE_GR_AUDIO=ON |
201 |
- -DENABLE_GR_AUDIO_ALSA="$(usex alsa)" |
202 |
- -DENABLE_GR_ANALOG="$(usex analog)" |
203 |
- -DENABLE_GR_ATSC="$(usex atsc)" |
204 |
- -DENABLE_GR_CHANNELS="$(usex channels)" |
205 |
- -DENABLE_GR_DIGITAL="$(usex digital)" |
206 |
- -DENABLE_DOXYGEN="$(usex doc)" |
207 |
- -DENABLE_SPHINX="$(usex doc)" |
208 |
- -DENABLE_GR_DTV="$(usex dtv)" |
209 |
- -DENABLE_GR_FCD="$(usex fcd)" |
210 |
- -DENABLE_GR_FEC="$(usex fec)" |
211 |
- -DENABLE_GR_FILTER="$(usex filter)" |
212 |
- -DENABLE_GRC="$(usex grc)" |
213 |
- -DENABLE_GR_AUDIO_JACK="$(usex jack)" |
214 |
- -DENABLE_GR_LOG="$(usex log)" |
215 |
- -DENABLE_GR_NOAA="$(usex noaa)" |
216 |
- -DENABLE_GR_AUDIO_OSS="$(usex oss)" |
217 |
- -DENABLE_GR_PAGER="$(usex pager)" |
218 |
- -DENABLE_ENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)" |
219 |
- -DENABLE_GR_AUDIO_PORTAUDIO="$(usex portaudio)" |
220 |
- -DENABLE_TESTING="$(usex test)" |
221 |
- -DENABLE_GR_TRELLIS="$(usex trellis)" |
222 |
- -DENABLE_GR_UHD="$(usex uhd)" |
223 |
- -DENABLE_GR_UTILS="$(usex utils)" |
224 |
- -DENABLE_GR_VOCODER="$(usex vocoder)" |
225 |
- -DENABLE_GR_WAVELET="$(usex wavelet)" |
226 |
- -DENABLE_GR_WXGUI="$(usex wxwidgets)" |
227 |
- -DENABLE_GR_QTGUI="$(usex qt5)" |
228 |
- -DDESIRED_QT_VERSION="$(usex qt5 5)" |
229 |
- -DENABLE_GR_VIDEO_SDL="$(usex sdl)" |
230 |
- -DENABLE_GR_ZEROMQ="$(usex zeromq)" |
231 |
- -DENABLE_GR_CORE=ON |
232 |
- -DSYSCONFDIR="${EPREFIX}"/etc |
233 |
- -DPYTHON_EXECUTABLE="${PYTHON}" |
234 |
- -DGR_PYTHON_DIR="${PYTHON_SITEDIR}" |
235 |
- -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" |
236 |
- ) |
237 |
- use vocoder && mycmakeargs+=( -DGR_USE_SYSTEM_LIBGSM=TRUE ) |
238 |
- cmake-utils_src_configure |
239 |
-} |
240 |
- |
241 |
-src_install() { |
242 |
- cmake-utils_src_install |
243 |
- |
244 |
- if use examples ; then |
245 |
- dodir /usr/share/doc/${PF}/ |
246 |
- mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die |
247 |
- docompress -x /usr/share/doc/${PF}/examples |
248 |
- else |
249 |
- # It seems that the examples are always installed |
250 |
- rm -rf "${ED}"/usr/share/${PN}/examples || die |
251 |
- fi |
252 |
- |
253 |
- if use doc || use examples; then |
254 |
- #this doesn't appear useful |
255 |
- rm -rf "${ED}"/usr/share/doc/${PF}/xml || die |
256 |
- fi |
257 |
- |
258 |
- # We install the mimetypes to the correct locations from the ebuild |
259 |
- rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die |
260 |
- rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die |
261 |
- |
262 |
- # Install icons, menu items and mime-types for GRC |
263 |
- if use grc ; then |
264 |
- local fd_path="${S}/grc/scripts/freedesktop" |
265 |
- insinto /usr/share/mime/packages |
266 |
- doins "${fd_path}/${PN}-grc.xml" |
267 |
- |
268 |
- domenu "${fd_path}/"*.desktop |
269 |
- doicon "${fd_path}/"*.png |
270 |
- fi |
271 |
- |
272 |
- python_fix_shebang "${ED}" |
273 |
-} |
274 |
- |
275 |
-src_test() |
276 |
-{ |
277 |
- ctest -E qtgui |
278 |
-} |
279 |
- |
280 |
-pkg_postinst() |
281 |
-{ |
282 |
- local GRC_ICON_SIZES="32 48 64 128 256" |
283 |
- |
284 |
- if use grc ; then |
285 |
- xdg_desktop_database_update |
286 |
- xdg_mimeinfo_database_update |
287 |
- for size in ${GRC_ICON_SIZES} ; do |
288 |
- xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ |
289 |
- "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ |
290 |
- || die "icon resource installation failed" |
291 |
- xdg-icon-resource install --noupdate --context apps --size ${size} \ |
292 |
- "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" gnuradio-grc \ |
293 |
- || die "icon resource installation failed" |
294 |
- done |
295 |
- xdg-icon-resource forceupdate |
296 |
- fi |
297 |
-} |
298 |
- |
299 |
-pkg_postrm() |
300 |
-{ |
301 |
- local GRC_ICON_SIZES="32 48 64 128 256" |
302 |
- |
303 |
- if use grc ; then |
304 |
- xdg_desktop_database_update |
305 |
- xdg_mimeinfo_database_update |
306 |
- for size in ${GRC_ICON_SIZES} ; do |
307 |
- xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ |
308 |
- application-gnuradio-grc || ewarn "icon uninstall failed" |
309 |
- xdg-icon-resource uninstall --noupdate --context apps --size ${size} \ |
310 |
- gnuradio-grc || ewarn "icon uninstall failed" |
311 |
- |
312 |
- done |
313 |
- xdg-icon-resource forceupdate |
314 |
- fi |
315 |
-} |
316 |
|
317 |
diff --git a/net-wireless/gnuradio/gnuradio-3.7.13.5-r4.ebuild b/net-wireless/gnuradio/gnuradio-3.7.13.5-r4.ebuild |
318 |
deleted file mode 100644 |
319 |
index 4bd0848dbf4..00000000000 |
320 |
--- a/net-wireless/gnuradio/gnuradio-3.7.13.5-r4.ebuild |
321 |
+++ /dev/null |
322 |
@@ -1,281 +0,0 @@ |
323 |
-# Copyright 1999-2020 Gentoo Authors |
324 |
-# Distributed under the terms of the GNU General Public License v2 |
325 |
- |
326 |
-EAPI=6 |
327 |
-PYTHON_COMPAT=( python2_7 ) |
328 |
- |
329 |
-CMAKE_BUILD_TYPE="None" |
330 |
-inherit cmake-utils eutils gnome2-utils python-single-r1 xdg-utils |
331 |
- |
332 |
-DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios" |
333 |
-HOMEPAGE="https://www.gnuradio.org/" |
334 |
-LICENSE="GPL-3" |
335 |
-SLOT="0/${PV}" |
336 |
- |
337 |
-if [[ ${PV} =~ "9999" ]]; then |
338 |
- EGIT_REPO_URI="https://www.gnuradio.org/cgit/gnuradio.git" |
339 |
- inherit git-r3 |
340 |
- KEYWORDS="" |
341 |
-else |
342 |
- SRC_URI="https://github.com/gnuradio/gnuradio/releases/download/v${PV}/${P}.tar.xz |
343 |
- https://dev.gentoo.org/~zerochaos/patches/${PN}-3.7.13-1-qt5.tar.xz |
344 |
- https://dev.gentoo.org/~zerochaos/patches/${PN}-3.7.13-codec2.tar.xz |
345 |
- https://dev.gentoo.org/~fordfrog/distfiles/0002-boost_qualify_placeholders_with_their_full_namespace.patch.bz2" |
346 |
- KEYWORDS="~amd64 ~arm ~x86" |
347 |
-fi |
348 |
-if [[ ${PV} == "3.7.9999" ]]; then |
349 |
- EGIT_BRANCH="maint-3.7" |
350 |
-fi |
351 |
- |
352 |
-IUSE="+audio +alsa atsc +analog +digital channels doc dtv examples fcd fec +filter grc jack log noaa oss pager performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet wxwidgets zeromq" |
353 |
-RESTRICT="!test? ( test )" |
354 |
- |
355 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
356 |
- audio? ( || ( alsa oss jack portaudio ) ) |
357 |
- alsa? ( audio ) |
358 |
- oss? ( audio ) |
359 |
- jack? ( audio ) |
360 |
- portaudio? ( audio ) |
361 |
- analog? ( filter ) |
362 |
- digital? ( filter analog ) |
363 |
- dtv? ( fec ) |
364 |
- pager? ( filter analog ) |
365 |
- qt5? ( filter ) |
366 |
- uhd? ( filter analog ) |
367 |
- fcd? ( || ( alsa oss ) ) |
368 |
- wavelet? ( analog ) |
369 |
- wxwidgets? ( filter analog )" |
370 |
- |
371 |
-# bug #348206 |
372 |
-# comedi? ( >=sci-electronics/comedilib-0.8 ) |
373 |
-# boost-1.52.0 is blacklisted, bug #461578, upstream #513, boost #7669 |
374 |
-RDEPEND="${PYTHON_DEPS} |
375 |
- >=dev-lang/orc-0.4.12 |
376 |
- !<=dev-libs/boost-1.52.0-r6:0/1.52 |
377 |
- sci-libs/fftw:3.0= |
378 |
- alsa? ( |
379 |
- media-libs/alsa-lib:= |
380 |
- ) |
381 |
- fcd? ( virtual/libusb:1 ) |
382 |
- jack? ( |
383 |
- virtual/jack |
384 |
- ) |
385 |
- log? ( dev-libs/log4cpp ) |
386 |
- portaudio? ( |
387 |
- >=media-libs/portaudio-19_pre |
388 |
- ) |
389 |
- sdl? ( >=media-libs/libsdl-1.2.0 ) |
390 |
- uhd? ( >=net-wireless/uhd-3.9.6:=[${PYTHON_SINGLE_USEDEP}] ) |
391 |
- vocoder? ( media-sound/gsm |
392 |
- >=media-libs/codec2-0.8.1 ) |
393 |
- wavelet? ( |
394 |
- >=sci-libs/gsl-1.10 |
395 |
- ) |
396 |
- zeromq? ( >=net-libs/zeromq-2.1.11 ) |
397 |
- $(python_gen_cond_dep ' |
398 |
- dev-libs/boost:0=[python,${PYTHON_MULTI_USEDEP}] |
399 |
- dev-python/mako[${PYTHON_MULTI_USEDEP}] |
400 |
- dev-python/six[${PYTHON_MULTI_USEDEP}] |
401 |
- filter? ( |
402 |
- || ( |
403 |
- dev-python/scipy-python2[${PYTHON_MULTI_USEDEP}] |
404 |
- dev-python/scipy[${PYTHON_MULTI_USEDEP}] |
405 |
- ) |
406 |
- ) |
407 |
- grc? ( |
408 |
- dev-python/cheetah[${PYTHON_MULTI_USEDEP}] |
409 |
- dev-python/lxml[${PYTHON_MULTI_USEDEP}] |
410 |
- >=dev-python/pygtk-2.10:2[${PYTHON_MULTI_USEDEP}] |
411 |
- || ( |
412 |
- dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] |
413 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
414 |
- ) |
415 |
- ) |
416 |
- qt5? ( |
417 |
- dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] |
418 |
- dev-qt/qtcore:5 |
419 |
- dev-qt/qtgui:5 |
420 |
- x11-libs/qwt:6[qt5(+)] |
421 |
- dev-qt/qtwidgets:5 |
422 |
- ) |
423 |
- utils? ( |
424 |
- || ( |
425 |
- dev-python/matplotlib-python2[${PYTHON_MULTI_USEDEP}] |
426 |
- dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] |
427 |
- ) |
428 |
- ) |
429 |
- wxwidgets? ( |
430 |
- dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}] |
431 |
- || ( |
432 |
- dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] |
433 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
434 |
- ) |
435 |
- ) |
436 |
- ') |
437 |
- " |
438 |
- |
439 |
-DEPEND="${RDEPEND} |
440 |
- app-text/docbook-xml-dtd:4.2 |
441 |
- >=dev-lang/swig-3.0.5 |
442 |
- virtual/pkgconfig |
443 |
- $(python_gen_cond_dep ' |
444 |
- dev-python/cheetah[${PYTHON_MULTI_USEDEP}] |
445 |
- doc? ( |
446 |
- >=app-doc/doxygen-1.5.7.1 |
447 |
- dev-python/sphinx[${PYTHON_MULTI_USEDEP}] |
448 |
- ) |
449 |
- ') |
450 |
- grc? ( x11-misc/xdg-utils ) |
451 |
- oss? ( virtual/os-headers ) |
452 |
- test? ( >=dev-util/cppunit-1.9.14 ) |
453 |
- zeromq? ( net-libs/cppzmq ) |
454 |
-" |
455 |
- |
456 |
-src_prepare() { |
457 |
- gnome2_environment_reset #534582 |
458 |
- |
459 |
- if [[ ${PV} == "9999" ]]; then |
460 |
- true |
461 |
- else |
462 |
- epatch "${FILESDIR}"/gnuradio-wxpy3.0-compat.patch |
463 |
- fi |
464 |
- # Useless UI element would require qt3support, bug #365019 |
465 |
- sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die |
466 |
- epatch "${WORKDIR}"/qt5-maint-00*.patch |
467 |
- epatch "${WORKDIR}"/codec2-next-00*.patch |
468 |
- epatch "${FILESDIR}"/${PN}-3.7.13.5-boost-1.70-asio.patch |
469 |
- epatch "${WORKDIR}/0002-boost_qualify_placeholders_with_their_full_namespace.patch" |
470 |
- |
471 |
- use !alsa && sed -i 's#version.h#version-nonexistant.h#' cmake/Modules/FindALSA.cmake |
472 |
- use !jack && sed -i 's#jack.h#jack-nonexistant.h#' cmake/Modules/FindJack.cmake |
473 |
- use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistant.h#' cmake/Modules/FindPortaudio.cmake |
474 |
- |
475 |
- cmake-utils_src_prepare |
476 |
-} |
477 |
- |
478 |
-src_configure() { |
479 |
- #zeromq missing deps isn't fatal |
480 |
- python_export PYTHON_SITEDIR |
481 |
- mycmakeargs=( |
482 |
- -DENABLE_DEFAULT=OFF |
483 |
- -DENABLE_GNURADIO_RUNTIME=ON |
484 |
- -DENABLE_VOLK=ON |
485 |
- -DENABLE_PYTHON=ON |
486 |
- -DENABLE_GR_BLOCKS=ON |
487 |
- -DENABLE_GR_FFT=ON |
488 |
- -DENABLE_GR_AUDIO=ON |
489 |
- -DENABLE_GR_AUDIO_ALSA="$(usex alsa)" |
490 |
- -DENABLE_GR_ANALOG="$(usex analog)" |
491 |
- -DENABLE_GR_ATSC="$(usex atsc)" |
492 |
- -DENABLE_GR_CHANNELS="$(usex channels)" |
493 |
- -DENABLE_GR_DIGITAL="$(usex digital)" |
494 |
- -DENABLE_DOXYGEN="$(usex doc)" |
495 |
- -DENABLE_SPHINX="$(usex doc)" |
496 |
- -DENABLE_GR_DTV="$(usex dtv)" |
497 |
- -DENABLE_GR_FCD="$(usex fcd)" |
498 |
- -DENABLE_GR_FEC="$(usex fec)" |
499 |
- -DENABLE_GR_FILTER="$(usex filter)" |
500 |
- -DENABLE_GRC="$(usex grc)" |
501 |
- -DENABLE_GR_AUDIO_JACK="$(usex jack)" |
502 |
- -DENABLE_GR_LOG="$(usex log)" |
503 |
- -DENABLE_GR_NOAA="$(usex noaa)" |
504 |
- -DENABLE_GR_AUDIO_OSS="$(usex oss)" |
505 |
- -DENABLE_GR_PAGER="$(usex pager)" |
506 |
- -DENABLE_ENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)" |
507 |
- -DENABLE_GR_AUDIO_PORTAUDIO="$(usex portaudio)" |
508 |
- -DENABLE_TESTING="$(usex test)" |
509 |
- -DENABLE_GR_TRELLIS="$(usex trellis)" |
510 |
- -DENABLE_GR_UHD="$(usex uhd)" |
511 |
- -DENABLE_GR_UTILS="$(usex utils)" |
512 |
- -DENABLE_GR_VOCODER="$(usex vocoder)" |
513 |
- -DENABLE_GR_WAVELET="$(usex wavelet)" |
514 |
- -DENABLE_GR_WXGUI="$(usex wxwidgets)" |
515 |
- -DENABLE_GR_QTGUI="$(usex qt5)" |
516 |
- -DDESIRED_QT_VERSION="$(usex qt5 5)" |
517 |
- -DENABLE_GR_VIDEO_SDL="$(usex sdl)" |
518 |
- -DENABLE_GR_ZEROMQ="$(usex zeromq)" |
519 |
- -DENABLE_GR_CORE=ON |
520 |
- -DSYSCONFDIR="${EPREFIX}"/etc |
521 |
- -DPYTHON_EXECUTABLE="${PYTHON}" |
522 |
- -DGR_PYTHON_DIR="${PYTHON_SITEDIR}" |
523 |
- -DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" |
524 |
- ) |
525 |
- use vocoder && mycmakeargs+=( -DGR_USE_SYSTEM_LIBGSM=TRUE ) |
526 |
- cmake-utils_src_configure |
527 |
-} |
528 |
- |
529 |
-src_install() { |
530 |
- cmake-utils_src_install |
531 |
- |
532 |
- if use examples ; then |
533 |
- dodir /usr/share/doc/${PF}/ |
534 |
- mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die |
535 |
- docompress -x /usr/share/doc/${PF}/examples |
536 |
- else |
537 |
- # It seems that the examples are always installed |
538 |
- rm -rf "${ED}"/usr/share/${PN}/examples || die |
539 |
- fi |
540 |
- |
541 |
- if use doc || use examples; then |
542 |
- #this doesn't appear useful |
543 |
- rm -rf "${ED}"/usr/share/doc/${PF}/xml || die |
544 |
- fi |
545 |
- |
546 |
- # We install the mimetypes to the correct locations from the ebuild |
547 |
- rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die |
548 |
- rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die |
549 |
- |
550 |
- # Install icons, menu items and mime-types for GRC |
551 |
- if use grc ; then |
552 |
- local fd_path="${S}/grc/scripts/freedesktop" |
553 |
- insinto /usr/share/mime/packages |
554 |
- doins "${fd_path}/${PN}-grc.xml" |
555 |
- |
556 |
- domenu "${fd_path}/"*.desktop |
557 |
- doicon "${fd_path}/"*.png |
558 |
- fi |
559 |
- |
560 |
- python_fix_shebang "${ED}" |
561 |
-} |
562 |
- |
563 |
-src_test() |
564 |
-{ |
565 |
- ctest -E qtgui |
566 |
-} |
567 |
- |
568 |
-pkg_postinst() |
569 |
-{ |
570 |
- local GRC_ICON_SIZES="32 48 64 128 256" |
571 |
- |
572 |
- if use grc ; then |
573 |
- xdg_desktop_database_update |
574 |
- xdg_mimeinfo_database_update |
575 |
- for size in ${GRC_ICON_SIZES} ; do |
576 |
- xdg-icon-resource install --noupdate --context mimetypes --size ${size} \ |
577 |
- "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" application-gnuradio-grc \ |
578 |
- || die "icon resource installation failed" |
579 |
- xdg-icon-resource install --noupdate --context apps --size ${size} \ |
580 |
- "${EROOT}/usr/share/pixmaps/grc-icon-${size}.png" gnuradio-grc \ |
581 |
- || die "icon resource installation failed" |
582 |
- done |
583 |
- xdg-icon-resource forceupdate |
584 |
- fi |
585 |
-} |
586 |
- |
587 |
-pkg_postrm() |
588 |
-{ |
589 |
- local GRC_ICON_SIZES="32 48 64 128 256" |
590 |
- |
591 |
- if use grc ; then |
592 |
- xdg_desktop_database_update |
593 |
- xdg_mimeinfo_database_update |
594 |
- for size in ${GRC_ICON_SIZES} ; do |
595 |
- xdg-icon-resource uninstall --noupdate --context mimetypes --size ${size} \ |
596 |
- application-gnuradio-grc || ewarn "icon uninstall failed" |
597 |
- xdg-icon-resource uninstall --noupdate --context apps --size ${size} \ |
598 |
- gnuradio-grc || ewarn "icon uninstall failed" |
599 |
- |
600 |
- done |
601 |
- xdg-icon-resource forceupdate |
602 |
- fi |
603 |
-} |
604 |
|
605 |
diff --git a/net-wireless/gnuradio/metadata.xml b/net-wireless/gnuradio/metadata.xml |
606 |
index 5d03b8a37db..f3386a84a9e 100644 |
607 |
--- a/net-wireless/gnuradio/metadata.xml |
608 |
+++ b/net-wireless/gnuradio/metadata.xml |
609 |
@@ -7,19 +7,14 @@ |
610 |
</maintainer> |
611 |
<use> |
612 |
<flag name="analog">enable analog signal processing blocks</flag> |
613 |
- <flag name="atsc">enable ATSC (HDTV) transmitter and receiver blocks</flag> |
614 |
<flag name="audio">enable blocks to connect to audio sources (mic-in) and sinks (speaker-out) ports on a computer</flag> |
615 |
<flag name="channels">enable channel mode blocks</flag> |
616 |
<flag name="digital">enable digital signal processing blocks</flag> |
617 |
<flag name="dtv">enable digital tv signal processing blocks</flag> |
618 |
- <flag name="fcd">enable Funcube Dongle source block</flag> |
619 |
<flag name="fec">enable block for convolutional encoding using the CCSDS standard polynomial ("Voyager")</flag> |
620 |
<flag name="filter">enable filter signal processing blocks</flag> |
621 |
<flag name="grc">enable GNU Radio Companion graphical tool to design signal processing flow graphs</flag> |
622 |
- <flag name="log">enable logging to console and files</flag> |
623 |
<flag name="modtool">enable modtool for editing GNU Radio modules and components</flag> |
624 |
- <flag name="noaa">enable NOAA POES HRPT receiver blocks</flag> |
625 |
- <flag name="pager">enable pager signal processing blocks</flag> |
626 |
<flag name="performance-counters">enable block performance counters</flag> |
627 |
<flag name="trellis">enable trellis blocks for FSM</flag> |
628 |
<flag name="uhd">install UHD source and sink blocks</flag> |