# Template file for 'gnuradio-rds'
pkgname=gnuradio-rds
version=3.8.0
revision=3
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"
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=39cada996eca9f362fb07548c5f4f7b95c9d138c3859aa7a673a58cc105f563a

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"
	}
}
