x11-misc/qt5ct: remove old

Closes: https://github.com/gentoo/gentoo/pull/4808
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Ilya Tumaykin
2017-05-30 15:13:59 +03:00
committed by Patrice Clement
parent bb50d572fd
commit fa579ab1d2
3 changed files with 0 additions and 71 deletions

View File

@@ -1,3 +1,2 @@
DIST qt5ct-0.31.tar.bz2 55724 SHA256 d5357768832a81e39aa9cd0a45d8144de9bd59302d8d122d8c2d1a231be2aba9 SHA512 9162106febf93b94b8ba847157d20386568bc898d15c6123636ef9d9c50bce3ca4706fbfbfd82053dccf545f91ca40d387d1e9a5bbb6773810a1d931417eaa4e WHIRLPOOL e63d91ea06956859abebef8990c3b697fddbda9656dcb092231fece95ed9f5ce8fe1597ca6b28468e63b76adcd311637b3591e7650ad0a1adb8a0f1958eafef4
DIST qt5ct-0.32.tar.bz2 56146 SHA256 d501975f876aeb7a4c9814c9b9a46eb20804c3e0ee2b5d5e7b1b3d244dc7f53f SHA512 9d4ccbb808ce5c394b041f1c387502a373998930aa9141e151a8c854b79b978945ad77bfb2383c1a3e0b5f082bc8c260d01f30d137fa764f926405bbddad212c WHIRLPOOL 77fb3c34636331fda89814f4e6e9eef55e0aebf1c3d71e912d11566d97241c645ece974e31260c53d96d27e42e44ce51abbef271671d63899f77cdef1cdf9e40
DIST qt5ct-0.33.tar.bz2 56448 SHA256 2e55484bdae7988ec8ce2629cfc252b226df8b07b2a0b6f8ee2fd10cc8e7c02f SHA512 670ec099978b569b7607d6a0af0c7e7b66b4b4a374041893c85a8749992ae6a931fa9678fa122baede8a672c0c9798fad8c30c60205c3f9d0ad3dd867e0753ba WHIRLPOOL f8ecb21aaa3aef538860fdd43095dc0b6b7aff72bb5ff6601f15783e5eb9bd398c4031e05139fda90800c0436606d8ac9f3fe66e09bb29f6ae8c704000d8b2b8

View File

@@ -1,16 +0,0 @@
See https://sourceforge.net/p/qt5ct/tickets/36/
diff --git a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro
--- a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (revision 408)
+++ b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (working copy)
@@ -10,7 +10,9 @@
QT += gui-private platformsupport-private
}
-greaterThan(QT_MINOR_VERSION, 5): QT += dbus
+!contains(DEFINES, QT_NO_DBUS):greaterThan(QT_MINOR_VERSION, 5) {
+ QT += dbus
+}
SOURCES += \
main.cpp \

View File

@@ -1,54 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit qmake-utils
DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+dbus"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5=
dev-qt/qtwidgets:5
dbus? (
dev-qt/qtdbus:5
>=dev-qt/qtgui-5.7:5[dbus]
)
"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
"
PATCHES=( "${FILESDIR}/${P}-fix-build-without-dbus.patch" )
src_configure() {
eqmake5 DEFINES="$(usex dbus '' QT_NO_DBUS)" ${PN}.pro
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
echo 'QT_QPA_PLATFORMTHEME=qt5ct' > "${T}"/98${PN} || die
doenvd "${T}"/98${PN}
}
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
}