pmaports/main/kmscube/APKBUILD
Danct12 fa6c5413fd
main/kmscube: upgrade to 0_git20200401 (MR 1287)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-06 21:34:04 +07:00

30 lines
923 B
Text

# Maintainer: Zhuowei Zhang <zhuoweizhang@yahoo.com>
pkgname=kmscube
pkgver=0_git20200401
pkgrel=0
_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() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="6aeaeadb19d537b41ec2fd30fda660850b5a1eabe1795140c165144c0b1c7d1165c89e79efd7ea075be0b6db60796206b71c475263d8bb5e6e0d09c1753e61d5 kmscube-4660a7dca6512b6e658759d00cff7d4ad2a2059d.tar.gz"