mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 00:42:07 +01:00
30 lines
773 B
Plaintext
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
|
|
"
|