gnuradio-osmosdr: update to latest git revision

No release tag since 2020-12-18.

Also clean up makedepends.
This commit is contained in:
Evgeny Ermakov 2022-01-15 17:52:18 +11:00 committed by classabbyamp
parent b4a527fe7f
commit 99a1db2866

View File

@ -1,19 +1,23 @@
# Template file for 'gnuradio-osmosdr'
pkgname=gnuradio-osmosdr
version=0.2.0
revision=4
wrksrc="gr-osmosdr-${version}"
version=0.2.3git20210128
revision=1
_githash=a100eb024c0210b95e4738b6efd836d48225bd03
wrksrc="gr-osmosdr-${_githash}"
build_style=cmake
hostmakedepends="pkg-config swig python3 gnuradio"
makedepends="boost-devel gnuradio-devel libairspy-devel libhackrf-devel
librtlsdr-devel python3-devel uhd-devel log4cpp-devel mpir-devel
SoapySDR-devel volk-devel fftw-devel gmpxx-devel"
configure_args="-Dpybind11_DIR=/${py3_sitelib}/pybind11/share/cmake/pybind11"
hostmakedepends="pkg-config gnuradio python3 python3-pybind11"
makedepends="SoapySDR-devel gnuradio-devel libairspy-devel libhackrf-devel librtlsdr-devel"
short_desc="GNU Radio source block for rtlsdr, hackrf and airspy"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR"
distfiles="https://github.com/osmocom/gr-osmosdr/archive/v${version}.tar.gz"
checksum=9812429d97bc54f0a8917b880ca9e7e2421c66aeaac8ce5608161a8ae7007122
distfiles="https://github.com/osmocom/gr-osmosdr/archive/${_githash}.tar.gz"
checksum=a3cc85dd708d06d234ff4ab7f274a4a49db6427eed1e7e58711a1b61a4fa4de1
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
nocross="pybind11: Python config failure: Python is 64-bit, chosen compiler is 32-bit"
fi
gnuradio-osmosdr-devel_package() {
short_desc+=" - development files"