kde-apps/libksane: Add USE=minimal to solve conflicts with libksane:5
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Thu, 7 Apr 2016 20:25:58 +0000 (22:25 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 8 Apr 2016 16:06:30 +0000 (02:06 +1000)
/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

index 3d7fa77324d4aefe580ee852440f0bb7b304f578..2ad17a4d56f26c3d41826c5b87381489ac44d877 100644 (file)
@@ -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
+}