summaryrefslogtreecommitdiff
path: root/net-wireless/gnuradio/gnuradio-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-19 06:30:51 +0000
commitf8bb2d659372d0add11c589dcb006d0b7f8822ae (patch)
tree5d64f4f593db363260360200660abcd8ff00d1c6 /net-wireless/gnuradio/gnuradio-9999.ebuild
parentf57e008aa126ccdca95f7424e4d24a1a83a49682 (diff)
gentoo auto-resync : 19:12:2024 - 06:30:51HEADmaster
Diffstat (limited to 'net-wireless/gnuradio/gnuradio-9999.ebuild')
-rw-r--r--net-wireless/gnuradio/gnuradio-9999.ebuild59
1 files changed, 32 insertions, 27 deletions
diff --git a/net-wireless/gnuradio/gnuradio-9999.ebuild b/net-wireless/gnuradio/gnuradio-9999.ebuild
index d29a3fec6027..b74126965c8a 100644
--- a/net-wireless/gnuradio/gnuradio-9999.ebuild
+++ b/net-wireless/gnuradio/gnuradio-9999.ebuild
@@ -23,7 +23,10 @@ fi
IUSE="+audio +alsa +analog +digital channels ctrlport doc dtv examples fec +filter grc iio jack modtool network oss performance-counters portaudio +qt5 sdl soapy test trellis uhd vocoder +utils wavelet zeromq"
-RESTRICT="!test? ( test )"
+#RESTRICT="!test? ( test )"
+# Tests are pulling in the installed python libs and breaking
+# https://github.com/gnuradio/gnuradio/issues/7568
+RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
alsa? ( audio )
@@ -149,33 +152,33 @@ src_configure() {
-DENABLE_GNURADIO_RUNTIME=ON
-DENABLE_PYTHON=ON
-DENABLE_GR_BLOCKS=ON
- -DENABLE_GR_ANALOG="$(usex analog)"
+ -DENABLE_GR_ANALOG="$(usex analog ON OFF)"
-DENABLE_GR_AUDIO=ON
- -DENABLE_GR_CHANNELS="$(usex channels)"
- -DENABLE_GR_CTRLPORT="$(usex ctrlport)"
- -DENABLE_GR_DIGITAL="$(usex digital)"
- -DENABLE_DOXYGEN="$(usex doc)"
- -DENABLE_GR_DTV="$(usex dtv)"
- -DENABLE_GR_FEC="$(usex fec)"
+ -DENABLE_GR_CHANNELS="$(usex channels ON OFF)"
+ -DENABLE_GR_CTRLPORT="$(usex ctrlport ON OFF)"
+ -DENABLE_GR_DIGITAL="$(usex digital ON OFF)"
+ -DENABLE_DOXYGEN="$(usex doc ON OFF)"
+ -DENABLE_GR_DTV="$(usex dtv ON OFF)"
+ -DENABLE_GR_FEC="$(usex fec ON OFF)"
-DENABLE_GR_FFT=ON
- -DENABLE_GR_FILTER="$(usex filter)"
- -DENABLE_GRC="$(usex grc)"
- -DENABLE_GR_IIO="$(usex iio)"
- -DENABLE_GR_MODTOOL="$(usex modtool)"
- -DENABLE_GR_BLOCKTOOL="$(usex modtool)"
- -DENABLE_GR_NETWORK="$(usex network)"
+ -DENABLE_GR_FILTER="$(usex filter ON OFF)"
+ -DENABLE_GRC="$(usex grc ON OFF)"
+ -DENABLE_GR_IIO="$(usex iio ON OFF)"
+ -DENABLE_GR_MODTOOL="$(usex modtool ON OFF)"
+ -DENABLE_GR_BLOCKTOOL="$(usex modtool ON OFF)"
+ -DENABLE_GR_NETWORK="$(usex network ON OFF)"
-DENABLE_GR_PDU=ON
- -DENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)"
- -DENABLE_TESTING="$(usex test)"
- -DENABLE_GR_QTGUI="$(usex qt5)"
- -DENABLE_GR_SOAPY="$(usex soapy)"
- -DENABLE_GR_TRELLIS="$(usex trellis)"
- -DENABLE_GR_UHD="$(usex uhd)"
- -DENABLE_GR_UTILS="$(usex utils)"
- -DENABLE_GR_VIDEO_SDL="$(usex sdl)"
- -DENABLE_GR_VOCODER="$(usex vocoder)"
- -DENABLE_GR_WAVELET="$(usex wavelet)"
- -DENABLE_GR_ZEROMQ="$(usex zeromq)"
+ -DENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters ON OFF)"
+ -DENABLE_TESTING="$(usex test ON OFF)"
+ -DENABLE_GR_QTGUI="$(usex qt5 ON OFF)"
+ -DENABLE_GR_SOAPY="$(usex soapy ON OFF)"
+ -DENABLE_GR_TRELLIS="$(usex trellis ON OFF)"
+ -DENABLE_GR_UHD="$(usex uhd ON OFF)"
+ -DENABLE_GR_UTILS="$(usex utils ON OFF)"
+ -DENABLE_GR_VIDEO_SDL="$(usex sdl ON OFF)"
+ -DENABLE_GR_VOCODER="$(usex vocoder ON OFF)"
+ -DENABLE_GR_WAVELET="$(usex wavelet ON OFF)"
+ -DENABLE_GR_ZEROMQ="$(usex zeromq ON OFF)"
-DSYSCONFDIR="${EPREFIX}"/etc
-DPYTHON_EXECUTABLE="${PYTHON}"
-DGR_PYTHON_DIR="$(python_get_sitedir)"
@@ -225,8 +228,10 @@ src_install() {
}
src_test() {
- # skip test which needs internet
- virtx cmake_src_test -E metainfo_test --output-on-failure
+ # skip test which needs internet (metainfo_test)
+ # skip test which is currently broken (qa_correlate_access_code_XX_ts)
+ # https://github.com/gnuradio/gnuradio/issues/7566
+ virtx cmake_src_test -E 'metainfo_test|qa_correlate_access_code_XX_ts' --output-on-failure
}
pkg_postinst() {