mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gnuradio-rds: fix build when XBPS_WORDSIZE != XBPS_TARGET_WORDSIZE
This commit is contained in:
parent
9694d0a10c
commit
44aae8cffa
1 changed files with 4 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'gnuradio-rds'
|
# Template file for 'gnuradio-rds'
|
||||||
pkgname=gnuradio-rds
|
pkgname=gnuradio-rds
|
||||||
version=3.10
|
version=3.10
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="gr-rds-${version}"
|
wrksrc="gr-rds-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11"
|
configure_args="-Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11"
|
||||||
hostmakedepends="pkg-config gnuradio python3 python3-pybind11"
|
hostmakedepends="pkg-config gnuradio python3"
|
||||||
makedepends="gnuradio-devel"
|
makedepends="gnuradio-devel python3-pybind11"
|
||||||
short_desc="GNUradio FM RDS/TMC Transceiver"
|
short_desc="GNUradio FM RDS/TMC Transceiver"
|
||||||
maintainer="Remi Pommarel <repk@triplefau.lt>"
|
maintainer="Remi Pommarel <repk@triplefau.lt>"
|
||||||
license="GPL-2.0-or-later"
|
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"
|
distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz"
|
||||||
checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7
|
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() {
|
gnuradio-rds-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue