main/kmscube: upgrade to 0_git20190918 (!720)

Makes kmscube working on lima devices without additional
command line parameters.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
lambdadroid 2019-11-04 20:44:30 +01:00 committed by Oliver Smith
parent 68821d2cb2
commit 160c0d9cfb
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,27 +1,29 @@
pkgname=kmscube pkgname=kmscube
pkgver=0_git20181211 pkgver=0_git20190918
pkgrel=0 pkgrel=0
pkgdesc="Simple demo for testing kernel modesetting support" pkgdesc="Simple demo for testing kernel mode setting support"
url="https://gitlab.freedesktop.org/mesa/kmscube" url="https://gitlab.freedesktop.org/mesa/kmscube"
arch="all" arch="all"
license="MIT" license="MIT"
depends="libdrm" makedepends="libdrm-dev libpng-dev mesa-dev meson"
makedepends="mesa-dev meson" _commit="76bb57d539cb43d267e561024c34e031bf351e04"
_commit="572b93d7080f1c089b8c236ad0bc932859e2712d"
source="https://gitlab.freedesktop.org/mesa/kmscube/-/archive/${_commit}/kmscube-${_commit}.tar.gz" source="https://gitlab.freedesktop.org/mesa/kmscube/-/archive/${_commit}/kmscube-${_commit}.tar.gz"
options="!check" # No tests
builddir="$srcdir/kmscube-${_commit}" builddir="$srcdir/kmscube-${_commit}"
build(){ build() {
cd "$builddir"
meson \ meson \
-Dprefix=/usr \ --prefix=/usr \
build --sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. build
ninja -C build ninja -C build
} }
package() { package() {
cd "$builddir"/build DESTDIR="$pkgdir" ninja -C build install
DESTDIR="$pkgdir" ninja install
} }
sha512sums="235e00111dbbcf8b333fa118b3aabafb903409019e438e357a8d8e622687f216d67c331a41c19ccc251722d40b7f45321fcd0c1dc8cc8741d70aab2b464bedab kmscube-572b93d7080f1c089b8c236ad0bc932859e2712d.tar.gz" sha512sums="fe781e64eda7f18e55364872e60756e536a0806b08cc7ccd97c86a0ba123ca7bb974de62c8a73b5c1d5b01a16a1172e6269dcb0e76583ae33874d52c376e0d26 kmscube-76bb57d539cb43d267e561024c34e031bf351e04.tar.gz"