29 lines
912 B
Bash
29 lines
912 B
Bash
# Template file for 'gnuradio-rds'
|
|
pkgname=gnuradio-rds
|
|
version=3.10
|
|
revision=11
|
|
build_style=cmake
|
|
configure_args="-Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11"
|
|
hostmakedepends="pkg-config gnuradio python3"
|
|
makedepends="gnuradio-devel python3-pybind11 boost-devel"
|
|
short_desc="GNUradio FM RDS/TMC Transceiver"
|
|
maintainer="Remi Pommarel <repk@triplefau.lt>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/bastibl/gr-rds"
|
|
distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz"
|
|
checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DPYBIND11_USE_CROSSCOMPILING=ON"
|
|
fi
|
|
|
|
gnuradio-rds-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|