Commit 4c555eb0 authored by Justin Berthault's avatar Justin Berthault Committed by Leo
Browse files

community/mupdf: upgrade to 1.17.0

parent f21f4396
......@@ -2,8 +2,8 @@
# Contributor: Michael Zhou <zhoumichaely@gmail.com>
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=mupdf
pkgver=1.16.1
pkgrel=3
pkgver=1.17.0
pkgrel=0
pkgdesc="Lightweight PDF and XPS viewer"
url="https://mupdf.com"
arch="all"
......@@ -104,6 +104,6 @@ _tools() {
"$subpkgdir"/usr/bin/
}
sha512sums="fa657e6b9251aff91c25e91b335ea829b797dd91a759505bfd7259f8236613f590a044bc741e9b0587da55817a1ab8c1499c067d65d683d099259d06d91a8f50 mupdf-1.16.1-source.tar.xz
5f1448005c2126c16f9e05a77486d63991110d343a4094e92d6877b11babb30b2a4c3a07580658e1e6caa805a53caf31595309c9f5203ed0a269e4d9e38af3d1 shared-lib.patch
sha512sums="39188e6ce3eaefb525b2c32767c4bf52ed881b41889edef086aa64bfe1c38e6f3cb853450c8284d175ef8854f32e9bc67415a692048ead26cf31c35645f9e0e5 mupdf-1.17.0-source.tar.xz
212ea566b6f1d60a1087054a8eb29d0d9ca08eef237219151fc4fe8880461cd86fcb03b0266a7347015af458b557dfd914e827f5ff8fee78e9e50c7f358fc8e0 shared-lib.patch
486d09df319050ddb33dbd1e2e0638a7bc6a3e188032a35b81119c45b0de911629b827b21aa47cde6669b66d73fb22cff54d190a8449151fdc27eace71beefbd fix-big-endian.patch"
--- a/Makefile 2018-10-04 09:19:28.000000000 +0000
+++ b/Makefile 2018-10-04 09:19:28.000000000 +0000
@@ -20,7 +20,7 @@
diff --git a/Makefile b/Makefile
index 814a592..07c71ca 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ include Makethird
# Do not specify CFLAGS or LIBS on the make invocation line - specify
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
# set a variable that was set on the command line.
......@@ -9,32 +11,32 @@
LIBS += $(XLIBS) -lm
ifneq ($(threading),no)
@@ -58,6 +58,7 @@
@@ -58,6 +58,7 @@ ifdef RANLIB
RANLIB_CMD = $(QUIET_RANLIB) $(RANLIB) $@
endif
LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+LINK_SHARED_CMD = $(QUIET_LINK) $(CC) $(LDFLAGS) -shared -Wl,-soname,$(notdir $@) -o $@ $^ $(LIBS)
TAGS_CMD = $(QUIET_TAGS) ctags -R
TAGS_CMD = $(QUIET_TAGS) ctags -R --c-kinds=+p
WINDRES_CMD = $(QUIET_WINDRES) $(MKTGTDIR) ; $(WINDRES) $< $@
OBJCOPY_CMD = $(QUIET_OBJCOPY) $(MKTGTDIR) ; $(LD) -r -b binary -o $@ $<
@@ -68,6 +69,9 @@
@@ -68,6 +69,9 @@ $(OUT)/%.a :
$(AR_CMD)
$(RANLIB_CMD)
+$(OUT)/%.so.0: $(OUT)/%.a
+ $(LINK_SHARED_CMD)
+
+
$(OUT)/%.exe: %.c
$(LINK_CMD)
@@ -190,8 +194,8 @@
@@ -189,8 +193,8 @@ generate: source/pdf/js/util.js.h
# --- Library ---
-MUPDF_LIB = $(OUT)/libmupdf.a
-THIRD_LIB = $(OUT)/libmupdf-third.a
+MUPDF_LIB = $(OUT)/libmupdf.so.0
+THIRD_LIB = $(OUT)/libmupdfthird.so.0
+THIRD_LIB = $(OUT)/libmupdf-third.so.0
THREAD_LIB = $(OUT)/libmupdf-threads.a
PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment