mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/qt5ct: remove old
Package-Manager: portage-2.3.2
This commit is contained in:
committed by
Michael Palimaka
parent
02f6df9acb
commit
e650f65ab0
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2016 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=""
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5=[dbus]
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
eqmake5 ${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
|
||||
echo
|
||||
elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user