commit:     e8c0260e9f9af14e7d473276a2139149994ce346
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Apr  7 20:25:58 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 16:06:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c0260e

kde-apps/libksane: Add USE=minimal to solve conflicts with libksane:5

/usr/share/icons/hicolor/16x16/actions/black-white.png
/usr/share/icons/hicolor/16x16/actions/color.png
/usr/share/icons/hicolor/16x16/actions/gray-scale.png

Package-Manager: portage-2.2.27

 kde-apps/libksane/libksane-15.08.3.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/kde-apps/libksane/libksane-15.08.3.ebuild 
b/kde-apps/libksane/libksane-15.08.3.ebuild
index 3d7fa77..2ad17a4 100644
--- a/kde-apps/libksane/libksane-15.08.3.ebuild
+++ b/kde-apps/libksane/libksane-15.08.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,10 +8,18 @@ inherit kde4-base
 
 DESCRIPTION="SANE Library interface for KDE"
 KEYWORDS="amd64 x86"
-IUSE="debug"
+IUSE="debug minimal"
 LICENSE="LGPL-2"
 
 DEPEND="
        media-gfx/sane-backends
 "
 RDEPEND="${DEPEND}"
+
+src_install() {
+       kde4-base_src_install
+
+       if use minimal ; then
+               rm -r "${ED}"usr/share/icons || die
+       fi
+}

Reply via email to