aports/testing/gr-satellites/APKBUILD

39 lines
1.1 KiB
Text

# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=gr-satellites
pkgver=5.5.0
pkgrel=4
pkgdesc="satellite decoder blocks for GNURadio"
url="https://github.com/daniestevez/gr-satellites"
# gnuradio
arch="aarch64 armv7 x86_64"
license="GPL-3.0-or-later"
depends="python3 py3-requests py3-construct"
makedepends="
cmake
fmt-dev
gnuradio-dev
samurai
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/daniestevez/gr-satellites/archive/v$pkgver/gr-satellites-v$pkgver.tar.gz
no-zip-man.patch
"
options="!check" # no integrated tests
build() {
cmake -B build -G Ninja -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8006cd7418e51b98079fd27716117d647c71d1c178e3d7de3aae900a479cb4669018721bb721bb37f23ea2cd8e416aed615db6d3b6e3adc13bc25d2147591c34 gr-satellites-v5.5.0.tar.gz
344ec6352da59e95492f70e389c9317c6e5700bb4cf05f4574aca841fa3660e6c00586124493a9822b1c47d4c28f0b59be2c9bc3ad1d6fc8790d764a3af04da1 no-zip-man.patch
"