diff options
author | xming <xmingske@gmail.com> | 2016-10-17 10:45:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 18:45:14 +0000 |
commit | 849e18bde39902ccb40259004efd59abe9330bf8 (patch) | |
tree | fd4eafd753d73323e56b2ae26827ede790a75b34 /main | |
parent | 798c7cfc163d93344c109de2a0152c466554c7b0 (diff) | |
download | aports-849e18bde39902ccb40259004efd59abe9330bf8.tar.bz2 aports-849e18bde39902ccb40259004efd59abe9330bf8.tar.xz |
main/xf86-video-qxl: add spiceqxland doc subpkgs
Diffstat (limited to 'main')
-rw-r--r-- | main/xf86-video-qxl/APKBUILD | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/main/xf86-video-qxl/APKBUILD b/main/xf86-video-qxl/APKBUILD index b7392f4aac..09d1f7240e 100644 --- a/main/xf86-video-qxl/APKBUILD +++ b/main/xf86-video-qxl/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-qxl pkgver=0.1.5 -pkgrel=0 +pkgrel=1 pkgdesc="Xorg X11 qxl video driver" url="http://www.x.org" arch="x86 x86_64" @@ -14,6 +14,8 @@ install="" source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2" builddir="$srcdir"/xf86-video-qxl-$pkgver +subpackages="xf86-video-spiceqxl xf86-video-spiceqxl-doc" + build() { cd "$builddir" export LDFLAGS="$LDFLAGS -Wl,-z,lazy" @@ -25,6 +27,18 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ + --enable-xspice=only \ + --disable-kms \ + || return 1 + make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ || return 1 make || return 1 } @@ -34,4 +48,15 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +spiceqxl() { + mkdir -p "$subpkgdir"/usr/lib/xorg/modules/drivers + cp "$_builddir"/src/.libs/spiceqxl_drv.so "$subpkgdir"/usr/lib/xorg/modules/drivers +} + +doc() { + arch="noarch" + mkdir -p "$subpkgdir"/usr/share/doc/spiceqxl + cp "$_builddir"/examples/spiceqxl.xorg.conf.example "$subpkgdir"/usr/share/doc/spiceqxl +} + sha512sums="7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782 xf86-video-qxl-0.1.5.tar.bz2" |