Initial commit.
authorSamuli Suominen <ssuominen@gentoo.org>
Fri, 2 Apr 2010 16:18:59 +0000 (16:18 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Fri, 2 Apr 2010 16:18:59 +0000 (16:18 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

x11-themes/human-icon-theme/ChangeLog [new file with mode: 0644]
x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild [new file with mode: 0644]
x11-themes/human-icon-theme/metadata.xml [new file with mode: 0644]

diff --git a/x11-themes/human-icon-theme/ChangeLog b/x11-themes/human-icon-theme/ChangeLog
new file mode 100644 (file)
index 0000000..3ae8178
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for x11-themes/human-icon-theme
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/human-icon-theme/ChangeLog,v 1.1 2010/04/02 16:18:59 ssuominen Exp $
+
+*human-icon-theme-0.36 (02 Apr 2010)
+
+  02 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +human-icon-theme-0.36.ebuild:
+  Initial commit.
+
diff --git a/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild b/x11-themes/human-icon-theme/human-icon-theme-0.36.ebuild
new file mode 100644 (file)
index 0000000..291c2d2
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI=3
+inherit gnome2-utils
+
+DESCRIPTION="A nice and well polished icon theme"
+HOMEPAGE="http://packages.ubuntu.com/lucid/human-icon-theme"
+SRC_URI="mirror://ubuntu/pool/universe/h/${PN}/${PN}_${PV}.tar.gz
+       http://www.gentoo.org/images/gentoo-logo.svg"
+
+LICENSE="CCPL-Attribution-ShareAlike-2.5"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| ( x11-themes/tangerine-icon-theme x11-themes/gnome-icon-theme )"
+DEPEND="gnome-base/librsvg
+       >=x11-misc/icon-naming-utils-0.8.90
+       dev-util/intltool
+       sys-devel/gettext"
+
+S=${WORKDIR}/${PN}
+
+RESTRICT="binchecks strip"
+
+src_prepare() {
+       sed -i \
+               -e 's:lib/icon-naming-utils/icon:libexec/icon:' \
+               Makefile || die
+
+       cp "${DISTDIR}"/gentoo-logo.svg scalable/places/start-here.svg || die
+
+       local res
+       for res in 22 32 48; do
+               rsvg -w ${res} -h ${res} scalable/places/start-here.svg \
+                       ${res}x${res}/places/start-here.png || die
+       done
+}
+
+src_compile() {
+       emake index.theme || die
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die
+       dodoc AUTHORS
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/x11-themes/human-icon-theme/metadata.xml b/x11-themes/human-icon-theme/metadata.xml
new file mode 100644 (file)
index 0000000..540f810
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>desktop-misc</herd>
+</pkgmetadata>