blob: 91d50242362a54a84bcbff049e4dc56d2d815666 (
plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-openchrome
pkgver=0.3.1
pkgrel=4
pkgdesc="X.Org driver for VIA/S3G cards"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig xorg-server-dev libxi-dev libxvmc-dev fontsproto glproto
randrproto videoproto renderproto xf86driproto mesa-dev
"
source="http://www.openchrome.org/releases/xf86-video-openchrome-$pkgver.tar.bz2
openchrome.xinf
mibackingstore.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm644 "$srcdir"/openchrome.xinf \
"$pkgdir"/usr/share/hwdata/videoaliases/openchrome.xinf
}
md5sums="4f488b7bd4d34d17d5cbcdc0fe8e659d xf86-video-openchrome-0.3.1.tar.bz2
d6906087f0e93ea2d98e553f4dfbcc97 openchrome.xinf
6a76cbd662f8aaf21be06f3ea03b21d9 mibackingstore.patch"
sha256sums="eb459a86e20fa090577315a0d9964bf3f94abc5241c5408453f326eaf8915ce7 xf86-video-openchrome-0.3.1.tar.bz2
7a7394733cf933d6e442b346d8f1d0ad18b7e126f0ff67e7a01d4af300ef9e06 openchrome.xinf
29c58712d04d5a9efd4179d3ca8ae695636b5b3d298c4632ce570d84f19e3c7e mibackingstore.patch"
sha512sums="3ac8a425a183b8e89e3997733a27a1153efd6491d83e51c5829c9cd1a6e41d9d82a7530291c2f358d7e50c1b26ff11d248089b825c2339fe7d36fe4c0cf4fe20 xf86-video-openchrome-0.3.1.tar.bz2
b900999fc678f0efdcb526d2f0e0f141ed8ca9403bd2b9895c96be2f5efc424feb50f1828c54cdaf0d7d9b9e723e834068ce36841fac97a2e5209873e8e711c3 openchrome.xinf
2a031ca3877a2531595638eb2fcfc412ca9f553a57549c108f8f1456445c047ad911965dd2a4dbe045e47e09124ecdce904fa08be0a9dcd413719480f6d1d453 mibackingstore.patch"
|