summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-08-04 08:05:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-08-04 08:05:14 +0200
commit2ebc4fb1e7d27618d54ff670eb102aba77860109 (patch)
tree8958974a30879f9e77171446c65d5cdcd0182e8a /app-text
parentsys-devel/clang-runtime: Stabilize 12.0.1 amd64, #804471 (diff)
downloadgentoo-2ebc4fb1e7d27618d54ff670eb102aba77860109.tar.gz
gentoo-2ebc4fb1e7d27618d54ff670eb102aba77860109.tar.bz2
gentoo-2ebc4fb1e7d27618d54ff670eb102aba77860109.zip
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@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/kchmviewer/files/kchmviewer-8.0-no-qtwebkit.patch28
-rw-r--r--app-text/kchmviewer/kchmviewer-8.0.ebuild1
2 files changed, 29 insertions, 0 deletions
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 000000000000..18360c897821
--- /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 <gyunaev@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 f4e5199ee3cf..18bf404abb9d 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() {