diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-01 02:33:38 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:42:03 +0700 |
commit | 1aa18458b92099f71681f001c4e9a76321d57cdf (patch) | |
tree | da062261adae1382dc766d274b94e48f24361b95 /office | |
parent | 371d7bcd26b64b6bf33a7fdd1b25662c302cbe6c (diff) |
office/qpdfview: Updated for version 0.5.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/qpdfview/qpdfview.SlackBuild | 35 | ||||
-rw-r--r-- | office/qpdfview/qpdfview.info | 6 |
2 files changed, 17 insertions, 24 deletions
diff --git a/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild index 4b75852c9796e..4e16cd0dc8db6 100644 --- a/office/qpdfview/qpdfview.SlackBuild +++ b/office/qpdfview/qpdfview.SlackBuild @@ -7,13 +7,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230630 bkw: update for v0.5. # 20220425 bkw: take over maintenance, relicense as WTFPL. # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qpdfview -VERSION=${VERSION:-0.4.18} +VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,38 +60,30 @@ rm -rf "$PRGNAM-$VERSION" tar xfv $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ - -sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri - -sed -i '1i#include <QPainterPath>' sources/model.h - -# From Arch pkgbuild. Fix build with texlive in Slackware current. -sed -e 's|2.0.0|1.21.0|' -i application.pro +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + # Add localizations lrelease-qt5 qpdfview.pro -#Configure qpdfview. Installation paths are correctly set in qpdfview.pri -qmake-qt5 QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro +qmake-qt5 \ + QMAKE_CFLAGS="$SLKCFLAGS" \ + QMAKE_CXXFLAGS="$SLKCFLAGS" \ + PLUGIN_INSTALL_PATH=/usr/lib$LIBDIRSUFFIX/$PRGNAM \ + MANUAL_INSTALL_PATH=/usr/man/man1 \ + qpdfview.pro make make INSTALL_ROOT=$PKG install strip $PKG/usr/bin/* $PKG/usr/lib*/$PRGNAM/*.so -mv -v $PKG/usr/share/man $PKG/usr/man gzip -9 $PKG/usr/man/man*/* -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES CONTRIBUTORS COPYING README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a CHANGES CONTRIBUTORS COPYING README TODO $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/office/qpdfview/qpdfview.info b/office/qpdfview/qpdfview.info index ff11f54d13c7e..d3907a23c5d97 100644 --- a/office/qpdfview/qpdfview.info +++ b/office/qpdfview/qpdfview.info @@ -1,8 +1,8 @@ PRGNAM="qpdfview" -VERSION="0.4.18" +VERSION="0.5" HOMEPAGE="https://launchpad.net/qpdfview" -DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.4.18/+download/qpdfview-0.4.18.tar.gz" -MD5SUM="4d63ee0095e939602f9bf4759ae57953" +DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.5.0/+download/qpdfview-0.5.tar.gz" +MD5SUM="820c0f48ec2175355247bb624757867b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |