gnome-icon-theme-3.12.0-r1.ebuild (1274B)
1 # Copyright 1999-2017 Gentoo Foundation 2 # Distributed under the terms of the GNU General Public License v2 3 4 EAPI="5" 5 GCONF_DEBUG="no" 6 7 inherit gnome2 8 9 DESCRIPTION="GNOME default icon theme" 10 HOMEPAGE="https://www.gnome.org/ https://people.freedesktop.org/~jimmac/icons/#git" 11 12 SRC_URI="${SRC_URI} 13 branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )" 14 15 LICENSE="|| ( LGPL-3 CC-BY-SA-3.0 ) 16 branding? ( CC-BY-SA-4.0 )" 17 SLOT="0" 18 IUSE="branding" 19 KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" 20 21 RDEPEND=">=x11-themes/hicolor-icon-theme-0.10" 22 DEPEND="${RDEPEND} 23 >=x11-misc/icon-naming-utils-0.8.7 24 >=dev-util/intltool-0.40 25 sys-devel/gettext 26 virtual/pkgconfig 27 " 28 # This ebuild does not install any binaries 29 RESTRICT="binchecks strip" 30 31 src_prepare() { 32 if use branding; then 33 for i in 16 22 24 32 48; do 34 cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \ 35 "${S}"/gnome//${i}x${i}/places/start-here.png \ 36 || die "Copying gentoo logos failed" 37 done 38 fi 39 40 gnome2_src_prepare 41 } 42 43 src_configure() { 44 gnome2_src_configure \ 45 --enable-icon-mapping \ 46 GTK_UPDATE_ICON_CACHE=$(type -P true) 47 }