# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" inherit autotools gnome2 versionator MATE_BRANCH="$(get_version_component_range 1-2)" SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" DESCRIPTION="Faenza icon theme, that was adapted for MATE desktop" HOMEPAGE="http://mate-desktop.org" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="minimal" RDEPEND="!minimal? ( >=x11-themes/mate-icon-theme-1.8:0 ) x11-themes/hicolor-icon-theme:0" RESTRICT="binchecks strip" src_prepare() { # Remove broken libreoffice icons (dangling symlinks). rm matefaenza/apps/16/*libreoffice* || die # https://github.com/mate-desktop/mate-icon-theme-faenza/issues/13 eautoreconf }