pmaports/main/kmscube/APKBUILD

25 lines
837 B
Text
Raw Normal View History

# Maintainer: Zhuowei Zhang <zhuoweizhang@yahoo.com>
pkgname=kmscube
pkgver=0_git20200401
2020-09-04 18:30:59 +00:00
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() {
2020-09-04 18:30:59 +00:00
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
2020-09-04 18:30:59 +00:00
DESTDIR="$pkgdir" meson install -C output
}
sha512sums="6aeaeadb19d537b41ec2fd30fda660850b5a1eabe1795140c165144c0b1c7d1165c89e79efd7ea075be0b6db60796206b71c475263d8bb5e6e0d09c1753e61d5 kmscube-4660a7dca6512b6e658759d00cff7d4ad2a2059d.tar.gz"