diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild')
-rw-r--r-- | x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild b/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild new file mode 100644 index 000000000000..457528857ffc --- /dev/null +++ b/x11-themes/tangerine-icon-theme/tangerine-icon-theme-0.27.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit gnome2-utils + +DESCRIPTION="a derivative of the standard Tango theme, using a more orange approach" +HOMEPAGE="http://packages.ubuntu.com/gutsy/x11/tangerine-icon-theme" +SRC_URI="mirror://ubuntu/pool/universe/t/${PN}/${PN}_${PV}.tar.gz + https://www.gentoo.org/images/gentoo-logo.svg" + +LICENSE="CC-BY-SA-2.5 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="minimal" + +RESTRICT="binchecks strip" + +RDEPEND="!minimal? ( || ( x11-themes/adwaita-icon-theme kde-frameworks/oxygen-icons ) )" +DEPEND="dev-util/intltool + >=gnome-base/librsvg-2.34 + sys-devel/gettext + >=x11-misc/icon-naming-utils-0.8.90" + +DOCS="AUTHORS README" + +src_unpack() { + unpack ${PN}_${PV}.tar.gz +} + +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 16 22 32; do + rsvg-convert -w ${res} -h ${res} scalable/places/start-here.svg \ + > ${res}x${res}/places/start-here.png || die + done +} + +src_compile() { + emake index.theme +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |