aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-01-02 12:35:05 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:40 +0700
commit171fdd5172c322168034af6c2d5c3cd9fc559945 (patch)
treef4d8d248899695419bcac56c01883a9cc0b7e327
parentb3fef065dfa856d705c7dfb13110831e545336a6 (diff)
office/zathura: Updated for version 0.3.8.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--office/zathura/zathura.SlackBuild15
-rw-r--r--office/zathura/zathura.info10
2 files changed, 16 insertions, 9 deletions
diff --git a/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild
index b5cbf77734d70..6cbcee77e2b88 100644
--- a/office/zathura/zathura.SlackBuild
+++ b/office/zathura/zathura.SlackBuild
@@ -22,6 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20180102 bkw:
+# - Updated for v0.3.8. Have to do some fudging to get it to build with
+# Slack 14.2's older glib2: upstream claims they need 2.50, but the
+# only thing they seem to need it for is the --dependency-file option
+# to glib-compile-resources, which turns out to be unneeded.
+
# 20170711 bkw:
# - BUILD=2
# - Include API docs in package
@@ -60,8 +66,8 @@
# - fix homepage URL
PRGNAM=zathura
-VERSION=${VERSION:-0.3.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -97,7 +103,7 @@ set -eu
# plugins. This build includes the default PDF plugin, without which zathura
# is completely useless.
PLUGIN=$PRGNAM-pdf-poppler
-PLUGINVER=${PLUGINVER:-0.2.7}
+PLUGINVER=${PLUGINVER:-0.2.8}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -142,12 +148,13 @@ patch -p1 < $CWD/dlopen_hack.diff
sed -i "s/-pedantic/$SLKCFLAGS/" config.mk
sed -i '/-fdiagnostics-color/d' colors.mk
+sed -i '/--dependency-file/d' Makefile
# 20170711 bkw: git tarballs don't include prebuilt man pages, and I do NOT
# want Sphinx and its 15+ deps as a dep for this build. So:
cp -r $CWD/man doc/_build
-make LIBDIR=/usr/lib$LIBDIRSUFFIX
+make LIBDIR=/usr/lib$LIBDIRSUFFIX GLIB_VERSION_CHECK=0
make install LIBDIR=/usr/lib$LIBDIRSUFFIX MANPREFIX=/usr/man DESTDIR=$PKG RSTTOMAN=""
gzip $PKG/usr/man/man?/*.?
diff --git a/office/zathura/zathura.info b/office/zathura/zathura.info
index 7915208f0eaf9..3f24ef1feb60c 100644
--- a/office/zathura/zathura.info
+++ b/office/zathura/zathura.info
@@ -1,10 +1,10 @@
PRGNAM="zathura"
-VERSION="0.3.7"
+VERSION="0.3.8"
HOMEPAGE="https://github.com/pwmt/zathura"
-DOWNLOAD="https://github.com/pwmt/zathura/archive/0.3.7/zathura-0.3.7.tar.gz \
- https://github.com/pwmt/zathura-pdf-poppler/archive/0.2.7/zathura-pdf-poppler-0.2.7.tar.gz"
-MD5SUM="41ef7c51a4a74e3023a2e59b21c9dc88 \
- 536153f318c2a394b6160732365778e8"
+DOWNLOAD="https://github.com/pwmt/zathura/archive/0.3.8/zathura-0.3.8.tar.gz \
+ https://github.com/pwmt/zathura-pdf-poppler/archive/0.2.8/zathura-pdf-poppler-0.2.8.tar.gz"
+MD5SUM="e94a6933580eeda615fe72ee9361892c \
+ 847e4337e1798e8073cb317ee4d67393"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="girara"