From 44aae8cffa6074d620c015899eda5c3ea896d788 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 4 Sep 2022 12:33:14 -0400 Subject: [PATCH] gnuradio-rds: fix build when XBPS_WORDSIZE != XBPS_TARGET_WORDSIZE --- srcpkgs/gnuradio-rds/template | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/srcpkgs/gnuradio-rds/template b/srcpkgs/gnuradio-rds/template index e9e865151f7..45e91fe3463 100644 --- a/srcpkgs/gnuradio-rds/template +++ b/srcpkgs/gnuradio-rds/template @@ -1,12 +1,12 @@ # Template file for 'gnuradio-rds' pkgname=gnuradio-rds version=3.10 -revision=2 +revision=3 wrksrc="gr-rds-${version}" build_style=cmake -configure_args="-Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11" -hostmakedepends="pkg-config gnuradio python3 python3-pybind11" -makedepends="gnuradio-devel" +configure_args="-Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11" +hostmakedepends="pkg-config gnuradio python3" +makedepends="gnuradio-devel python3-pybind11" short_desc="GNUradio FM RDS/TMC Transceiver" maintainer="Remi Pommarel " license="GPL-2.0-or-later" @@ -14,10 +14,6 @@ homepage="https://github.com/bastibl/gr-rds" distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz" 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}" short_desc+=" - development files"