graphics/yacreader: Updated for version 9.6.2.1909283.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2019-10-03 10:23:18 +02:00 committed by Willy Sudiarto Raharjo
parent 8b8f4c8fc4
commit e1c92efe98
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 5 additions and 30 deletions

View File

@ -1,23 +0,0 @@
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);

View File

@ -2,7 +2,7 @@
# Slackware build script for yacreader
# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2016-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yacreader
VERSION=${VERSION:-9.5.0}
VERSION=${VERSION:-9.6.2.1909283}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,8 +69,6 @@ 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|" \

View File

@ -1,8 +1,8 @@
PRGNAM="yacreader"
VERSION="9.5.0"
VERSION="9.6.2.1909283"
HOMEPAGE="https://www.yacreader.com"
DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.5.0/yacreader-9.5.0-src.tar.xz"
MD5SUM="8a60573783d25cf3e8c73908a65c663e"
DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.6.2/yacreader-9.6.2.1909283-src.tar.xz"
MD5SUM="77ed908eef0267063200eb888e343319"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libwebp poppler-qt5 qrencode unarr"