diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-30 20:26:21 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-11-30 20:26:21 -0500 |
commit | f60c5987b6aa98b43cbaf581c5ed4e5eaa476361 (patch) | |
tree | 79746c49d8973aa8e074c04546ee4e8a0b0778bb /pcr/xf86-video-qxl/PKGBUILD | |
parent | c90ed53b40a125b1dd016722a6afadfbeb6481cb (diff) | |
download | abslibre-f60c5987b6aa98b43cbaf581c5ed4e5eaa476361.tar.gz abslibre-f60c5987b6aa98b43cbaf581c5ed4e5eaa476361.tar.bz2 abslibre-f60c5987b6aa98b43cbaf581c5ed4e5eaa476361.zip |
xf86-video-qxl-0.1.4-6: rebuild
Diffstat (limited to 'pcr/xf86-video-qxl/PKGBUILD')
-rw-r--r-- | pcr/xf86-video-qxl/PKGBUILD | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/pcr/xf86-video-qxl/PKGBUILD b/pcr/xf86-video-qxl/PKGBUILD index 2f2d6c6ba..a672eafa1 100644 --- a/pcr/xf86-video-qxl/PKGBUILD +++ b/pcr/xf86-video-qxl/PKGBUILD @@ -5,30 +5,36 @@ pkgname=xf86-video-qxl pkgver=0.1.4 -pkgrel=3.1 +pkgrel=6 pkgdesc='Xorg X11 qxl video driver' arch=('x86_64' 'i686') url='http://www.x.org' license=('MIT') groups=('xorg-drivers') depends=('spice') -optdepends=('python2: for Xspice') -makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=19' 'spice-protocol' +optdepends_x86_64=('python2: for Xspice') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'spice-protocol' 'xf86dgaproto' 'xproto' 'fontsproto' 'randrproto' 'renderproto' 'videoproto' 'resourceproto' 'scrnsaverproto') -conflicts=('xf86-video-qxl-git' 'X-ABI-VIDEODRV_VERSION<19' 'X-ABI-VIDEODRV_VERSION>=20') -validpgpkeys=('94A9F75661F77A6168649B23A9D8C21429AC6C82') -source=("http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"{,.sig} - 'fix-cast.patch') +conflicts=('xf86-video-qxl-git' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21') +#validpgpkeys=('94A9F75661F77A6168649B23A9D8C21429AC6C82') +source=("http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2" #{,.sig} + '0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch' + '0003-kms-do-not-overwrite-screen-virtualX-Y.patch' + '0004-Fix-drawable-mm_time-with-KMS.patch') sha256sums=('e57ad22f0b1daf8979e722be0cc38d351bfcc2e41568edc566d2bade5a621105' - 'SKIP' - '30b09971562d82b5bc9dc26e43514ff38e5eaa680c15471194f07c9129e1e0ed') + + '2bee0ec4dacbe1bfd996373701090696b3bfdfd00f347329a8bc5b20c6da8853' + '561dd6f41ccfdfdd666d631dd0dc66e8f671bff6191bad8359881e16d9a1d849' + 'b8ab4f53d367615bfb0b6297511e6aa7a83b4324de3c76aad558516da1b76f2f') prepare() { cd "${srcdir}/${pkgname}-${pkgver}/" - # fix cast from pointer to integer of different size - patch -Np1 < "${srcdir}/fix-cast.patch" + # fix Xorg 1.18 + patch -Np1 < "${srcdir}"/0002-kms-initialize-primary-surface-to-screen-virtual-siz.patch + patch -Np1 < "${srcdir}"/0003-kms-do-not-overwrite-screen-virtualX-Y.patch + patch -Np1 < "${srcdir}"/0004-Fix-drawable-mm_time-with-KMS.patch # this is python 2.x sed -i '1c #!/usr/bin/python2' scripts/Xspice @@ -37,9 +43,15 @@ prepare() { build() { cd "${srcdir}/${pkgname}-${pkgver}/" - ./configure \ - --enable-xspice \ - --prefix=/usr + if [ "${CARCH}" = "x86_64" ]; then + ./configure \ + --enable-xspice \ + --prefix=/usr + else + ./configure \ + --prefix=/usr + fi + make } @@ -47,5 +59,9 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}/" make DESTDIR="${pkgdir}/" install + + if [ "${CARCH}" = "x86_64" ]; then + install -v -D -m0755 scripts/Xspice "${pkgdir}"/usr/bin/Xspice + fi } |