blob: 341b73d26345719d55f05537e94708b17db63033 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-xgixp
pkgver=1.8.1
pkgrel=11
pkgdesc="X.org XGIXP video driver"
url="https://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="xorg-server-dev libdrm-dev mesa-dev util-macros xorgproto"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
git-fixes.patch"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
update_config_sub
default_prepare
}
build() {
cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="ab45909e4b48cc9dfa3daf5d2cb50dff6ad7d841fe1dc75ea699a7c555d70a6f565d97b7c68f4c58da16ad022b973892e229f8d0f4059c8712cf513c1ec10f84 xf86-video-xgixp-1.8.1.tar.bz2
c3a5f629655dba04af14db2006fdc82eb4ba406082eb830903e79bc4ac8f269ed096b11a0b91d0a789bff3bdda0ac4789ad76e4a8f568ef24a01d9cbc5c34745 git-fixes.patch"
|