commit: 847c2954dbddc6b717900864cd373602436ad68d Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Mar 11 00:31:54 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Mar 11 00:32:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847c2954
gui-apps/qt6ct: add 0.10 Bug: https://bugs.gentoo.org/949321 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> gui-apps/qt6ct/Manifest | 1 + gui-apps/qt6ct/qt6ct-0.10.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/gui-apps/qt6ct/Manifest b/gui-apps/qt6ct/Manifest index 49ebf8c70d84..3a69ec588889 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.9.tar.xz 75868 BLAKE2B 32c3cb641edcedc5a3c675e9f9541c1d8269f9b40ed3dff7da14ce6b2686302f3812ec365fc746bd872cba1a12bcee1a644e3bad5885ba7a27d3fe1de0693f01 SHA512 ea5242cc10d9d210e190dd442c72c9f75c6a13e50191ec164fc9772de0475ca39453f22b061cfe24e1face4d660159d491627b65f2637b5d611cfe5fb0ac228f diff --git a/gui-apps/qt6ct/qt6ct-0.10.ebuild b/gui-apps/qt6ct/qt6ct-0.10.ebuild new file mode 100644 index 000000000000..c4efad0cc5d1 --- /dev/null +++ b/gui-apps/qt6ct/qt6ct-0.10.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 +}
