blob: 849777df8f100ab574f4140696a202a194b5c121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-qxl
pkgver=0.1.5
pkgrel=2
pkgdesc="Xorg X11 qxl video driver"
url="http://www.x.org"
arch="x86 x86_64"
license="MIT"
depends=
makedepends="xorg-server-dev spice-dev xorg-server xproto fontsproto
randrproto renderproto videoproto xf86dgaproto python2"
install=""
source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2"
builddir="$srcdir"/xf86-video-qxl-$pkgver
subpackages="$pkgname-doc xspice"
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 \
--enable-xspice=yes
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
xspice() {
pkgdesc="X server that can be accessed by a Spice client"
depends="python2"
mkdir -p "$subpkgdir"/usr/lib/xorg/modules/drivers \
"$subpkgdir"/etc/X11
mv "$pkgdir"/usr/lib/xorg/modules/drivers/spiceqxl_drv.so \
"$subpkgdir"/usr/lib/xorg/modules/drivers/
mv "$pkgdir"/usr/bin/ "$subpkgdir"/usr/
install -m 644 "$builddir"/examples/spiceqxl.xorg.conf.example \
"$subpkgdir"/etc/X11/spiceqxl.xorg.conf
}
sha512sums="7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782 xf86-video-qxl-0.1.5.tar.bz2"
|