5 |
5 |
PYTHON_COMPAT=( python3_{9..11} )
|
6 |
6 |
|
7 |
7 |
CMAKE_BUILD_TYPE="None"
|
8 |
|
inherit cmake python-single-r1 virtualx xdg-utils
|
|
8 |
inherit cmake desktop python-single-r1 virtualx xdg-utils
|
9 |
9 |
|
10 |
10 |
DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios"
|
11 |
11 |
HOMEPAGE="https://www.gnuradio.org/"
|
... | ... | |
119 |
119 |
DEPEND="${RDEPEND}
|
120 |
120 |
app-text/docbook-xml-dtd:4.2
|
121 |
121 |
$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
|
122 |
|
$(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]')
|
123 |
122 |
virtual/pkgconfig
|
124 |
123 |
doc? (
|
125 |
124 |
>=app-doc/doxygen-1.5.7.1
|
126 |
125 |
<dev-libs/mathjax-3
|
127 |
126 |
)
|
128 |
127 |
grc? ( x11-misc/xdg-utils )
|
|
128 |
modtool? ( $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') )
|
129 |
129 |
oss? ( virtual/os-headers )
|
130 |
130 |
test? ( >=dev-util/cppunit-1.9.14 )
|
131 |
131 |
zeromq? ( net-libs/cppzmq )
|
... | ... | |
133 |
133 |
|
134 |
134 |
PATCHES=(
|
135 |
135 |
"${FILESDIR}/${PN}-3.10.3.0-fix-fmt-v9.patch" #858659
|
136 |
|
"${FILESDIR}/${PN}-3.10.4.0-fix-blockinterleaving.patch"
|
137 |
136 |
"${FILESDIR}/${PN}-3.10.6.0-fix-stdint.patch"
|
138 |
137 |
)
|
139 |
138 |
|
... | ... | |
212 |
211 |
rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die
|
213 |
212 |
|
214 |
213 |
# Install icons, menu items and mime-types for GRC
|
215 |
|
#if use grc ; then
|
216 |
|
# local fd_path="${S}/grc/scripts/freedesktop"
|
217 |
|
# insinto /usr/share/mime/packages
|
218 |
|
# doins "${fd_path}/${PN}-grc.xml"
|
219 |
|
|
220 |
|
# domenu "${fd_path}/"*.desktop
|
221 |
|
# doicon "${fd_path}/"*.png
|
222 |
|
#fi
|
|
214 |
if use grc ; then
|
|
215 |
local fd_path="${S}/grc/scripts/freedesktop"
|
|
216 |
insinto /usr/share/mime/packages
|
|
217 |
doins "${fd_path}/${PN}-grc.xml"
|
|
218 |
|
|
219 |
domenu "${fd_path}/${PN}-grc.desktop"
|
|
220 |
for size in 16 24 32 48 64 128 256; do
|
|
221 |
newicon -s $size "${fd_path}/"grc-icon-$size.png ${PN}-grc.png
|
|
222 |
done
|
|
223 |
fi
|
223 |
224 |
|
224 |
225 |
python_fix_shebang "${ED}"
|
225 |
226 |
# Remove incorrectly byte-compiled Python files and replace
|