aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-ati/APKBUILD
blob: 470fb937b52fd223dea6d59ca3596cbfc6fc55f5 (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
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ati
pkgver=19.0.1
pkgrel=0
pkgdesc="ATI video driver"
url="https://xorg.freedesktop.org/wiki/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends="mesa-dri-ati"
makedepends="
	libdrm-dev
	libxi-dev
	mesa-dev
	eudev-dev
	pixman-dev
	xorg-server-dev
	xorgproto
	"
options="!check" # No testsuite
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-glamor \
		LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e04c5395e3a49d81b8f7a4b0e11fe8c9ebd17af056a4eab4541873796dce05b103c93fb185f3a00873010df0655cd7311e6d27e177aeb7345c4c8017bbd1eb17  xf86-video-ati-19.0.1.tar.bz2"