1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit gnome2 versionator
9 DESCRIPTION="GNOME default icon theme"
10 HOMEPAGE="https://git.gnome.org/browse/adwaita-icon-theme/"
13 branding? ( http://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
16 || ( LGPL-3 CC-BY-SA-3.0 )
17 branding? ( CC-Sampling-Plus-1.0 )
21 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
24 >=x11-themes/hicolor-icon-theme-0.10
26 RDEPEND="${COMMON_DEPEND}
28 !<x11-themes/gnome-themes-standard-3.14
30 DEPEND="${COMMON_DEPEND}
31 >=dev-util/intltool-0.40
35 # This ebuild does not install any binaries
36 RESTRICT="binchecks strip"
40 for i in 16 22 24 32 48; do
41 cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \
42 "${S}"/Adwaita/${i}x${i}/places/start-here.png \
43 || die "Copying gentoo logos failed"
47 # Install cursors in the right place used in Gentoo
48 sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
49 -i "${S}"/Makefile.am \
50 -i "${S}"/Makefile.in || die
56 gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)