diff --git a/srcpkgs/gnuradio-rds/template b/srcpkgs/gnuradio-rds/template index 4da5c54e812..35d19fb82b1 100644 --- a/srcpkgs/gnuradio-rds/template +++ b/srcpkgs/gnuradio-rds/template @@ -1,18 +1,22 @@ # Template file for 'gnuradio-rds' pkgname=gnuradio-rds -version=3.8.0 -revision=3 +version=3.10 +revision=1 wrksrc="gr-rds-${version}" build_style=cmake -hostmakedepends="pkg-config gnuradio swig" -makedepends="gnuradio-devel python3-devel boost-devel log4cpp-devel - gmpxx-devel mpir-devel volk-devel" +configure_args="-Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11" +hostmakedepends="pkg-config gnuradio python3 python3-pybind11" +makedepends="gnuradio-devel" short_desc="GNUradio FM RDS/TMC Transceiver" maintainer="Remi Pommarel " license="GPL-2.0-or-later" -homepage="https://github.com/bastibl/gr-rds/" +homepage="https://github.com/bastibl/gr-rds" distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz" -checksum=39cada996eca9f362fb07548c5f4f7b95c9d138c3859aa7a673a58cc105f563a +checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7 + +if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then + nocross="pybind11: Python config failure: Python is 64-bit, chosen compiler is 32-bit" +fi gnuradio-rds-devel_package() { depends="${makedepends} ${sourcepkg}-${version}_${revision}"