summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-20 19:23:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-20 19:23:14 +0100
commit71a63ed046316d93dde6fdde451b83a00bd5cb15 (patch)
treebe3782591658453f1a8d0cae1abbed1c4553492e
parentde9275bb85b0d796ece690dbb51ec694ab660def (diff)
also remove unwanted cmake files
-rw-r--r--dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild b/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild
index 032579e4..58290c36 100644
--- a/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild
+++ b/dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild
@@ -29,7 +29,12 @@ src_configure() {
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}"
+ # remove unwanted styles
+ for pluginfile in libbb10styleplugin.so libqcleanlooksstyle.so libqmotifstyle.so libqplastiquestyle.so ; do
+ rm -rf ${ED}usr/$(get_libdir)/qt5/plugins/styles/"${pluginfile}"
+ done
+ # remove unwanted cmake files
+ for plugincmake in Qt5Widgets_QBB10StylePlugin.cmake QCleanlooksStylePlugin.cmake Qt5Widgets_QMotifStylePlugin.cmake Qt5Widgets_QPlastiqueStylePlugin.cmake ; do
+ rm -rf ${ED}usr/$(get_libdir)/cmake/Qt5Widgets/"${plugincmake}"
done
}