Browse Source
graphics/yacreader: Updated for version 9.5.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
pull/47/head
Matteo Bernardini
8 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with
29 additions and
4 deletions
-
graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch
-
graphics/yacreader/yacreader.SlackBuild
-
graphics/yacreader/yacreader.info
|
|
|
@ -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); |
|
|
|
@ -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|" \ |
|
|
|
|
|
|
|
@ -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" |
|
|
|
|