aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-qxl/APKBUILD
blob: e009f4e70bfb1af69b41ea4203a054553389f011 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-qxl
pkgver=0.1.4
pkgrel=1
pkgdesc="Xorg X11 qxl video driver"
url="http://www.x.org"
arch="x86 x86_64"
license="MIT"
depends=
makedepends="xorg-server-dev spice-dev xorg-server xproto fontsproto
	randrproto renderproto videoproto xf86dgaproto"
install=""
source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2"

_builddir="$srcdir"/xf86-video-qxl-$pkgver
prepare() {
	local i
	cd "$_builddir"
	update_config_sub
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="41e234f38fe8045eef7ade83c34f6dd4  xf86-video-qxl-0.1.4.tar.bz2"
sha256sums="e57ad22f0b1daf8979e722be0cc38d351bfcc2e41568edc566d2bade5a621105  xf86-video-qxl-0.1.4.tar.bz2"
sha512sums="6ce518bb3ee9fce6066b492351c25a4a429edf7eff4ecbe9dc49fe5ee1f1d68586761624d2601f4bb6c4f4ddf7996f2fc8024707501b0de76ab6932bfe82c51d  xf86-video-qxl-0.1.4.tar.bz2"