commit: a5a025d48f75898e67e76cf5159785dd8a73bfdf Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Feb 10 05:15:04 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Feb 10 05:15:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a025d4
x11-misc/qt5ct: Bump to 1.9 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> x11-misc/qt5ct/Manifest | 1 + x11-misc/qt5ct/qt5ct-1.9.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest index 16af51180b67..e21ebea64e20 100644 --- a/x11-misc/qt5ct/Manifest +++ b/x11-misc/qt5ct/Manifest @@ -1 +1,2 @@ DIST qt5ct-1.8.tar.bz2 85945 BLAKE2B 0a882a076eb1013c4196e9067f7ed135b0f86c2850071de4945bb17053618a605ca412fbc1c7a87a6e00ee051f4fb5f0d31754490aa51abe472c72a6918088c9 SHA512 5417850fb2bad4faaed59c8af61bec04c1ee7fefe8495286571e257b2f68cd417d36439c66fcfac28bb735c753a4ca4cec327b74e97e5ce8c2d4e36b3e4fba28 +DIST qt5ct-1.9.tar.bz2 87416 BLAKE2B 72aa7055c4f7ae901001c343e2c2ad8a21568e493277f9b4b3b94497aa7bce252c6c72426d86c4427cf7545c6bfcf650f1587ebfe40842fc848115d226ec817f SHA512 8f0ed517c6b6f42eb75ac20a629cae6230846f5bdcb0a5446f52f5dc46812ee0278d095433804cd3c25c650d1737eb02d2ab2bd88fea65efa2e2ccb8c60de192 diff --git a/x11-misc/qt5ct/qt5ct-1.9.ebuild b/x11-misc/qt5ct/qt5ct-1.9.ebuild new file mode 100644 index 000000000000..94c08b320c08 --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-1.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4" +HOMEPAGE="https://sourceforge.net/projects/qt5ct/" +SRC_URI="https://download.sourceforge.net/qt5ct/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5=[dbus] + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/linguist-tools:5 + dev-qt/qtpaths:5 +" + +src_install() { + cmake_src_install + + newenvd - 98qt5ct <<< 'QT_QPA_PLATFORMTHEME=qt5ct' +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + ewarn "qt5ct configuration won't be applied to the currently running sessions." + ewarn "Please relogin." + fi + if ! has_version 'dev-qt/qtsvg:5'; then + elog + elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'." + elog + fi +}
