summaryrefslogtreecommitdiff
path: root/user/xf86-video-r128/APKBUILD
blob: 80d5a69225b90bd756df422e6a00fcaafc7bd14c (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xf86-video-r128
pkgver=6.12.1
pkgrel=0
pkgdesc="ATi Rage 128 video driver for X11"
url="https://www.X.Org/"
arch="all"
license="X11 AND MIT"
depends=""
makedepends="util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-video-r128-$pkgver.tar.xz
	0001-Fix-output-detection-on-non-x86-and-allow-override.patch
	0002-Only-try-to-init-XAA-when-XAA-is-available.patch
	0003-Disable-Int10-support-on-all-non-x86-arches.patch
	"

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="18b2408fe68161c32f84c7147717f8e6c6377e81e9d59e2f098843c54cd0ae757aab5059568da8c71ef38100807d56ee22447417c236c1b3deea292bb676e700  xf86-video-r128-6.12.1.tar.xz
2b4e4769ef05a2daa552a15adc92ba2b8fc3417e6e43111715ea0c8b0c7a77a97e94b858f3062cf71a73beed0a6f487e765b505e96b7636d881dc10afe4eba5e  0001-Fix-output-detection-on-non-x86-and-allow-override.patch
490f598f268d3ab3c19deed1f1f1d64a5f4c628cb8fb0f15448942480f13517ad7a3eeabcc9fcb3a98e9988aef96870c44ec4d96743fd742050971387e11cb67  0002-Only-try-to-init-XAA-when-XAA-is-available.patch
f5871aa1cf8231bd8c983cb78c0602991facef4be04aa12d3f08258cf40c9e1087c55f275efb4e27dc934e55b40805a18acfcc8454ab97dd75adaeb5a09917b9  0003-Disable-Int10-support-on-all-non-x86-arches.patch"