summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-qxl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xf86-video-qxl/PKGBUILD')
-rw-r--r--pcr/xf86-video-qxl/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/xf86-video-qxl/PKGBUILD b/pcr/xf86-video-qxl/PKGBUILD
new file mode 100644
index 000000000..2ad0842ca
--- /dev/null
+++ b/pcr/xf86-video-qxl/PKGBUILD
@@ -0,0 +1,39 @@
+# Contributor (Arch): Christian Hesse <mail@eworm.de>
+# Contributor (Arch): Yonathan Dossow
+# Contributor (Arch): Ansgar Taflinski <ataflinski@uni-koblenz.de>
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=xf86-video-qxl
+pkgver=0.1.4
+pkgrel=1
+pkgdesc='Xorg X11 qxl video driver'
+arch=('x86_64' 'i686')
+url='http://www.x.org'
+license=('MIT')
+groups=('xorg-drivers')
+depends=('xf86dgaproto' 'xproto' 'fontsproto' 'randrproto' 'renderproto' 'videoproto' 'resourceproto' 'scrnsaverproto' 'spice')
+optdepends=('python2: for Xspice')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=19' 'spice-protocol')
+conflicts=('xf86-video-qxl-git' 'X-ABI-VIDEODRV_VERSION<19' 'X-ABI-VIDEODRV_VERSION>=20')
+source=("http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"
+ 'fix-cast.patch')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ patch -Np1 < "${srcdir}/fix-cast.patch"
+ sed -i '1c #!/usr/bin/python2' scripts/Xspice
+
+ ./configure --enable-xspice \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/"
+
+ make DESTDIR="${pkgdir}/" install
+}
+
+sha256sums=('e57ad22f0b1daf8979e722be0cc38d351bfcc2e41568edc566d2bade5a621105'
+ '575243334f763c21282eccd7bd4eb713b90e96fdd46a882370925fa20d4acb70')