summaryrefslogtreecommitdiff
path: root/user/xf86-video-ati/APKBUILD
blob: 3f867c166f75e4af9e1903b647ba0bca04c2c45f (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-ati
pkgver=19.1.0
pkgrel=0
pkgdesc="ATI video driver for X11"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="MIT"
subpackages="$pkgname-doc"
depends="mesa-dri-ati"
makedepends="eudev-dev libdrm-dev libxi-dev mesa-dev pixman-dev util-macros
	xorg-server-dev"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"

build() {
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-glamor
	make
}

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

sha512sums="73a81f6c492daf2e89067fb52b3033dc0fe6841f109627ddca1aee54a45a738c8c134443753a2a2aaa2c131e1d560057ebc76351ff2304c16407df3ff568fcd6  xf86-video-ati-19.1.0.tar.bz2"