diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-03 11:16:13 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-03 11:16:13 -0500 |
commit | e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee (patch) | |
tree | 138a673e87cd8bb9eb7fc210d4c4d23a2338998f /pcr/xf86-video-qxl/PKGBUILD | |
parent | 4acc26adf1aabb4161d8f5862d32f8e4041959ff (diff) | |
download | abslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.tar.gz abslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.tar.bz2 abslibre-e1d2454d98a7bdd60e4911f50f1c7a99527ac9ee.zip |
xf86-video-qxl-0.1.4-1: add new package to [pcr]
Diffstat (limited to 'pcr/xf86-video-qxl/PKGBUILD')
-rw-r--r-- | pcr/xf86-video-qxl/PKGBUILD | 39 |
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') |