Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/human-icon-theme: metadata.xml ChangeLog human-icon-theme-0.36.ebuild
Date: Fri, 02 Apr 2010 16:19:01
Message-Id: E1NxjaF-0007PL-7f@stork.gentoo.org
1 ssuominen 10/04/02 16:18:59
2
3 Added: metadata.xml ChangeLog human-icon-theme-0.36.ebuild
4 Log:
5 Initial commit.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-themes/human-icon-theme/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>desktop-misc</herd>
20 </pkgmetadata>
21
22
23
24 1.1 x11-themes/human-icon-theme/ChangeLog
25
26 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/ChangeLog?rev=1.1&view=markup
27 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/ChangeLog?rev=1.1&content-type=text/plain
28
29 Index: ChangeLog
30 ===================================================================
31 # ChangeLog for x11-themes/human-icon-theme
32 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
33 # $Header: /var/cvsroot/gentoo-x86/x11-themes/human-icon-theme/ChangeLog,v 1.1 2010/04/02 16:18:59 ssuominen Exp $
34
35 *human-icon-theme-0.36 (02 Apr 2010)
36
37 02 Apr 2010; Samuli Suominen <ssuominen@g.o>
38 +human-icon-theme-0.36.ebuild:
39 Initial commit.
40
41
42
43
44 1.1 x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild?rev=1.1&content-type=text/plain
48
49 Index: human-icon-theme-0.36.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild,v 1.1 2010/04/02 16:18:59 ssuominen Exp $
54
55 EAPI=3
56 inherit gnome2-utils
57
58 DESCRIPTION="A nice and well polished icon theme"
59 HOMEPAGE="http://packages.ubuntu.com/lucid/human-icon-theme"
60 SRC_URI="mirror://ubuntu/pool/universe/h/${PN}/${PN}_${PV}.tar.gz
61 http://www.gentoo.org/images/gentoo-logo.svg"
62
63 LICENSE="CCPL-Attribution-ShareAlike-2.5"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 RDEPEND="|| ( x11-themes/tangerine-icon-theme x11-themes/gnome-icon-theme )"
69 DEPEND="gnome-base/librsvg
70 >=x11-misc/icon-naming-utils-0.8.90
71 dev-util/intltool
72 sys-devel/gettext"
73
74 S=${WORKDIR}/${PN}
75
76 RESTRICT="binchecks strip"
77
78 src_prepare() {
79 sed -i \
80 -e 's:lib/icon-naming-utils/icon:libexec/icon:' \
81 Makefile || die
82
83 cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg || die
84
85 local res
86 for res in 22 32 48; do
87 rsvg -w ${res} -h ${res} scalable/places/start-here.svg \
88 ${res}x${res}/places/start-here.png || die
89 done
90 }
91
92 src_compile() {
93 emake index.theme || die
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" install || die
98 dodoc AUTHORS
99 }
100
101 pkg_preinst() { gnome2_icon_savelist; }
102 pkg_postinst() { gnome2_icon_cache_update; }
103 pkg_postrm() { gnome2_icon_cache_update; }