blob: 63918f8ba5f3bb54f954b619c5f5dc9e466d2e03 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-openchrome
pkgver=0.3.2
pkgrel=0
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
"
_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="172509a5a7ab5c89ff09501d733cf5f6 xf86-video-openchrome-0.3.2.tar.bz2
d6906087f0e93ea2d98e553f4dfbcc97 openchrome.xinf"
sha256sums="159ccd5f3e0bbedd1f10d406b384790f6c73ed626390cf73b15db68e1344f586 xf86-video-openchrome-0.3.2.tar.bz2
7a7394733cf933d6e442b346d8f1d0ad18b7e126f0ff67e7a01d4af300ef9e06 openchrome.xinf"
sha512sums="69b456457247a9d208c696db3a30bae508f4e1fa743f0ffdb853d6a26156acb35b3ad4f30f3696fd4a9255f7a99d4763017f2d91d9a9c1752721ddd3a7b489de xf86-video-openchrome-0.3.2.tar.bz2
b900999fc678f0efdcb526d2f0e0f141ed8ca9403bd2b9895c96be2f5efc424feb50f1828c54cdaf0d7d9b9e723e834068ce36841fac97a2e5209873e8e711c3 openchrome.xinf"
|