fossdd 2024-10-16 14:10:14 +02:00 committed by omni
parent 677205a53e
commit 2c98d68d84

View file

@ -12,10 +12,11 @@ options="!check" # no tests
depends_dev="libusb-dev"
makedepends="$depends_dev cmake samurai"
subpackages="$pkgname-dev rtl-sdr:tools $pkgname-doc"
source="$_realpkgname-$pkgver.tar.gz::https://gitea.osmocom.org/sdr/rtl-sdr/archive/v$pkgver.tar.gz
source="$_realpkgname-$pkgver.tar.gz::https://github.com/osmocom/rtl-sdr/archive/refs/tags/v$pkgver.tar.gz
correct_udev_rules_path.patch
"
builddir=$srcdir/$_realpkgname
# use github mirror while it is impossible to download from gitea.osmocom.org
builddir="$srcdir/$_realpkgname-$pkgver"
build() {
cmake -B build -G Ninja \
@ -44,6 +45,6 @@ doc() {
}
sha512sums="
0c03665626e9d0f3b2db94af81e5d6a7e6c1497d76f86a261d6b260d837865686f93382f3d515f9a79e930295a51a748aeb64f59e5c1ddc207ce1c419def00c1 rtl-sdr-2.0.2.tar.gz
20a1630df7d4da5d263c5ffd4d83a7c2a6fc674e3838bf02b2b59c1da8d946dafc48790d410ab2fcbc0362c2ac70e5cdcae9391c5f04803bf2cdddafd6f58483 rtl-sdr-2.0.2.tar.gz
a191efe9ebb55696377ae4199178ba752719cbff5b3ecc8949c0e160a35480fb3bd3061588fe5f81c7a975d52c2071b82ad3b5454011d3f649de7912c9cb368c correct_udev_rules_path.patch
"