diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-07-02 14:18:59 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:31 +0700 |
commit | 7878d8dbc8edbc8f07c6f076822155ba529bb275 (patch) | |
tree | de0c30da1e5ad292adc509ead15098d1a4042acb /graphics/yacreader | |
parent | bdf280b4261f8a42c8d5cefe9b6d9b61d20693ca (diff) |
graphics/yacreader: Updated for version 9.5.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/yacreader')
-rw-r--r-- | graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch | 23 | ||||
-rw-r--r-- | graphics/yacreader/yacreader.SlackBuild | 4 | ||||
-rw-r--r-- | graphics/yacreader/yacreader.info | 6 |
3 files changed, 29 insertions, 4 deletions
diff --git a/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch b/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch new file mode 100644 index 000000000000..611f370ad391 --- /dev/null +++ b/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch @@ -0,0 +1,23 @@ +From 1fbf1195b997c11509afce8d4a7322e7561ab301 Mon Sep 17 00:00:00 2001 +From: Felix Kauselmann <licorn@gmail.com> +Date: Sun, 1 Jul 2018 14:39:46 +0200 +Subject: [PATCH] Fix YACReader build for Qt <= 5.7 + +diff -Naur yacreader-9.5.0.orig/YACReader/main.cpp yacreader-9.5.0/YACReader/main.cpp +--- yacreader-9.5.0.orig/YACReader/main.cpp 2018-06-30 17:15:50.000000000 +0200 ++++ yacreader-9.5.0/YACReader/main.cpp 2018-07-02 13:59:36.165035000 +0200 +@@ -83,8 +83,14 @@ + QCommandLineOption comicId("comicId", "", "comicId");
+ QCommandLineOption libraryId("libraryId", "", "libraryId");
+ // hide comicId and libraryId from help
++ #if QT_VERSION >= 0x050800
+ comicId.setFlags(QCommandLineOption::HiddenFromHelp);
+ libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
++ #else
++ comicId.setHidden(true);
++ libraryId.setHidden(true);
++ #endif
++
+ // process
+ parser.addOption(comicId);
+ parser.addOption(libraryId);
diff --git a/graphics/yacreader/yacreader.SlackBuild b/graphics/yacreader/yacreader.SlackBuild index 433b55be2409..cdeebac5c797 100644 --- a/graphics/yacreader/yacreader.SlackBuild +++ b/graphics/yacreader/yacreader.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yacreader -VERSION=${VERSION:-9.0.0} +VERSION=${VERSION:-9.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/0001-Fix-YACReader-build-for-Qt-5.7.patch + sed -i \ -e "s|/usr/lib|/usr/lib$LIBDIRSUFFIX|" \ -e "s|PREFIX/lib|PREFIX/lib$LIBDIRSUFFIX|" \ diff --git a/graphics/yacreader/yacreader.info b/graphics/yacreader/yacreader.info index 4f23719af3f0..4072dc2b6cf8 100644 --- a/graphics/yacreader/yacreader.info +++ b/graphics/yacreader/yacreader.info @@ -1,8 +1,8 @@ PRGNAM="yacreader" -VERSION="9.0.0" +VERSION="9.5.0" HOMEPAGE="https://www.yacreader.com" -DOWNLOAD="https://bitbucket.org/luisangelsm/yacreader/downloads/yacreader-9.0.0-src.tar.xz" -MD5SUM="127eca8022c8f6eb0359e24fc74b7c87" +DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.5.0/yacreader-9.5.0-src.tar.xz" +MD5SUM="8a60573783d25cf3e8c73908a65c663e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libwebp poppler-qt5 qrencode unarr" |