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: Wed, 19 Feb 2020 11:32:28
Message-Id: 1582111935.2ee674d86c9d739cb2aa94bbec538080720c06aa.juippis@gentoo
1 commit: 2ee674d86c9d739cb2aa94bbec538080720c06aa
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 19 11:30:31 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 19 11:32:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee674d8
7
8 x11-themes/e-flat-theme: bump to 0_pre20200216
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_pre20200216.ebuild | 45 ++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest
17 index 85fe3b2d382..805d5ced9cd 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_pre20191230.edj 44142224 BLAKE2B 95d7431720f5b0ae3b2c1c96fd83264a02c5ee6758116ea44b0ae8260e79c73c06ad0d9461647f80b45caae6098b49b9152ac5a4f6fb7cf6f17119ed21ba7699 SHA512 6dfb1e1f6faaab7071829994c2ca82f68ff09a2a4c76a14311f55fe3238cb69c4563647c0434d880407e3d5eabbff3395591b3e3eeee8ac890a30bcfe281335b
22 +DIST e-flat-theme-0_pre20200216.edj 44070056 BLAKE2B df63fd32d0de42723fcb9c6d70d4d9a57d202f1d8b75d308d52e578b4374a3526a47d3fb4099b1b630081602897b562e7c0c3952fe80e9d649de34d770d8482a SHA512 4bf289c86e59e1a676792f0d9fd23b34cb6d81642a87ce3cd5a1097622b35aec72d9fb238873571b1ef8507972126918688f41879f7ce424ab7932da59860457
23
24 diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20200216.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200216.ebuild
25 new file mode 100644
26 index 00000000000..ef6778985ac
27 --- /dev/null
28 +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200216.ebuild
29 @@ -0,0 +1,45 @@
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 +IUSE=""
43 +
44 +DEPEND=""
45 +RDEPEND="x11-wm/enlightenment"
46 +
47 +S="${WORKDIR}"
48 +
49 +src_prepare() {
50 + default
51 +
52 + # doins doesn't allow installing straight from DISTDIR.
53 + cp "${DISTDIR}"/${P}.edj . || die "Failed to prepare theme file."
54 +}
55 +
56 +src_configure() { :; }
57 +src_compile() { :; }
58 +
59 +src_install() {
60 + insinto /usr/share/elementary/themes/
61 + newins ${P}.edj flat-0.edj
62 +}
63 +
64 +pkg_postinst() {
65 + elog "You'll find e-flat-theme under System themes in theme selector."
66 +
67 + if [[ -n ${REPLACING_VERSIONS} ]]; then
68 + ewarn ""
69 + ewarn "You're updating flat-0 theme. Please reload Enlightenment"
70 + ewarn "through Menu -> Enlightenment -> Restart, or by issuing"
71 + ewarn " enlightenment -restart"
72 + ewarn ""
73 + fi
74 +}