office/zathura: Updated for version 0.3.8.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2018-01-02 12:35:05 -05:00 committed by Willy Sudiarto Raharjo
parent b3fef065df
commit 171fdd5172
2 changed files with 16 additions and 9 deletions

View file

@ -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?/*.?

View file

@ -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"