summaryrefslogtreecommitdiff
path: root/user/xf86-video-amdgpu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-video-amdgpu/APKBUILD')
-rw-r--r--user/xf86-video-amdgpu/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/xf86-video-amdgpu/APKBUILD b/user/xf86-video-amdgpu/APKBUILD
new file mode 100644
index 000000000..0228575e4
--- /dev/null
+++ b/user/xf86-video-amdgpu/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-amdgpu
+pkgver=19.0.1
+pkgrel=0
+pkgdesc="X.Org driver for brand new AMD GPUs"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="eudev-dev libdrm-dev mesa-dev util-macros xorg-server-dev
+ xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/driver/xf86-video-amdgpu-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="dda04e3ccee140354f59e04895cf50cd7dc06a105c40ce35069613c5b5fbe083cab6833fd293d96334f64dde1a0c4af6154d473594a144f37404188ae7f37dd5 xf86-video-amdgpu-19.0.1.tar.bz2"