commit:     2ebc4fb1e7d27618d54ff670eb102aba77860109
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 06:05:14 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 06:05:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebc4fb1

app-text/kchmviewer: Fix wrong upstream deps

Upstream commit a4a3984465cb635822953350c571950ae726b539

Closes: https://bugs.gentoo.org/806316
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/kchmviewer-8.0-no-qtwebkit.patch         | 28 ++++++++++++++++++++++
 app-text/kchmviewer/kchmviewer-8.0.ebuild          |  1 +
 2 files changed, 29 insertions(+)

diff --git a/app-text/kchmviewer/files/kchmviewer-8.0-no-qtwebkit.patch 
b/app-text/kchmviewer/files/kchmviewer-8.0-no-qtwebkit.patch
new file mode 100644
index 00000000000..18360c89782
--- /dev/null
+++ b/app-text/kchmviewer/files/kchmviewer-8.0-no-qtwebkit.patch
@@ -0,0 +1,28 @@
+From a4a3984465cb635822953350c571950ae726b539 Mon Sep 17 00:00:00 2001
+From: George Yunaev <gyun...@ulduzsoft.com>
+Date: Sun, 23 May 2021 15:01:24 -0700
+Subject: [PATCH] Only add Webkit stuff to QT if we're compiling under 5.6.
+ Thanks to @u-235 for reporting.
+
+---
+ src/src.pro | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/src/src.pro b/src/src.pro
+index f502259..e75d6a9 100644
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -60,12 +60,7 @@ FORMS += tab_bookmarks.ui \
+     toolbareditor.ui
+ RESOURCES += resources/images.qrc
+ 
+-QT += webkit \
+-      xml \
+-    network \
+-    widgets \
+-    webkitwidgets \
+-    printsupport
++QT += xml network widgets printsupport
+ 
+ linux-g++*:{
+     LIBS += -lX11

diff --git a/app-text/kchmviewer/kchmviewer-8.0.ebuild 
b/app-text/kchmviewer/kchmviewer-8.0.ebuild
index f4e5199ee3c..18bf404abb9 100644
--- a/app-text/kchmviewer/kchmviewer-8.0.ebuild
+++ b/app-text/kchmviewer/kchmviewer-8.0.ebuild
@@ -32,6 +32,7 @@ RDEPEND="${DEPEND}"
 PATCHES=(
        "${FILESDIR}/${P}-underlinking.patch"
        "${FILESDIR}/${P}-custom-url-scheme-registration.patch"
+       "${FILESDIR}/${P}-no-qtwebkit.patch"
 )
 
 src_configure() {

Reply via email to