diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2024-08-27 16:49:15 -0700 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2024-08-27 21:22:34 -0700 |
commit | bd3515d29e6f833fcf9c42d4750aadde0533d098 (patch) | |
tree | 590d54f3799fa99c26ea909cd79d01b10e9b597e | |
parent | 981725a97bb3a5096bdcedfca73104f7bfa0c622 (diff) | |
download | packages-bd3515d29e6f833fcf9c42d4750aadde0533d098.tar.gz packages-bd3515d29e6f833fcf9c42d4750aadde0533d098.tar.bz2 packages-bd3515d29e6f833fcf9c42d4750aadde0533d098.tar.xz packages-bd3515d29e6f833fcf9c42d4750aadde0533d098.zip |
user/libliftoff: new package
-rw-r--r-- | user/libliftoff/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libliftoff/APKBUILD b/user/libliftoff/APKBUILD new file mode 100644 index 000000000..f20afd85f --- /dev/null +++ b/user/libliftoff/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libliftoff +pkgver=0.5.0 +pkgrel=0 +pkgdesc="A lightweight KMS plane library" +url="https://gitlab.freedesktop.org/emersion/libliftoff" +arch="all" +license="MIT" +depends="" +makedepends="meson libdrm-dev" +subpackages="$pkgname-dev" +source="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v$pkgver/downloads/libliftoff-$pkgver.tar.gz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="ce808f6a087f1f629cfebef95bfc7e216a09fb409b96b3c9f6b84d9d986ce50c5d7bf5b45c68e8baa99566b3627d754c269855b6f4ec3be63ae7b9f5109d5f08 libliftoff-0.5.0.tar.gz" |