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: Fri, 12 Feb 2021 07:31:23
Message-Id: 1613115070.ec05bde9c339d36fa20210ebd933a77fa919f625.juippis@gentoo
1 commit: ec05bde9c339d36fa20210ebd933a77fa919f625
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 12 07:30:48 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 12 07:31:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec05bde9
7
8 x11-themes/e-flat-theme: 2021-02-12 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_pre20210212.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 1d1e6c190c5..4d66893f73e 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_pre20210121.edj 45282525 BLAKE2B baf27345585d45ca57c2826271dcd377628ef6e733ee98a06020fb4c303034bbe7866cb8704cc33361019cfb00f186839972835e9119390caf833a7a51a0cb7a SHA512 dbced249ff0fc4fd775e8c6bba524a1636f02854f7ccd42d1c038f426edea2e12c1ec677e7e1666c7a1ff74d11cbcd96c8959997dae8f8f36eb77dbcdef84822
22 +DIST e-flat-theme-0_pre20210212.edj 45211061 BLAKE2B 591b10cf7c2ac001fdac007903625f642d7e02ca73c9ea600b5bcb05b83e8ae2a0eff3a8b4ef0f038f6a0c1aeb3b66ea56244ad12e84b1179c426b9868acdc59 SHA512 61b3a68e1a0c60e47b6b93b9fb7a874f3b8586625eabb7f2f5c4c70c70bfe43f3325c3bc4b9fe1041866a3697511a769326dab9e424443363a81ec8a5acfe0b3
23
24 diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20210212.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210212.ebuild
25 new file mode 100644
26 index 00000000000..d9b01189610
27 --- /dev/null
28 +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210212.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 2019-2021 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 +}