From de9275bb85b0d796ece690dbb51ec694ab660def Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jul 2017 19:16:06 +0100 Subject: remove unneded styles --- .../qt5-styleplugins/qt5-styleplugins-9999.ebuild | 32 -------------------- .../qt5-styleplugins/qt5-styleplugins-99999.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 32 deletions(-) delete mode 100644 dev-qt/qt5-styleplugins/qt5-styleplugins-9999.ebuild create mode 100644 dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild (limited to 'dev-qt/qt5-styleplugins') diff --git a/dev-qt/qt5-styleplugins/qt5-styleplugins-9999.ebuild b/dev-qt/qt5-styleplugins/qt5-styleplugins-9999.ebuild deleted file mode 100644 index 5dac9abb..00000000 --- a/dev-qt/qt5-styleplugins/qt5-styleplugins-9999.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit git-r3 qmake-utils - -DESCRIPTION="Additional style plugins for Qt" -HOMEPAGE="http://code.qt.io/cgit/qt/qtstyleplugins.git/" -LICENSE="LGPL" -SLOT="0" - -EGIT_REPO_URI="http://code.qt.io/cgit/qt/qtstyleplugins.git" -EGIT_BRANCH="master" -SRC_URI="" -KEYWORDS="~amd64" - -IUSE="" - -RDEPEND="dev-qt/qtcore:5 - x11-libs/gtk+:2 - x11-libs/libX11" -DEPEND="${RDEPEND}" - -src_configure() { - eqmake5 PREFIX="${D}"/usr -} - -src_install() { - emake INSTALL_ROOT="${D}" install -} diff --git a/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild b/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild new file mode 100644 index 00000000..032579e4 --- /dev/null +++ b/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit git-r3 qmake-utils eutils + +DESCRIPTION="Additional style plugins for Qt" +HOMEPAGE="http://code.qt.io/cgit/qt/qtstyleplugins.git/" +LICENSE="LGPL" +SLOT="0" + +EGIT_REPO_URI="http://code.qt.io/cgit/qt/qtstyleplugins.git" +EGIT_BRANCH="master" +SRC_URI="" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND="dev-qt/qtcore:5 + x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND}" + +src_configure() { + eqmake5 PREFIX="${D}"/usr +} + +src_install() { + emake INSTALL_ROOT="${D}" install + for style in libbb10styleplugin.so libqcleanlooksstyle.so libqmotifstyle.so libqplastiquestyle.so ; do + rm -rf ${ED}usr/$(get_libdir)/qt5/plugins/styles/"${style}" + done +} -- cgit v1.2.3