aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSodface <sod@sodface.com>2022-06-22 07:38:14 -0400
committerMichał Polański <michal@polanski.me>2022-06-23 21:42:49 +0200
commit8f7a6c284600d82b513c21e13aef14ead97c2a51 (patch)
tree7e32b0565b0250e8bd4a25f72f7ce2188222546e
parentd29073530b29dca914987e70da2deea6b4dd4f17 (diff)
downloadaports-8f7a6c284600d82b513c21e13aef14ead97c2a51.tar.gz
aports-8f7a6c284600d82b513c21e13aef14ead97c2a51.tar.bz2
aports-8f7a6c284600d82b513c21e13aef14ead97c2a51.tar.xz
testing/signal-estimator: new aport
Measure characteristics of a looped back signal https://github.com/gavv/signal-estimator
-rw-r--r--testing/signal-estimator/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/signal-estimator/APKBUILD b/testing/signal-estimator/APKBUILD
new file mode 100644
index 0000000000..83548bbbee
--- /dev/null
+++ b/testing/signal-estimator/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Sodface <sod@sodface.com>
+# Maintainer: Sodface <sod@sodface.com>
+pkgname=signal-estimator
+pkgver=0.0.4_git20220623
+_commit=0bd6830b2f170dad78d06be556280026ca9b0cef
+pkgrel=0
+pkgdesc="Measure characteristics of a looped back signal"
+url="https://github.com/gavv/signal-estimator"
+arch="all"
+license="MIT"
+options="!check" # no test suite
+makedepends="
+ alsa-lib-dev
+ cmake
+ cxxopts-dev
+ qt5-qtbase-dev
+ qwt-dev
+ samurai
+ "
+subpackages="$pkgname-gui"
+source="$pkgname-$_commit.tar.gz::https://github.com/gavv/signal-estimator/archive/$_commit/signal-estimator-$_commit.tar.gz"
+builddir="$srcdir/signal-estimator-$_commit"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+gui() {
+ pkgdesc="$pkgdesc (GUI)"
+ amove usr/bin/signal-estimator-gui
+}
+
+sha512sums="
+dfa4bea6c0d9217a9c49e6a77666d2e52974a1bad6f04fa47bc7e2254a5a465bec27d6ac6a4b62a16e58bd60ecbfcecaf6ae4b1e7c1d663bcf8a337fd6a31afe signal-estimator-0bd6830b2f170dad78d06be556280026ca9b0cef.tar.gz
+"