Created
January 16, 2019 23:53
-
-
Save bikefrivolously/d4cff1bb57487c476504f2b320986fb7 to your computer and use it in GitHub Desktop.
Arch Linux xf86-video-qxl-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Peter Mattern <pmattern at arcor dot de> | |
# Contributor: Ansgar Taflinski <ataflinski at uni-koblenz dot de> | |
# Contributor: Jordy van Wolferen <jordy at kluisip dot nl> | |
_pkgname=xf86-video-qxl | |
pkgname=$_pkgname-git | |
pkgver=0.1.5.14.ge298116 | |
pkgrel=1 | |
pkgdesc='X Window System QXL driver including Xspice server' | |
arch=('i686' 'x86_64') | |
url='http://www.spice-space.org' | |
license=('MIT') | |
depends=('xf86dgaproto' 'xproto' 'fontsproto' 'randrproto' 'renderproto' | |
'videoproto' 'resourceproto' 'scrnsaverproto' 'spice') | |
optdepends=('python2: Xspice server') | |
makedepends=('git' 'xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=24.0' 'spice-protocol' 'libcacard') | |
provides=('xf86-video-qxl') | |
conflicts=('xf86-video-qxl' 'X-ABI-VIDEODRV_VERSION<24' 'X-ABI-VIDEODRV_VERSION>=25') | |
source=('git://anongit.freedesktop.org/xorg/driver/xf86-video-qxl') | |
sha256sums=('SKIP') | |
pkgver() { | |
cd $_pkgname | |
git describe --always | sed 's/xf86-video-qxl.//;s/-/./g' | |
} | |
prepare() { | |
cd $_pkgname | |
sed -i '1c #!/usr/bin/python2' scripts/Xspice | |
} | |
build() { | |
cd $_pkgname | |
./autogen.sh --prefix=/usr --enable-xspice=yes | |
make | |
} | |
package() { | |
cd $_pkgname | |
make DESTDIR=$pkgdir install | |
install -D -m644 $srcdir/$_pkgname/COPYING \ | |
$pkgdir/usr/share/licenses/$pkgname/LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment