commit: 924c8851e543c8653cbfa577081fae8448a08e56 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Sat Jul 5 18:51:23 2014 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sat Jul 5 18:51:26 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=924c8851
[kde-base/baloo] Add experimental minimal USE flag. It removes files that collide with baloo:5. Package-Manager: portage-2.2.10 --- kde-base/baloo/baloo-4.13.49.9999.ebuild | 13 ++++++++++++- kde-base/baloo/baloo-4.9999.ebuild | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/kde-base/baloo/baloo-4.13.49.9999.ebuild b/kde-base/baloo/baloo-4.13.49.9999.ebuild index a0d1f47..0dc7089 100644 --- a/kde-base/baloo/baloo-4.13.49.9999.ebuild +++ b/kde-base/baloo/baloo-4.13.49.9999.ebuild @@ -8,7 +8,7 @@ inherit kde4-base DESCRIPTION="Next generation of the Nepomuk project" KEYWORDS="" -IUSE="+alternatekcm debug" +IUSE="+alternatekcm debug minimal" DEPEND=" $(add_kdebase_dep kdepimlibs) @@ -29,3 +29,14 @@ src_prepare() { kde4-base_src_prepare use alternatekcm && epatch "${FILESDIR}/${PN}-4.13.0-nokcm.patch" } + +src_install() { + kde4-base_src_install + + if use minimal ; then + rm "${D}"/usr/bin/baloo* + rm -r "${D}"/usr/share/dbus-1 + rm -r "${D}"/usr/share/icons + rm -r "${D}"/usr/share/polkit-1 + fi +} diff --git a/kde-base/baloo/baloo-4.9999.ebuild b/kde-base/baloo/baloo-4.9999.ebuild index a0d1f47..0dc7089 100644 --- a/kde-base/baloo/baloo-4.9999.ebuild +++ b/kde-base/baloo/baloo-4.9999.ebuild @@ -8,7 +8,7 @@ inherit kde4-base DESCRIPTION="Next generation of the Nepomuk project" KEYWORDS="" -IUSE="+alternatekcm debug" +IUSE="+alternatekcm debug minimal" DEPEND=" $(add_kdebase_dep kdepimlibs) @@ -29,3 +29,14 @@ src_prepare() { kde4-base_src_prepare use alternatekcm && epatch "${FILESDIR}/${PN}-4.13.0-nokcm.patch" } + +src_install() { + kde4-base_src_install + + if use minimal ; then + rm "${D}"/usr/bin/baloo* + rm -r "${D}"/usr/share/dbus-1 + rm -r "${D}"/usr/share/icons + rm -r "${D}"/usr/share/polkit-1 + fi +}