x11-misc/qt5ct: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3799
This commit is contained in:
Ilya Tumaykin
2017-02-04 16:43:24 +03:00
committed by David Seifert
parent 53ef335713
commit 8033d2b3e2
3 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
DIST qt5ct-0.29.tar.bz2 49482 SHA256 a016142a04a5edfbdda627fc203622f512fae9e84bcf89ce63a7107f01721adc SHA512 b0417a5c7d736957194d96a44156f2eab2d9eedf7a8fa6a0aeb65ad3d50f0466b31329ef5ae414d036a34a4d675278e737cef3ecefdec61e106e1ff7503dd434 WHIRLPOOL 456414d9d2516b7de2098dda3479d6c0fd686d7f83e7af9261c18b51e82f61b66f77d496d82e25654cbe066221707552e2053d7618676ba7b11e54c22bf16ff1
DIST qt5ct-0.30.tar.bz2 49665 SHA256 e6d94d756ea928f330376a30660a75b3213bad234b360519416e634048e31ecc SHA512 3ea7ce731fcef2c665c9b92c5afe505bad9a119957c268a9705bb1c9ea8534547281133d51932d68933de93c78c7fd3be5a5511cf748644047acb8f716605a18 WHIRLPOOL 1af094cdd839cb46c44f051eb37b9403dad6fb60d757fddd69c98e3d9f8def65b9f7a9899ad278a6bcef6a7bdd1009ea16c24dfca28f639f7c2befea981236c9

View File

@@ -1,20 +0,0 @@
Correctly apply selected theme to KDE apps.
https://sourceforge.net/p/qt5ct/tickets/32/
Index: src/qt5ct-qtplugin/qt5ctplatformtheme.cpp
===================================================================
--- a/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp (revision 368)
+++ b/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp (revision 369)
@@ -101,9 +101,8 @@
const QPalette *Qt5CTPlatformTheme::palette(QPlatformTheme::Palette type) const
{
- if(m_customPalette && m_usePalette)
- return m_customPalette;
- return QPlatformTheme::palette(type);
+ Q_UNUSED(type);
+ return (m_usePalette ? m_customPalette : 0);
}
const QFont *Qt5CTPlatformTheme::font(QPlatformTheme::Font type) const

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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="+systray"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5=
dev-qt/qtwidgets:5
systray? ( dev-qt/qtgui:5[dbus] )
"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
"
PATCHES=( "${FILESDIR}/${P}-fix-kde-styles.patch" )
src_configure() {
eqmake5 DEFINES="$(usex systray '' QT_NO_SYSTEMTRAYICON)" ${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
}