Added gui-apps/qt6ct-kde-0.10

This commit is contained in:
saundersp
2025-06-27 14:53:55 +02:00
parent 5d14edf211
commit 8470c4f383
4 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST qt6ct-kde-0.10.tar.gz 160189 BLAKE2B f49819a0eac5161d260e96b98e501787abc0e953e0026f1b05649a9c03d346f37df185f62b20a318038e542a192e047c9294e8788e92cfe5868ed5e8f807627f SHA512 4a64ebe79cab0660178693bddce15bcf87c36b0331cd93578c1f09987c49ca28bb30cb39a1973338981d69c50976c2a37dec55b3f8f9d4520ffcbf0e73757ccd
EBUILD qt6ct-kde-0.10.ebuild 1355 BLAKE2B 0ff1084d38cb698db18f0e065fcf0f2fef40a69603e30cf33a1eea2b20ef5571daf20d2276d2e8c4f8abb64e698f5ec74ca54639d2598974fafc53d29b3a15d5 SHA512 35a038bf63dc0a307d653217a82d056f2de067c13fa1c2d3e96ab704fde966650e7a203a626c90ea138abd219b85115da6568de7bcd3bdfd592bd63b4a3829df
MISC metadata.xml 246 BLAKE2B a512e6e8ffd8a998f89ea9dbf8a29dd4bb2d6db435e4ac0ef3182fc23996e04a6e87c1771975d835038ad86d6cb61e4a1aea8b80286666d64ad0b511c9d8f163 SHA512 d827f64596500d61c0f24c9d2a69fa3ca2f8b52e5f5815106d7db2837482172f0518d99677e6332a69fd4c34289ef817203a5047363ea7d2c10372b09f9e0618

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pierre.saundersgb@gmail.com</email>
<name>Pierre Saunders</name>
</maintainer>
<upstream>
<remote-id type="github">ilya-fedin/qt6ct</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,53 @@
# 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) patched to work correctly with KDE applications"
HOMEPAGE="https://github.com/ilya-fedin/qt6ct/"
SRC_URI="https://github.com/ilya-fedin/qt6ct/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/qt6ct-${PV}"
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
}

View File

@ -0,0 +1,14 @@
BDEPEND=dev-qt/qtbase:6 dev-qt/qttools:6[linguist] app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install postinst prepare test
DEPEND=dev-qt/qtbase:6=[gui,widgets]
DESCRIPTION=Qt6 Configuration Tool (for DE/WM without Qt integration) patched to work correctly with KDE applications
EAPI=8
HOMEPAGE=https://github.com/ilya-fedin/qt6ct/
INHERIT=cmake
KEYWORDS=amd64
LICENSE=BSD-2
RDEPEND=dev-qt/qtbase:6=[gui,widgets] dev-qt/qtsvg:6
SLOT=0
SRC_URI=https://github.com/ilya-fedin/qt6ct/archive/0.10.tar.gz -> qt6ct-kde-0.10.tar.gz
_eclasses_=toolchain-funcs f9d71a6efe9d083aec750dd13968e169 flag-o-matic b892042b2667b8ac69ec8a2571dc290a multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a
_md5_=c0b1ce1354d57694bdf9ae35f979673b