mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
gui-apps/qt6ct: drop 0.9-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qt6ct-0.10.tar.xz 75884 BLAKE2B 22625853d7d05815ac60f18685292288a8b15a85c247c34552b9b1d3e4a025d1ef5a37158f2f3a77863ff12ef58ee7d1f46dfb9e577b8fa0354d87474b5de8da SHA512 d7c06f5326b4182eb19289bc306faba1758984ee143cccdf41434f21df0319368f408fd7555e5227b2490a0c7a2051cc874139700ca9ab413c61a7fcbac8a58d
|
||||
DIST qt6ct-0.9.tar.xz 75868 BLAKE2B 32c3cb641edcedc5a3c675e9f9541c1d8269f9b40ed3dff7da14ce6b2686302f3812ec365fc746bd872cba1a12bcee1a644e3bad5885ba7a27d3fe1de0693f01 SHA512 ea5242cc10d9d210e190dd442c72c9f75c6a13e50191ec164fc9772de0475ca39453f22b061cfe24e1face4d660159d491627b65f2637b5d611cfe5fb0ac228f
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake eapi9-ver
|
||||
|
||||
DESCRIPTION="Qt6 Configuration Tool (for DE/WM without Qt integration)"
|
||||
HOMEPAGE="https://github.com/trialuser02/qt6ct/"
|
||||
SRC_URI="https://github.com/trialuser02/qt6ct/releases/download/${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 not be used with DEs that do their own"
|
||||
elog "integration (e.g. Plasma/KDE). Qt also has special handling"
|
||||
elog "for Gnome which may or may not be better."
|
||||
fi
|
||||
|
||||
# not a very important warning (at most could surprise users that had it
|
||||
# installed but weren't really using it), can likely cleanup next version
|
||||
if ver_replacing -lt 0.9-r1; then
|
||||
ewarn
|
||||
ewarn "Note that ${PF} newly sets QT_QPA_PLATFORMTHEME globally"
|
||||
ewarn "by default to use ${PN} (or qt5ct if it is installed)."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user