blob: d0c440f3055b5d06d33b5f67b1e3d66f046d1009 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-openchrome
pkgver=0.4.0
pkgrel=0
pkgdesc="X.Org driver for VIA/S3G cards"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libxi-dev libxvmc-dev fontsproto glproto
randrproto videoproto renderproto xf86driproto mesa-dev
"
source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-openchrome-$pkgver.tar.bz2
openchrome.xinf
"
_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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm644 "$srcdir"/openchrome.xinf \
"$pkgdir"/usr/share/hwdata/videoaliases/openchrome.xinf
}
md5sums="eff2ca08a530c67144531466500af8cb xf86-video-openchrome-0.4.0.tar.bz2
d6906087f0e93ea2d98e553f4dfbcc97 openchrome.xinf"
sha256sums="73e7966d01d0d644d3b9204e8bfc106cb99069c58e981626e7352f2693e3e927 xf86-video-openchrome-0.4.0.tar.bz2
7a7394733cf933d6e442b346d8f1d0ad18b7e126f0ff67e7a01d4af300ef9e06 openchrome.xinf"
sha512sums="64408abfd759b4ba1a2bf1714345f9b1f806127f66af8b746bd58753fc10b631a7695a68351e42fa514ef4e87e2b3e564884abd758e32b2d1253b66e05e40ac8 xf86-video-openchrome-0.4.0.tar.bz2
b900999fc678f0efdcb526d2f0e0f141ed8ca9403bd2b9895c96be2f5efc424feb50f1828c54cdaf0d7d9b9e723e834068ce36841fac97a2e5209873e8e711c3 openchrome.xinf"
|