parent
e5f33f6a70
commit
ee3aa05248
16
srcpkgs/SDRPlusPlus/template
Normal file
16
srcpkgs/SDRPlusPlus/template
Normal 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
|
@ -14,13 +14,13 @@ checksum=cd1e5ae89e09b813b096ae4a328e352c9432a582e03fd7da86760ba60efa77ab
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
vsed -e 's/GROUP="plugdev"/\0, TAG+="uaccess"/' -i tools/52-airspyhf.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
libairspyhf_package() {
|
libairspyhf_package() {
|
||||||
short_desc+=" - library"
|
short_desc+=" - library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/*.so.*
|
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/
|
vinstall tools/52-airspyhf.rules 644 usr/lib/udev/rules.d/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user