diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-22 17:43:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-22 17:43:06 +0700 |
commit | 4f36fb5807d77d232b040f8308cc648fea57afc9 (patch) | |
tree | 983c0a690a868a82952f2660ce5101aa0299ee21 /office/zathura-pdf-mupdf | |
parent | 303e0f3ac8ede80e1e2fd1f3dddfdaea876f1d8f (diff) |
office/zathura-pdf-mupdf: Updated for version 0.2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/zathura-pdf-mupdf')
-rw-r--r-- | office/zathura-pdf-mupdf/README | 3 | ||||
-rw-r--r-- | office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild | 14 | ||||
-rw-r--r-- | office/zathura-pdf-mupdf/zathura-pdf-mupdf.info | 6 |
3 files changed, 11 insertions, 12 deletions
diff --git a/office/zathura-pdf-mupdf/README b/office/zathura-pdf-mupdf/README index 65ef0482c519..707c63c1af88 100644 --- a/office/zathura-pdf-mupdf/README +++ b/office/zathura-pdf-mupdf/README @@ -10,6 +10,3 @@ support having multiple plugins per filetype, so after installing zathura-pdf-mupdf, zathura will always use the mupdf backend. To switch back to the poppler backend, remove both zathura and zathura-pdf-mupdf, then reinstall zathura. - -Note: Make sure your mupdf package has been upgraded to at least version -1.2 before building this. diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild index 2281bf8805a4..7e7be3cb6a00 100644 --- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild +++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=zathura-pdf-mupdf -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,10 +40,7 @@ fi set -e -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -53,9 +50,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -sed -i "s,-fPIC,$SLKCFLAGS," config.mk +# mupdf 1.4 and later no longer have libmupdf-js-none (moved to libmupdf). +# Anyway it's better to use pkg-config now that mupdf supports it. +sed -i \ + -e "s,-fPIC,$SLKCFLAGS," \ + -e '/^MUPDF_LIB/s,-.*,$(shell pkg-config --libs mupdf),' \ + config.mk -make +make VERBOSE=1 strip *.so make install DESTDIR=$PKG diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info index 5a856ed13e93..d7cbe64fd6d2 100644 --- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info +++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info @@ -1,8 +1,8 @@ PRGNAM="zathura-pdf-mupdf" -VERSION="0.2.4" +VERSION="0.2.6" HOMEPAGE="http://www.pwmt.org/projects/zathura/plugins/zathura-pdf-mupdf/" -DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.2.4.tar.gz" -MD5SUM="aa9667425dab93147dd8605eda020e59" +DOWNLOAD="http://www.pwmt.org/projects/zathura/plugins/download/zathura-pdf-mupdf-0.2.6.tar.gz" +MD5SUM="5102e416aecc2a14d78cc9c83d529b39" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mupdf zathura" |