aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2021-07-01 22:30:20 +0200
committerMichał Polański <michal@polanski.me>2021-07-01 22:30:20 +0200
commit4f2bb2b96337e4886387ce6664a3b81d6d52377e (patch)
tree425691865b1a9d4596e211be615551d484628171
parente0610b5eff44de1998f522a79e7ea205318230dc (diff)
downloadaports-4f2bb2b96337e4886387ce6664a3b81d6d52377e.tar.gz
aports-4f2bb2b96337e4886387ce6664a3b81d6d52377e.tar.bz2
aports-4f2bb2b96337e4886387ce6664a3b81d6d52377e.tar.xz
testing/libliftoff: new aport
Lightweight KMS plane library https://github.com/emersion/libliftoff
-rw-r--r--testing/libliftoff/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libliftoff/APKBUILD b/testing/libliftoff/APKBUILD
new file mode 100644
index 0000000000..175b064eae
--- /dev/null
+++ b/testing/libliftoff/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Michał Polański <michal@polanski.me>
+# Maintainer: Michał Polański <michal@polanski.me>
+pkgname=libliftoff
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Lightweight KMS plane library"
+url="https://github.com/emersion/libliftoff"
+license="MIT"
+arch="all"
+makedepends="meson libdrm-dev"
+subpackages="$pkgname-dev"
+source="https://github.com/emersion/libliftoff/archive/v$pkgver/libliftoff-$pkgver.tar.gz"
+
+build() {
+ abuild-meson . build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
+}
+
+check() {
+ meson test --no-rebuild -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C build
+}
+
+sha512sums="
+bd77e49bfb3b5a4e9b145c8f294b51fd287d82e0f8107f03f4cfe12e5694e35cee43c42e2919607d59f40bad4c5db22e8ef0238084e9b2ad96933f73e157f008 libliftoff-0.1.0.tar.gz
+"