a85db1dc7b
At the moment we have Contributor: lines on some packages (but not all of them), but often they don't represent the actual contributors to the package very well. E.g. when we added them retroactively to the device packages we only added the initial contributor (which isn't necessarily the person who made most of the work for a device...) The Git history is the most representative source for figuring out who contributed to a package, so there is no reason to duplicate that into the APKBUILD. [skip ci]: way too many packages
30 lines
923 B
Text
30 lines
923 B
Text
# Maintainer: Zhuowei Zhang <zhuoweizhang@yahoo.com>
|
|
pkgname=kmscube
|
|
pkgver=0_git20190918
|
|
pkgrel=1
|
|
_commit="76bb57d539cb43d267e561024c34e031bf351e04"
|
|
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="fe781e64eda7f18e55364872e60756e536a0806b08cc7ccd97c86a0ba123ca7bb974de62c8a73b5c1d5b01a16a1172e6269dcb0e76583ae33874d52c376e0d26 kmscube-76bb57d539cb43d267e561024c34e031bf351e04.tar.gz"
|