mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
gui-apps/qt6ct: drop 0.10
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
801771d7a9
commit
3b3b051fef
@ -1,2 +1 @@
|
||||
DIST qt6ct-0.10.tar.xz 75884 BLAKE2B 22625853d7d05815ac60f18685292288a8b15a85c247c34552b9b1d3e4a025d1ef5a37158f2f3a77863ff12ef58ee7d1f46dfb9e577b8fa0354d87474b5de8da SHA512 d7c06f5326b4182eb19289bc306faba1758984ee143cccdf41434f21df0319368f408fd7555e5227b2490a0c7a2051cc874139700ca9ab413c61a7fcbac8a58d
|
||||
DIST qt6ct-0.11.tar.xz 76140 BLAKE2B 08f200a4a15bfe6dabbb7061eb2ba07d1c79abea5535098ddaeac14319cc04a53ac3c2c4a7276f371219532f2e81c2018bc51d095d2ee6faf5e9a84b42cc72bc SHA512 1987d96c727cba3612dae120a664f932957217904174b2efad03fcdd439e1f5822a453f92acfcc41d36fe1861025c16bd55d3a0174a26508738a795f9f2eb4fd
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
Backport of [1] plus a quick cmake build fix.
|
||||
[1] https://www.opencode.net/trialuser/qt6ct/-/commit/2d99bd0881aeac0a0eab9595159009ff750a1889
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -34,2 +34,5 @@
|
||||
find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core Widgets OPTIONAL_COMPONENTS LinguistTools)
|
||||
+if (Qt6_VERSION VERSION_GREATER_EQUAL 6.10)
|
||||
+ find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS GuiPrivate WidgetsPrivate)
|
||||
+endif()
|
||||
|
||||
--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
+++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
@@ -32,3 +32,7 @@
|
||||
#include <qpa/qplatformtheme.h>
|
||||
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0))
|
||||
+#include <private/qgenericunixtheme_p.h>
|
||||
+#else
|
||||
#include <private/qgenericunixthemes_p.h>
|
||||
+#endif
|
||||
#include <QObject>
|
||||
@ -1,56 +0,0 @@
|
||||
# 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"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-qt610.patch
|
||||
)
|
||||
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user