From: | Andreas Sturmlechner <asturm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: x11-themes/kfaenza/ |
Date: | Sat, 24 Jun 2017 15:56:25 |
Message-Id: | 1498319771.b1bebce1b74f31a806b3e8d0810c4409394b856d.asturm@gentoo |
1 | commit: b1bebce1b74f31a806b3e8d0810c4409394b856d |
2 | Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 | AuthorDate: Sat Jun 24 15:55:02 2017 +0000 |
4 | Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 | CommitDate: Sat Jun 24 15:56:11 2017 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1bebce1 |
7 | |
8 | x11-themes/kfaenza: Fix invalid file names |
9 | |
10 | ...with spaces. Stable revbump. |
11 | |
12 | Reported-by: Vit Pelcak <v.pelcak <AT> gmail.com> |
13 | Gentoo-bug: 620352 |
14 | |
15 | Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
16 | |
17 | x11-themes/kfaenza/kfaenza-0.8.9-r2.ebuild | 55 ++++++++++++++++++++++++++++++ |
18 | 1 file changed, 55 insertions(+) |
19 | |
20 | diff --git a/x11-themes/kfaenza/kfaenza-0.8.9-r2.ebuild b/x11-themes/kfaenza/kfaenza-0.8.9-r2.ebuild |
21 | new file mode 100644 |
22 | index 00000000000..b8a13c66e90 |
23 | --- /dev/null |
24 | +++ b/x11-themes/kfaenza/kfaenza-0.8.9-r2.ebuild |
25 | @@ -0,0 +1,55 @@ |
26 | +# Copyright 1999-2017 Gentoo Foundation |
27 | +# Distributed under the terms of the GNU General Public License v2 |
28 | + |
29 | +EAPI=6 |
30 | + |
31 | +MY_PN="KFaenza" |
32 | +DESCRIPTION="Faenza-Cupertino icon theme for KDE Plasma" |
33 | +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" |
34 | +#That is upstream location, not reupload. Don't fix |
35 | +SRC_URI="http://ompldr.org/vYjR0NQ/${P}.tar.gz |
36 | + http://kde-look.org/CONTENT/content-files/153813-${PN}-icon-patch-0.3.tar.gz |
37 | + additional? ( http://kde-look.org/CONTENT/content-files/147483-additional-KFaenza.tar.gz )" |
38 | + |
39 | +LICENSE="GPL-3" |
40 | +SLOT="0" |
41 | +KEYWORDS="amd64 x86" |
42 | +IUSE="+additional branding" |
43 | + |
44 | +S="${WORKDIR}/${MY_PN}" |
45 | +RESTRICT="binchecks strip" |
46 | + |
47 | +src_unpack() { |
48 | + unpack ${P}.tar.gz |
49 | + pushd "${S}" > /dev/null |
50 | + for tarball in ${A}; do |
51 | + [[ "${tarball}" == ${P}.tar.gz ]] && continue |
52 | + unpack "${tarball}" |
53 | + done |
54 | + popd > /dev/null |
55 | +} |
56 | + |
57 | +src_prepare() { |
58 | + default |
59 | + |
60 | + # Gentoo bug 620352 |
61 | + local f |
62 | + for f in 16 22 32 48; do |
63 | + mv apps/${f}/"numpty physics.png" apps/${f}/"numptyphysics.png" || die |
64 | + done |
65 | + |
66 | + use branding || return |
67 | + |
68 | + local res |
69 | + for res in 22 32 48 64 128 256; do |
70 | + cp "${S}"/places/${res}/start-here-gentoo.png \ |
71 | + "${S}"/places/${res}/start-here.png || die |
72 | + done |
73 | + cp "${S}"/places/scalable/start-here-gentoo.svg \ |
74 | + "${S}"/places/scalable/start-here.svg || die |
75 | +} |
76 | + |
77 | +src_install() { |
78 | + dodir /usr/share/icons |
79 | + cp -R "${S}/" "${D}"/usr/share/icons || die "Install failed!" |
80 | +} |