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