commit:     918dcc75f40ae3dac04a39fde41f21df09131232
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 11 09:35:46 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 21:03:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918dcc75

dev-qt/qttools: prevent litehtml automagic, add note

Not packaged so not really an issue, but if it is found odds are it
will end in build failure given this supports litehtml-0.6 and is
broken with (current) litehtml-0.8.

Thought this package it, but would rather wait until that's sorted out
rather than carry rather large patches. Not to mention need to patch
qt-creator for this as well, qlitehtml which wraps around it is not
setup to be unbundled.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qttools/qttools-6.5.2-r1.ebuild | 5 +++++
 dev-qt/qttools/qttools-6.5.9999.ebuild | 5 +++++
 dev-qt/qttools/qttools-6.9999.ebuild   | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/dev-qt/qttools/qttools-6.5.2-r1.ebuild 
b/dev-qt/qttools/qttools-6.5.2-r1.ebuild
index 51b9ae34316d..b3accb48d2c1 100644
--- a/dev-qt/qttools/qttools-6.5.2-r1.ebuild
+++ b/dev-qt/qttools/qttools-6.5.2-r1.ebuild
@@ -63,6 +63,11 @@ src_configure() {
                $(qt_feature qtattributionsscanner)
                $(qt_feature qtdiag)
                $(qt_feature qtplugininfo)
+
+               # TODO?: package litehtml, but support for latest releases seem
+               # to lag behind and bundled may work out better for now
+               # https://github.com/litehtml/litehtml/issues/266
+               $(usev assistant -DCMAKE_DISABLE_FIND_PACKAGE_litehtml=ON)
        )
 
        qt6-build_src_configure

diff --git a/dev-qt/qttools/qttools-6.5.9999.ebuild 
b/dev-qt/qttools/qttools-6.5.9999.ebuild
index 51b9ae34316d..b3accb48d2c1 100644
--- a/dev-qt/qttools/qttools-6.5.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.5.9999.ebuild
@@ -63,6 +63,11 @@ src_configure() {
                $(qt_feature qtattributionsscanner)
                $(qt_feature qtdiag)
                $(qt_feature qtplugininfo)
+
+               # TODO?: package litehtml, but support for latest releases seem
+               # to lag behind and bundled may work out better for now
+               # https://github.com/litehtml/litehtml/issues/266
+               $(usev assistant -DCMAKE_DISABLE_FIND_PACKAGE_litehtml=ON)
        )
 
        qt6-build_src_configure

diff --git a/dev-qt/qttools/qttools-6.9999.ebuild 
b/dev-qt/qttools/qttools-6.9999.ebuild
index 51b9ae34316d..b3accb48d2c1 100644
--- a/dev-qt/qttools/qttools-6.9999.ebuild
+++ b/dev-qt/qttools/qttools-6.9999.ebuild
@@ -63,6 +63,11 @@ src_configure() {
                $(qt_feature qtattributionsscanner)
                $(qt_feature qtdiag)
                $(qt_feature qtplugininfo)
+
+               # TODO?: package litehtml, but support for latest releases seem
+               # to lag behind and bundled may work out better for now
+               # https://github.com/litehtml/litehtml/issues/266
+               $(usev assistant -DCMAKE_DISABLE_FIND_PACKAGE_litehtml=ON)
        )
 
        qt6-build_src_configure

Reply via email to