Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/mupdf: allow both x11 and gl backends

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Sun, 23 Oct 2016 23:51:16 -0400

ref #5921
Default mupdf symlink to mupdf-x11
---
 testing/mupdf/APKBUILD | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/testing/mupdf/APKBUILD b/testing/mupdf/APKBUILD
index 8246d53..7962f6a 100644
--- a/testing/mupdf/APKBUILD
+++ b/testing/mupdf/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Michael Zhou <zhoumichaely_at_gmail.com>
 pkgname=mupdf
 pkgver=1.9a
-pkgrel=5
+pkgrel=6
 pkgdesc="A lightweight PDF and XPS viewer"
 url="http://mupdf.com"
 arch="all"
_at_@ -48,7 +48,7 @@ package() {
 
 _x11() {
 	pkgdesc="A lightweight PDF and XPS viewer with X11 backend"
-	depends="!mupdf-gl mupdf"
+	depends="mupdf"
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/mupdf-x11 \
 		"$subpkgdir"/usr/bin/ || return 1
_at_@ -57,11 +57,10 @@ _x11() {
 
 _gl() {
 	pkgdesc="A lightweight PDF and XPS viewer with OpenGL backend"
-	depends="!mupdf-x11 mupdf"
+	depends="mupdf"
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/mupdf-gl \
 		"$subpkgdir"/usr/bin/ || return 1
-	ln -s /usr/bin/mupdf-gl "$subpkgdir"/usr/bin/mupdf
 }
 
 _tools() {
-- 
2.10.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Oct 23 2016 - 23:51:16 GMT