x11-misc/qt5ct: Bump to 1.5

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-10-02 08:43:01 +02:00
parent aa029f025d
commit 4e3a6a3193
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST qt5ct-1.3.tar.bz2 80506 BLAKE2B eda2d69fcddf80553358d3c9e9bd0ef33355919c5b62912d8e79a84a36ee5a25d1dab553b6413d78e16ce69435861a01b298ae97202a77f1f50ed805f14445dd SHA512 9f4397d5cfc3dec14330759f213ae99b02ae36d3ea48dfdb3015c3b7d3fe12cde619af855d7320566ca32120e8689e4b39f78e4fdf9886e2472aef570beb75bd
DIST qt5ct-1.5.tar.bz2 81089 BLAKE2B 8bf02a6c53c68f30e0647ff7c40c9d80044cbf914ee13f9e7f13ad6424e5cf73b9460af70ea484d498bfb693e8f8b018f7e32cac6205ffa2dba05930c6d0610c SHA512 fc16c7849a89aa8ee9480162888294638bc01f83b89d86c978397e58f6da4360cf07b9f558635b8a5b13bd10d18f3ad49663fe8a76183da9ae55aac23230b1e5

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2021 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"
IUSE="+dbus"
RDEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5=
dev-qt/qtwidgets:5
dbus? (
dev-qt/qtdbus:5
dev-qt/qtgui:5[dbus]
)
"
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
}