Michał Polański 4f2bb2b963 testing/libliftoff: new aport
Lightweight KMS plane library
https://github.com/emersion/libliftoff
2021-07-01 22:30:20 +02:00

30 lines
773 B
Plaintext

# 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
"