Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/e-flat-theme/
Date: Mon, 27 Apr 2020 12:20:42
Message-Id: 1587990027.14264d2dd7d280a2a02f345fc6611fc6a22ad7bc.juippis@gentoo
1 commit: 14264d2dd7d280a2a02f345fc6611fc6a22ad7bc
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 12:12:01 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 27 12:20:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14264d2d
7
8 x11-themes/e-flat-theme: 2020-04-27 snapshot
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 x11-themes/e-flat-theme/Manifest | 1 +
13 .../e-flat-theme/e-flat-theme-0_pre20200427.ebuild | 43 ++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest
17 index a38a9712a71..811a7ffeea9 100644
18 --- a/x11-themes/e-flat-theme/Manifest
19 +++ b/x11-themes/e-flat-theme/Manifest
20 @@ -1 +1,2 @@
21 DIST e-flat-theme-0_pre20200401.edj 45838952 BLAKE2B 1f4180b120141c732a3ffacda6075eddb42e23ebf65a89e4f0efa904d52e1dc396c97eb0bd220fbf66d9847c866fd310aefbd48ed1360dbcbe5bbbb37b5bacef SHA512 20bed0c1630375a83db57c9019b8ddfa6302168c66d632b26eb25730cd916dcf5a621c962b4ffe659e8bcb90b555e7eec6a106e8d091e450cf1b58ac3c06a64f
22 +DIST e-flat-theme-0_pre20200427.edj 45737040 BLAKE2B 2cc6637da79452eb986d256c12037fec32ce86688e634268bf2c01f0507c2778b737fce2f6d92e13ba39a5a249004881f1a3171d2af8506774394459c0a38de6 SHA512 ad96572523c124db4093812eeac539ab2003c4d588b87ed037b52ba1894e47466005634dd3bdd9f2148d0f64f125a86ca5be66a671d03d7cf8829828cb8ee71c
23
24 diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20200427.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200427.ebuild
25 new file mode 100644
26 index 00000000000..1ce5c3e1bab
27 --- /dev/null
28 +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200427.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 2019-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="A modern, flat theme for Enlightenment WM"
36 +HOMEPAGE="https://www.enlightenment.org/ https://phab.enlightenment.org/T6726"
37 +SRC_URI="https://dev.gentoo.org/~juippis/distfiles/${P}.edj"
38 +
39 +LICENSE="LGPL-2.1"
40 +SLOT="0"
41 +KEYWORDS="amd64 ~arm ~ppc x86"
42 +
43 +RDEPEND="x11-wm/enlightenment"
44 +
45 +S="${WORKDIR}"
46 +
47 +src_prepare() {
48 + default
49 +
50 + # doins doesn't allow installing straight from DISTDIR.
51 + cp "${DISTDIR}"/${P}.edj . || die "Failed to prepare theme file."
52 +}
53 +
54 +src_configure() { :; }
55 +src_compile() { :; }
56 +
57 +src_install() {
58 + insinto /usr/share/elementary/themes/
59 + newins ${P}.edj flat-0.edj
60 +}
61 +
62 +pkg_postinst() {
63 + elog "You'll find e-flat-theme under System themes in theme selector."
64 +
65 + if [[ -n ${REPLACING_VERSIONS} ]]; then
66 + ewarn ""
67 + ewarn "You're updating flat-0 theme. Please reload Enlightenment"
68 + ewarn "through Menu -> Enlightenment -> Restart, or by issuing"
69 + ewarn " enlightenment -restart"
70 + ewarn ""
71 + fi
72 +}