gnuradio-nrsc5: add gmpxx-devel to makedepends

Also fix cross building the patched fdkaac lib.
This commit is contained in:
Jürgen Buchmüller 2020-07-26 15:40:04 +02:00
parent b452d89199
commit 5da4258f70

View file

@ -4,9 +4,9 @@ version=1.0.0
revision=3
wrksrc="gr-nrsc5-${version}"
build_style=cmake
hostmakedepends="git autoconf automake libtool swig pkg-config"
hostmakedepends="git automake libtool pkg-config gnuradio swig"
makedepends="gnuradio-devel boost-devel libcppunit-devel python3-devel
log4cpp-devel mpir-devel gsl-devel volk-devel"
log4cpp-devel gmpxx-devel mpir-devel gsl-devel volk-devel"
short_desc="GNU Radio implementation of HD Radio"
maintainer="Remi Pommarel <repk@triplefau.lt>"
license="GPL-3.0-or-later"
@ -14,6 +14,13 @@ homepage="https://github.com/argilo/gr-nrsc5/"
distfiles="https://github.com/argilo/gr-nrsc5/archive/v${version}.tar.gz"
checksum=d736c4cb1104254d07296d2a61880e07149c9bfd1a49aed504215672d4e09485
pre_configure() {
if [ "$CROSS_BUILD" ]; then
vsed -i CMakeLists.txt \
-e "s;\./configure ;& --host=${XBPS_MACHINE} ;"
fi
}
gnuradio-nrsc5-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"