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: Tue, 30 Mar 2021 07:25:37
Message-Id: 1617089121.235cc6e45b1e63cc0463372452143d9b54f167ea.juippis@gentoo
1 commit: 235cc6e45b1e63cc0463372452143d9b54f167ea
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 07:24:44 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 07:25:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235cc6e4
7
8 x11-themes/e-flat-theme: bump to 2021-03-30 snapshot
9
10 - flat theme has been merged to master branch upstream, this will most likely
11 be the last snapshot release for this theme before new efl/enlightenment.
12
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 x11-themes/e-flat-theme/Manifest | 1 +
16 .../e-flat-theme/e-flat-theme-0_pre20210330.ebuild | 43 ++++++++++++++++++++++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest
20 index bc22623660f..cd66d187fc5 100644
21 --- a/x11-themes/e-flat-theme/Manifest
22 +++ b/x11-themes/e-flat-theme/Manifest
23 @@ -1 +1,2 @@
24 DIST e-flat-theme-0_pre20210315.edj 45126549 BLAKE2B 7daccefe83a24ba33714f0b76f4340024a4f98c6ed8e128fad9922e1eb7eab78efc0ddd553876afde192fe4a4b82abeadad2b9f91d808c8321da820f83a04a6a SHA512 8f024aaae1cc949a84bfee4b5b3486b2cd24b50ed05e96a0c8c0e2e958d1963d1007c2af4344ee9acfc91b71891a88a7a513cfd68f866bebffa323c29f3ac755
25 +DIST e-flat-theme-0_pre20210330.edj 44891525 BLAKE2B 478ca3b566875ac82cbbd59510ef66b803c3bfd353bccf018f4e105a8c351d8a778b301c9483b9cd295cdc0b373a7a6f872a96c4dabf04a7230a6865960f4cc0 SHA512 e2f28b1d19807f949b48719916e1795cae08d616e1bac20a7b7b5b9f028fdd6ddb91b82bffb079e01fe271465cc6002a67cfc022402818d527ae601943d1a90e
26
27 diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20210330.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210330.ebuild
28 new file mode 100644
29 index 00000000000..d9b01189610
30 --- /dev/null
31 +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210330.ebuild
32 @@ -0,0 +1,43 @@
33 +# Copyright 2019-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="A modern, flat theme for Enlightenment WM"
39 +HOMEPAGE="https://www.enlightenment.org/ https://phab.enlightenment.org/T6726"
40 +SRC_URI="https://dev.gentoo.org/~juippis/distfiles/${P}.edj"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="0"
44 +KEYWORDS="amd64 ~arm ~ppc x86"
45 +
46 +RDEPEND="x11-wm/enlightenment"
47 +
48 +S="${WORKDIR}"
49 +
50 +src_prepare() {
51 + default
52 +
53 + # doins doesn't allow installing straight from DISTDIR.
54 + cp "${DISTDIR}"/${P}.edj . || die "Failed to prepare theme file."
55 +}
56 +
57 +src_configure() { :; }
58 +src_compile() { :; }
59 +
60 +src_install() {
61 + insinto /usr/share/elementary/themes/
62 + newins ${P}.edj flat-0.edj
63 +}
64 +
65 +pkg_postinst() {
66 + elog "You'll find e-flat-theme under System themes in theme selector."
67 +
68 + if [[ -n ${REPLACING_VERSIONS} ]]; then
69 + ewarn ""
70 + ewarn "You're updating flat-0 theme. Please reload Enlightenment"
71 + ewarn "through Menu -> Enlightenment -> Restart, or by issuing"
72 + ewarn " enlightenment -restart"
73 + ewarn ""
74 + fi
75 +}