# Contributor: Zhuowei Zhang # Maintainer: Luca Weiss pkgname=kmscube pkgver=0_git20220902 pkgrel=0 _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 "