diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-01 06:48:25 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-01 07:16:19 +0100 |
commit | 354724dbe3b7ae7251a567e61d2fa918fb38c2dc (patch) | |
tree | b3b4a669cdc62100a1cc60eef20698feb42a9be3 /x11-misc/qt5ct | |
parent | dev-python/virtualenv: Bump to 20.20.0 (diff) | |
download | gentoo-354724dbe3b7ae7251a567e61d2fa918fb38c2dc.tar.gz gentoo-354724dbe3b7ae7251a567e61d2fa918fb38c2dc.tar.bz2 gentoo-354724dbe3b7ae7251a567e61d2fa918fb38c2dc.zip |
x11-misc/qt5ct: Bump to 1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc/qt5ct')
-rw-r--r-- | x11-misc/qt5ct/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/qt5ct/qt5ct-1.7.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest index 2191f1fcae05..b4431926f5bf 100644 --- a/x11-misc/qt5ct/Manifest +++ b/x11-misc/qt5ct/Manifest @@ -1,2 +1,3 @@ DIST qt5ct-1.5.tar.bz2 81089 BLAKE2B 8bf02a6c53c68f30e0647ff7c40c9d80044cbf914ee13f9e7f13ad6424e5cf73b9460af70ea484d498bfb693e8f8b018f7e32cac6205ffa2dba05930c6d0610c SHA512 fc16c7849a89aa8ee9480162888294638bc01f83b89d86c978397e58f6da4360cf07b9f558635b8a5b13bd10d18f3ad49663fe8a76183da9ae55aac23230b1e5 DIST qt5ct-1.6.tar.bz2 85354 BLAKE2B 74c8976005cfedb65da25d7229014ab22b97bfc7ad5a0cb1a2263bf272cc4b4c9f9f3542913c16f45af84e27e9e093c86ce7f6bbafc646caeb8b7259dcc3ae3d SHA512 10172c664eaf573aa998a64c654c99a27400a47d52fc4b3691f2d1108d5a4df20d2d5c9a9235c52708759ed2be267d1bec9a792bfedb6e472f3cfe9ee1eced0c +DIST qt5ct-1.7.tar.bz2 85464 BLAKE2B fc39d489a0e1e2cb8e0caeb587ea9dd434dca4adefcc788fe3936a6f7bbc3c55b22072915580e1b0376d0b37433b59e355e220f3dc280a0de2d2600a37df237a SHA512 97f1afc137e750abbb8c4e442cb6e09d2aa0c4979de2117ea644d484e1f7489bec144332814aae961bfaa5f8ac9ddf027c7a665274a65aef26fc4bf7c45610c0 diff --git a/x11-misc/qt5ct/qt5ct-1.7.ebuild b/x11-misc/qt5ct/qt5ct-1.7.ebuild new file mode 100644 index 000000000000..dac5f4a047cf --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-1.7.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 +} |