commit:     e7498cf21ad79110e81d43a1fac60f645d994603
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 21:02:17 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 21:02:17 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=e7498cf2

dev-qt/assistant: Drop IUSE=webkit

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/assistant/assistant-5.15.9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-qt/assistant/assistant-5.15.9999.ebuild 
b/dev-qt/assistant/assistant-5.15.9999.ebuild
index 7f0b3ec1..cb232618 100644
--- a/dev-qt/assistant/assistant-5.15.9999.ebuild
+++ b/dev-qt/assistant/assistant-5.15.9999.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 QT5_MODULE="qttools"
 inherit desktop qt5-build xdg-utils
 
@@ -11,7 +12,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
        KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
 fi
 
-IUSE="webkit"
+IUSE=""
 
 DEPEND="
        ~dev-qt/qtcore-${PV}:5=
@@ -21,7 +22,6 @@ DEPEND="
        ~dev-qt/qtprintsupport-${PV}
        ~dev-qt/qtsql-${PV}[sqlite]
        ~dev-qt/qtwidgets-${PV}
-       webkit? ( >=dev-qt/qtwebkit-5.9.1:5 )
 "
 RDEPEND="${DEPEND}"
 
@@ -30,8 +30,8 @@ QT5_TARGET_SUBDIRS=(
 )
 
 src_prepare() {
-       qt_use_disable_mod webkit webkitwidgets \
-               src/assistant/assistant/assistant.pro
+       sed -e "s/qtHaveModule(webkitwidgets)/false/g" \
+               -i src/assistant/assistant/assistant.pro || die
 
        qt5-build_src_prepare
 }

Reply via email to