diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 20:00:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 20:00:47 -0500 |
commit | 1af4a672c7df4fe57d9f1568b1e287cf541f4c26 (patch) | |
tree | eac50b491c5e07cde8768ea3e3ac269cbc5f86b7 /user/libdrm/APKBUILD | |
parent | 02730461b1a637092784ca8fede7aed510a673c4 (diff) | |
download | packages-1af4a672c7df4fe57d9f1568b1e287cf541f4c26.tar.gz packages-1af4a672c7df4fe57d9f1568b1e287cf541f4c26.tar.bz2 packages-1af4a672c7df4fe57d9f1568b1e287cf541f4c26.tar.xz packages-1af4a672c7df4fe57d9f1568b1e287cf541f4c26.zip |
user/libdrm: pull in, take, bump, fix
Diffstat (limited to 'user/libdrm/APKBUILD')
-rw-r--r-- | user/libdrm/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/user/libdrm/APKBUILD b/user/libdrm/APKBUILD new file mode 100644 index 000000000..c1e30c1ff --- /dev/null +++ b/user/libdrm/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libdrm +pkgver=2.4.92 +pkgrel=0 +pkgdesc="Userspace interface to kernel DRM services" +url="https://dri.freedesktop.org/" +arch="all" +# Requires a computer with gfx, no X running, build user in 'video' group.. +options="!check" +license="MIT" +depends="" +depends_dev="linux-headers" +makedepends="$depends_dev bash eudev-dev libpciaccess-dev libpthread-stubs + xmlto" +checkdepends="bash cunit-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 + ioctl.patch + " + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-freedreno \ + --enable-udev \ + --disable-valgrind + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9b75584d8957d298125884d490b74c0a641725d17088ba47f3dc2ec9d06519d8387eb464c024ee11712b31b17fb84e1a9a52bd4ebc7c316beb7d2f8711dc9eb2 libdrm-2.4.92.tar.bz2 +af52fef51aaa05a4dd17919371cb9d92a77480402730bf53ba223e54df52f3825be05a7f28e6aef8c904db5ee59fe38a6c15bc6aafa7f8d31a719e80399dd51f ioctl.patch" |