summaryrefslogtreecommitdiff
path: root/user/xf86-video-amdgpu/APKBUILD
blob: c8df253059ce17a7e4db12b42054190136adeecd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-amdgpu
pkgver=23.0.0
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.xz"

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="bf26f147629a34e84a0ae8435119e170b9c95edafcab1995b63bb8f55abef32f2efbf4536eb070e64b2ae1460424b1b27a4206cb9836d33ddc6dfbee404f718b  xf86-video-amdgpu-23.0.0.tar.xz"