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>
This commit is contained in:
Andreas Sturmlechner 2021-08-04 08:05:14 +02:00
parent 6c0bb80f86
commit 2ebc4fb1e7
No known key found for this signature in database
GPG Key ID: 444B0F96FFD22CCB
2 changed files with 29 additions and 0 deletions

View File

@ -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

View File

@ -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() {