diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-09 00:04:30 +0100 |
commit | 94ead5b3c01213a82c9b72a2df165452421db42b (patch) | |
tree | 8a48ed4d21de4204607288d00e68a671bef1e8f8 /x11-misc/qt5ct/qt5ct-1.8.ebuild | |
parent | 418459f7de9eb29d6db8b61681f39c467d9600e1 (diff) |
gentoo auto-resync : 09:10:2023 - 00:04:30
Diffstat (limited to 'x11-misc/qt5ct/qt5ct-1.8.ebuild')
-rw-r--r-- | x11-misc/qt5ct/qt5ct-1.8.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/qt5ct-1.8.ebuild b/x11-misc/qt5ct/qt5ct-1.8.ebuild new file mode 100644 index 000000000000..dac5f4a047cf --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-1.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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 +} |