From 5b6ff1608baf5d0af8605966c47cf09ec34832a5 Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Mon, 11 Feb 2013 17:49:30 +0000 Subject: Add missing and additional icons, use 'branding' use flag. Based on patch by Alexander Mezin (mezin.alexander at gmail.com), bug #456702 (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) --- x11-themes/kfaenza/ChangeLog | 12 ++++++-- x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild | 48 ++++++++++++++++++++++++++++++ x11-themes/kfaenza/metadata.xml | 3 ++ 3 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild (limited to 'x11-themes/kfaenza') diff --git a/x11-themes/kfaenza/ChangeLog b/x11-themes/kfaenza/ChangeLog index 8db08f87e671..7b49104a1ee8 100644 --- a/x11-themes/kfaenza/ChangeLog +++ b/x11-themes/kfaenza/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-themes/kfaenza -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/kfaenza/ChangeLog,v 1.6 2012/02/13 21:22:53 scarabeus Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/kfaenza/ChangeLog,v 1.7 2013/02/11 17:49:30 maksbotan Exp $ + +*kfaenza-0.8.9-r1 (11 Feb 2013) + + 11 Feb 2013; Maxim Koltsov +kfaenza-0.8.9-r1.ebuild, + metadata.xml: + Add missing and additional icons, use 'branding' use flag. Based on patch by + Alexander Mezin (mezin.alexander at gmail.com), bug #456702 13 Feb 2012; Tomáš Chvátal -kfaenza-0.8.8.ebuild, kfaenza-0.8.9.ebuild, metadata.xml: @@ -29,4 +36,3 @@ 15 Oct 2011; Maxim Koltsov +kfaenza-0.8.7.ebuild, +metadata.xml: Initial ebuild from bug #384569. Thanks to Adam . - diff --git a/x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild b/x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild new file mode 100644 index 000000000000..c16116727620 --- /dev/null +++ b/x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/kfaenza/kfaenza-0.8.9-r1.ebuild,v 1.1 2013/02/11 17:49:30 maksbotan Exp $ + +EAPI=4 + +MY_PN="KFaenza" +DESCRIPTION="Faenza-Cupertino icon theme for KDE" +HOMEPAGE="http://kde-look.org/content/show.php/KFaenza?content=143890 http://kde-look.org/content/show.php/KFaenza+icon+patch?content=153813 http://kde-look.org/content/show.php/Additional+KFaenza+Icons?content=147483" +#That is upstream location, not reupload. Don't fix +SRC_URI="http://ompldr.org/vYjR0NQ/${P}.tar.gz + http://kde-look.org/CONTENT/content-files/153813-kfaenza-icon-patch-0.3.tar.gz + additional? ( http://kde-look.org/CONTENT/content-files/147483-additional-KFaenza.tar.gz )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+additional branding" + +S="${WORKDIR}"/"${MY_PN}" +RESTRICT="binchecks strip" + +src_unpack() { + unpack ${P}.tar.gz + pushd "${S}" > /dev/null + for tarball in ${A}; do + [[ "${tarball}" == ${P}.tar.gz ]] && continue + unpack "${tarball}" + done + popd > /dev/null +} + +src_prepare() { + use branding || return + + local res + for res in 22 32 48 64 128 256; do + cp "${S}"/places/${res}/start-here-gentoo.png \ + "${S}"/places/${res}/start-here.png || die + done + cp "${S}"/places/scalable/start-here-gentoo.svg \ + "${S}"/places/scalable/start-here.svg || die +} + +src_install() { + dodir /usr/share/icons + cp -R "${S}/" "${D}"/usr/share/icons || die "Install failed!" +} diff --git a/x11-themes/kfaenza/metadata.xml b/x11-themes/kfaenza/metadata.xml index 6976921b9b68..50c03fe98d4f 100644 --- a/x11-themes/kfaenza/metadata.xml +++ b/x11-themes/kfaenza/metadata.xml @@ -6,4 +6,7 @@ maksbotan@gentoo.org Maxim Koltsov + + Install additional KFaenza icons. See third homepage for details + -- cgit v1.2.3-65-gdbad