commit:     a8b060a8a962cdb6780699d18b736da9f62e85d8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 01:27:29 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 28 01:37:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b060a8

gui-apps/qt6ct: add 0.11

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

 gui-apps/qt6ct/Manifest          |  1 +
 gui-apps/qt6ct/qt6ct-0.11.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/gui-apps/qt6ct/Manifest b/gui-apps/qt6ct/Manifest
index d352164f9410..e4c52d28650b 100644
--- a/gui-apps/qt6ct/Manifest
+++ b/gui-apps/qt6ct/Manifest
@@ -1 +1,2 @@
 DIST qt6ct-0.10.tar.xz 75884 BLAKE2B 
22625853d7d05815ac60f18685292288a8b15a85c247c34552b9b1d3e4a025d1ef5a37158f2f3a77863ff12ef58ee7d1f46dfb9e577b8fa0354d87474b5de8da
 SHA512 
d7c06f5326b4182eb19289bc306faba1758984ee143cccdf41434f21df0319368f408fd7555e5227b2490a0c7a2051cc874139700ca9ab413c61a7fcbac8a58d
+DIST qt6ct-0.11.tar.xz 76140 BLAKE2B 
08f200a4a15bfe6dabbb7061eb2ba07d1c79abea5535098ddaeac14319cc04a53ac3c2c4a7276f371219532f2e81c2018bc51d095d2ee6faf5e9a84b42cc72bc
 SHA512 
1987d96c727cba3612dae120a664f932957217904174b2efad03fcdd439e1f5822a453f92acfcc41d36fe1861025c16bd55d3a0174a26508738a795f9f2eb4fd

diff --git a/gui-apps/qt6ct/qt6ct-0.11.ebuild b/gui-apps/qt6ct/qt6ct-0.11.ebuild
new file mode 100644
index 000000000000..c4efad0cc5d1
--- /dev/null
+++ b/gui-apps/qt6ct/qt6ct-0.11.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Qt6 Configuration Tool (for DE/WM without Qt integration)"
+HOMEPAGE="https://www.opencode.net/trialuser/qt6ct/";
+SRC_URI="https://www.opencode.net/api/v4/projects/5459/packages/generic/qt6ct/${PV}/${P}.tar.xz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# uses Qt private APIs wrt :=
+# dlopen: qtsvg
+DEPEND="
+       dev-qt/qtbase:6=[gui,widgets]
+"
+RDEPEND="
+       ${DEPEND}
+       dev-qt/qtsvg:6
+"
+BDEPEND="
+       dev-qt/qtbase:6
+       dev-qt/qttools:6[linguist]
+"
+
+src_install() {
+       cmake_src_install
+
+       # can replace after qt5ct is gone
+#      newenvd - 98${PN} <<<'QT_QPA_PLATFORMTHEME=qt6ct'
+       newenvd - 98${PN} <<-EOF
+               # 'qt5ct' is recognized by both qt5ct and qt6ct to allow 
simultaneous usage
+               QT_QPA_PLATFORMTHEME=qt5ct
+       EOF
+}
+
+pkg_postinst() {
+       if [[ ! ${REPLACING_VERSIONS} ]]; then
+               elog
+               elog "QT_QPA_PLATFORMTHEME has been set to enable ${PN} usage 
by"
+               elog "default. This will only come into effect after re-login 
into"
+               elog "the current desktop session(s)."
+               elog
+               elog "Note that ${PN} should typically not be used with DEs 
that do"
+               elog "their own integration (e.g. Plasma/KDE). Qt also has 
special"
+               elog "handling for Gnome which may or may not be better."
+       fi
+}

Reply via email to