mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-22 14:12:25 +02:00
29 lines
882 B
Plaintext
29 lines
882 B
Plaintext
# Contributor: Zhuowei Zhang <zhuoweizhang@yahoo.com>
|
|
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=kmscube
|
|
pkgver=0_git20220902
|
|
pkgrel=1
|
|
_commit="3bf6ee1a02334386d87cfe356c3bfb0b24e1fed8"
|
|
pkgdesc="Simple demo for testing kernel mode setting support"
|
|
url="https://gitlab.freedesktop.org/mesa/kmscube"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="libdrm-dev libpng-dev mesa-dev meson"
|
|
source="https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$_commit/kmscube-$_commit.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/kmscube-$_commit"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
2ec21e89a0d56ed6c723ef263088b0b76dd76b8566501cc375079ebbde2f0b940d1ac7cb0ea8a35751dcf1bbe0a41e55c5aa9ce56eadeaf32ca3755dfb785115 kmscube-3bf6ee1a02334386d87cfe356c3bfb0b24e1fed8.tar.gz
|
|
"
|