# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=xf86-video-qxl pkgver=0.1.4 pkgrel=0 pkgdesc="Xorg X11 qxl video driver" url="http://www.x.org" arch="all" 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"