commit:     eae005d8bb0a739b2547dd475c3a4df4c067615c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 10 17:55:35 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 21:01:24 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae005d8

dev-libs/uriparser: Switch IUSE qt5 -> qt6

Closes: https://bugs.gentoo.org/969795
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/uriparser/uriparser-1.0.0.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-libs/uriparser/uriparser-1.0.0.ebuild 
b/dev-libs/uriparser/uriparser-1.0.0.ebuild
index 0ef033e23ca3..34f7ed774afa 100644
--- a/dev-libs/uriparser/uriparser-1.0.0.ebuild
+++ b/dev-libs/uriparser/uriparser-1.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake qmake-utils
 
 DESCRIPTION="Strictly RFC 3986 compliant URI parsing library in C"
 HOMEPAGE="https://uriparser.github.io/";
@@ -12,9 +12,9 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2";
 LICENSE="test? ( LGPL-2.1+ ) BSD"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~sparc x86"
-IUSE="+doc qt5 test unicode"  # +doc to address warning RequiredUseDefaults
+IUSE="+doc qt6 test unicode"  # +doc to address warning RequiredUseDefaults
 
-REQUIRED_USE="qt5? ( doc ) test? ( unicode )"
+REQUIRED_USE="qt6? ( doc ) test? ( unicode )"
 RESTRICT="!test? ( test )"
 
 DEPEND="
@@ -25,7 +25,7 @@ BDEPEND="
        doc? (
                >=app-text/doxygen-1.5.8
                media-gfx/graphviz
-               qt5? ( dev-qt/qthelp:5 )
+               qt6? ( dev-qt/qttools:6[assistant] )
        )
 "
 
@@ -42,7 +42,7 @@ src_configure() {
                # The usev wrapper is here to address this warning:
                #   One or more CMake variables were not used by the project:
                #   CMAKE_DISABLE_FIND_PACKAGE_Qt5Help
-               $(usev doc "$(cmake_use_find_package qt5 Qt5Help)")
+               $(usev doc $(usex qt6 
-DQHG_LOCATION=$(qt6_get_libexecdir)/qhelpgenerator 
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Help=ON))
        )
        cmake_src_configure
 }
@@ -50,7 +50,7 @@ src_configure() {
 src_install() {
        cmake_src_install
 
-       if use doc && use qt5; then
+       if use doc && use qt6; then
                dodoc "${BUILD_DIR}"/doc/*.qch
                docompress -x /usr/share/doc/${PF}/${P}.qch
        fi

Reply via email to