diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2014-07-06 04:51:23 +1000 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2014-07-06 04:51:26 +1000 |
| commit | 924c8851e543c8653cbfa577081fae8448a08e56 (patch) | |
| tree | 7a1347042d248326e5a5a7feacb2c456ffc2e742 | |
| parent | 363d516d2a897e133b0a013f52ea50c97d406f03 (diff) | |
| download | kde-924c8851e543c8653cbfa577081fae8448a08e56.tar.gz kde-924c8851e543c8653cbfa577081fae8448a08e56.tar.bz2 kde-924c8851e543c8653cbfa577081fae8448a08e56.zip | |
[kde-base/baloo] Add experimental minimal USE flag.
It removes files that collide with baloo:5.
Package-Manager: portage-2.2.10
| -rw-r--r-- | kde-base/baloo/baloo-4.13.49.9999.ebuild | 13 | ||||
| -rw-r--r-- | 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 a0d1f47c150..0dc70896193 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 a0d1f47c150..0dc70896193 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 +} |
