From 71a63ed046316d93dde6fdde451b83a00bd5cb15 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jul 2017 19:23:14 +0100 Subject: also remove unwanted cmake files --- dev-qt/qt5-styleplugins/qt5-styleplugins-99999.ebuild | 9 +++++++-- 1 file 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 } -- cgit v1.2.3