24 lines
837 B
Text
24 lines
837 B
Text
# Maintainer: Zhuowei Zhang <zhuoweizhang@yahoo.com>
|
|
pkgname=kmscube
|
|
pkgver=0_git20200401
|
|
pkgrel=1
|
|
_commit="4660a7dca6512b6e658759d00cff7d4ad2a2059d"
|
|
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 ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C output
|
|
}
|
|
|
|
sha512sums="6aeaeadb19d537b41ec2fd30fda660850b5a1eabe1795140c165144c0b1c7d1165c89e79efd7ea075be0b6db60796206b71c475263d8bb5e6e0d09c1753e61d5 kmscube-4660a7dca6512b6e658759d00cff7d4ad2a2059d.tar.gz"
|