New package: SDRPlusPlus-1.0.4

closes #38200
This commit is contained in:
classabbyamp 2022-07-23 04:22:58 -04:00 committed by classabbyamp
parent e5f33f6a70
commit ee3aa05248
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
# Template file for 'SDRPlusPlus'
pkgname=SDRPlusPlus
version=1.0.4
revision=1
build_style=cmake
configure_args="-DOPT_BUILD_PLUTOSDR_SOURCE=0"
hostmakedepends="pkg-config"
makedepends="fftw-devel glfw-devel volk-devel libzstd-devel glew-devel libusb-devel
librtlsdr-devel SoapySDR-devel libairspy-devel libairspyhf-devel libhackrf-devel
rtaudio-devel alsa-lib-devel pulseaudio-devel jack-devel"
short_desc="Open source SDR software"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-3.0-only"
homepage="https://github.com/AlexandreRouma/SDRPlusPlus"
distfiles="https://github.com/AlexandreRouma/SDRPlusPlus/archive/refs/tags/${version}.tar.gz"
checksum=251256de6725ceb4f9fb2823c7ad825068ad16cf9b5fb894259b173aae5a69ea

View File

@ -14,13 +14,13 @@ checksum=cd1e5ae89e09b813b096ae4a328e352c9432a582e03fd7da86760ba60efa77ab
post_install() {
vlicense LICENSE
vsed -e 's/GROUP="plugdev"/\0, TAG+="uaccess"/' -i tools/52-airspyhf.rules
}
libairspyhf_package() {
short_desc+=" - library"
pkg_install() {
vmove usr/lib/*.so.*
vsed -e 's/GROUP="plugdev"/\0, TAG+="uaccess"/' -i tools/52-airspyhf.rules
vinstall tools/52-airspyhf.rules 644 usr/lib/udev/rules.d/
}
}