pmaports/main/kmscube/APKBUILD
Luca Weiss d3d2b8dfdb
main/kmscube: update to new git snapshot (!342)
Upstream also provides the meson build system now, so use it.
2019-05-06 22:21:59 +02:00

27 lines
766 B
Text

pkgname=kmscube
pkgver=0_git20181211
pkgrel=0
pkgdesc="Simple demo for testing kernel modesetting support"
url="https://gitlab.freedesktop.org/mesa/kmscube"
arch="all"
license="MIT"
depends="libdrm"
makedepends="mesa-dev meson"
_commit="572b93d7080f1c089b8c236ad0bc932859e2712d"
source="https://gitlab.freedesktop.org/mesa/kmscube/-/archive/${_commit}/kmscube-${_commit}.tar.gz"
builddir="$srcdir/kmscube-${_commit}"
build(){
cd "$builddir"
meson \
-Dprefix=/usr \
build
ninja -C build
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" ninja install
}
sha512sums="235e00111dbbcf8b333fa118b3aabafb903409019e438e357a8d8e622687f216d67c331a41c19ccc251722d40b7f45321fcd0c1dc8cc8741d70aab2b464bedab kmscube-572b93d7080f1c089b8c236ad0bc932859e2712d.tar.gz"