aboutsummaryrefslogtreecommitdiffstats
path: root/community/xf86-video-ati/APKBUILD
blob: b1a68359f1ee065cdd65df525ee7aa4d312e1305 (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
40
41
42
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ati
pkgver=19.1.0
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/xf86-video-ati-$pkgver.tar.bz2
	gcc-10.patch
	"

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="73a81f6c492daf2e89067fb52b3033dc0fe6841f109627ddca1aee54a45a738c8c134443753a2a2aaa2c131e1d560057ebc76351ff2304c16407df3ff568fcd6  xf86-video-ati-19.1.0.tar.bz2
dc8ca13dd8c47c450f2da5115a2ab175073a0fe85ab8854637a51db4dc34c3de0f84860ae4934c895aebee444b5c5dbf763b10edfff8f8aca0132a245a98c9bd  gcc-10.patch"