/[gentoo-x86]/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild
Gentoo

Contents of /x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Feb 7 22:57:23 2013 UTC (5 years, 5 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Move Creative Commons licenses to shorter names.

(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild,v 1.2 2012/05/07 08:49:52 ssuominen Exp $
4
5 EAPI=4
6 inherit gnome2-utils
7
8 DESCRIPTION="A nice and well polished icon theme"
9 HOMEPAGE="http://packages.ubuntu.com/lucid/human-icon-theme"
10 SRC_URI="mirror://ubuntu/pool/universe/h/${PN}/${PN}_${PV}.tar.gz
11 http://www.gentoo.org/images/gentoo-logo.svg"
12
13 LICENSE="CC-BY-SA-2.5"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RESTRICT="binchecks strip"
19
20 RDEPEND="|| ( x11-themes/tangerine-icon-theme x11-themes/gnome-icon-theme )"
21 DEPEND=">=gnome-base/librsvg-2.34
22 >=x11-misc/icon-naming-utils-0.8.90
23 dev-util/intltool
24 sys-devel/gettext"
25
26 S=${WORKDIR}/${PN}
27
28 DOCS="AUTHORS"
29
30 src_prepare() {
31 sed -i -e 's:lib/icon-naming-utils/icon:libexec/icon:' Makefile || die
32 sed -i -e '/SVGCONVERT/s:rsvg:&-convert:' svg2png.sh.in || die #414971
33
34 cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg || die
35
36 local res
37 for res in 22 32 48; do
38 rsvg-convert -w ${res} -h ${res} scalable/places/start-here.svg \
39 > ${res}x${res}/places/start-here.png || die
40 done
41 }
42
43 src_compile() {
44 emake index.theme
45 }
46
47 pkg_preinst() { gnome2_icon_savelist; }
48 pkg_postinst() { gnome2_icon_cache_update; }
49 pkg_postrm() { gnome2_icon_cache_update; }

  ViewVC Help
Powered by ViewVC 1.1.20