aboutsummaryrefslogtreecommitdiffstats
path: root/community/vidstab/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-06-21 16:38:47 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-21 17:16:15 +0000
commit9e93b8ef8bd2f928b3293afae8af307aab17832b (patch)
treec6fe407c1777ca592b97c63543a6cd1500544f49 /community/vidstab/APKBUILD
parent71c18a0a685670379cdd93d2b4f8382c1800537b (diff)
downloadaports-9e93b8ef8bd2f928b3293afae8af307aab17832b.tar.gz
aports-9e93b8ef8bd2f928b3293afae8af307aab17832b.tar.bz2
aports-9e93b8ef8bd2f928b3293afae8af307aab17832b.tar.xz
community/vidstab: move from testing
Diffstat (limited to 'community/vidstab/APKBUILD')
-rw-r--r--community/vidstab/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/vidstab/APKBUILD b/community/vidstab/APKBUILD
new file mode 100644
index 0000000000..c68d48bf2c
--- /dev/null
+++ b/community/vidstab/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=vidstab
+pkgver=1.1.0
+pkgrel=1
+arch="all"
+url="http://public.hronopik.de/vid.stab/"
+pkgdesc="Video stabilization library"
+license="GPL-2.0-or-later"
+makedepends="cmake"
+source="https://github.com/georgmartius/vid.stab/archive/v$pkgver/vid.stab-v$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/vid.stab-$pkgver"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="e82a4b6dd854b8415952cc0a8bdea06c01ff40a497c8e98177831e29031ec535b9f47cc30d5444c47bfd91871615a1662e3991185e9eb179acf37ea601073cdf vid.stab-v1.1.0.tar.gz"