diff --git a/kde-apps/libksane/libksane-15.08.3.ebuild b/kde-apps/libksane/libksane-15.08.3.ebuild index 3d7fa77324d4a..2ad17a4d56f26 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 +}