gui-apps/qt6ct: add 0.11

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-09-27 21:27:29 -04:00
parent d79d2e9f6e
commit a8b060a8a9
2 changed files with 53 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}