Mail archive
alpine-aports

[alpine-aports] [PATCH] main/mupdf: improve abuild and claim maintainership

From: Daniel Sabogal <dsabogalcc_at_gmail.com>
Date: Tue, 8 Nov 2016 12:54:32 -0500

---
(with approval from previous maintainer)
 main/mupdf/APKBUILD | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/main/mupdf/APKBUILD b/main/mupdf/APKBUILD
index 725d305..a7dc678 100644
--- a/main/mupdf/APKBUILD
+++ b/main/mupdf/APKBUILD
_at_@ -1,8 +1,9 @@
 # Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
-# Maintainer: Michael Zhou <zhoumichaely_at_gmail.com>
+# Contributor: Michael Zhou <zhoumichaely_at_gmail.com>
+# Maintainer: Daniel Sabogal <dsabogalcc_at_gmail.com>
 pkgname=mupdf
 pkgver=1.9a
-pkgrel=7
+pkgrel=8
 pkgdesc="A lightweight PDF and XPS viewer"
 url="http://mupdf.com"
 arch="all"
_at_@ -33,7 +34,7 @@ prepare() {
 }
 
 build() {
-	make HAVE_GLFW=yes SYS_GLFW_LIBS="-lglfw -lGL" \
+	make HAVE_GLFW=yes SYS_GLFW_LIBS="$(pkgconf --libs glfw3 gl)" \
 		prefix=/usr -C "$builddir" || return 1
 }
 
_at_@ -48,7 +49,8 @@ package() {
 
 _x11() {
 	pkgdesc="A lightweight PDF and XPS viewer with X11 backend"
-	depends="mupdf"
+	depends=""
+
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/mupdf-x11 \
 		"$subpkgdir"/usr/bin/ || return 1
_at_@ -57,7 +59,8 @@ _x11() {
 
 _gl() {
 	pkgdesc="A lightweight PDF and XPS viewer with OpenGL backend"
-	depends="mupdf"
+	depends=""
+
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/mupdf-gl \
 		"$subpkgdir"/usr/bin/ || return 1
_at_@ -65,7 +68,8 @@ _gl() {
 
 _tools() {
 	pkgdesc="Tools for a lightweight PDF and XPS viewer"
-	depends="mupdf"
+	depends=""
+
 	mkdir -p "$subpkgdir"/usr/bin
 	mv "$pkgdir"/usr/bin/mutool \
 		"$pkgdir"/usr/bin/mujstest \
-- 
2.10.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 08 2016 - 12:54:32 GMT