librtlsdr: update to 2.0.2.

This commit is contained in:
jbaggs 2024-05-18 02:31:48 -07:00 committed by classabbyamp
parent 97ae2bebb3
commit 6d71ed0573
1 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'librtlsdr'
pkgname=librtlsdr
version=0.6.0
version=2.0.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
@ -9,8 +9,13 @@ short_desc="Turns your Realtek RTL2832 based DVB dongle into a SDR receiver"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://osmocom.org/projects/rtl-sdr/wiki"
distfiles="https://github.com/steve-m/${pkgname}/archive/${version}.tar.gz"
checksum=80a5155f3505bca8f1b808f8414d7dcd7c459b662a1cde84d3a2629a6e72ae55
distfiles="https://github.com/steve-m/librtlsdr/archive/v${version}.tar.gz"
checksum=f407de0b6dce19e81694814e363e8890b6ab2c287c8d64c27a03023e5702fb42
post_install() {
vinstall rtl-sdr.rules 644 usr/lib/udev/rules.d 53-rtl-sdr.rules
}
librtlsdr-devel_package() {
short_desc+=" - development files"
@ -18,6 +23,7 @@ librtlsdr-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
@ -29,7 +35,3 @@ rtl-sdr_package() {
vmove usr/bin
}
}
post_install() {
vinstall rtl-sdr.rules 644 usr/lib/udev/rules.d 53-rtl-sdr.rules
}