aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-qxl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xf86-video-qxl/APKBUILD')
-rw-r--r--main/xf86-video-qxl/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/xf86-video-qxl/APKBUILD b/main/xf86-video-qxl/APKBUILD
index 6ce3409052..1924b85f6d 100644
--- a/main/xf86-video-qxl/APKBUILD
+++ b/main/xf86-video-qxl/APKBUILD
@@ -2,21 +2,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-qxl
pkgver=0.1.5
-pkgrel=5
+pkgrel=6
pkgdesc="Xorg X11 qxl video driver"
+options="!check" # No testsuite
url="https://www.x.org"
arch="x86 x86_64"
license="MIT"
-depends=
-makedepends="xorg-server-dev spice-dev xorg-server python2 xorgproto"
-install=""
-source="https://www.x.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2"
+makedepends="xorg-server-dev spice-dev xorg-server xorgproto libpciaccess-dev"
+source="https://www.x.org/releases/individual/driver/xf86-video-qxl-$pkgver.tar.bz2
+ convert-xspice-python3.patch
+ "
-builddir="$srcdir"/xf86-video-qxl-$pkgver
subpackages="$pkgname-doc xspice"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -31,13 +30,12 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
xspice() {
pkgdesc="X server that can be accessed by a Spice client"
- depends="python2"
+ depends="python3"
mkdir -p "$subpkgdir"/usr/lib/xorg/modules/drivers \
"$subpkgdir"/etc/X11
mv "$pkgdir"/usr/lib/xorg/modules/drivers/spiceqxl_drv.so \
@@ -47,4 +45,5 @@ xspice() {
"$subpkgdir"/etc/X11/spiceqxl.xorg.conf
}
-sha512sums="7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782 xf86-video-qxl-0.1.5.tar.bz2"
+sha512sums="7510b2d037b3e978df6063b29e2406f3d1270695a239f29fdaec9b1dc65a30ab10cb959f15eb336f78e93aa708d41c64c5ea43803958feffc64542229605b782 xf86-video-qxl-0.1.5.tar.bz2
+ac2ba5a7878f97b77aba2912d617a43916ee0b94a6759119caee5c26a5ea15f0494a41a32feb3030e9187171a241dfd2c1b092eefdf7d83bde0aa1553312bf4e convert-xspice-python3.patch"