commit:     e5877479d7aba1390eabcc313d79ee87fcd116db
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 08:16:57 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 08:19:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5877479

x11-themes/e-flat-theme: bump to 2020-08-24 snapshot

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-themes/e-flat-theme/Manifest                   |  1 +
 .../e-flat-theme/e-flat-theme-0_pre20200824.ebuild | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest
index 6f8ed893b19..e2aaa1f55f2 100644
--- a/x11-themes/e-flat-theme/Manifest
+++ b/x11-themes/e-flat-theme/Manifest
@@ -1 +1,2 @@
 DIST e-flat-theme-0_pre20200602.edj 45765496 BLAKE2B 
008560100983b3e00782d9cfa7e0b8fe329085245b98ff335b5a29520e2379cacfc5e3958c9d474605631dc7e79f114f4a6a2eb8d0729216ef657cbc06732e84
 SHA512 
84bc4b9e84de581090409836d7c057aac7d0af971733767cdf8f8d8584d7c8f4e35ddfc775616df757d9cced8f8ad408a07d7f0c6222207b4579e850cd5c505e
+DIST e-flat-theme-0_pre20200824.edj 45979784 BLAKE2B 
8b9d2ddba3c6cb213ded3768625ca900ed10292c918918afa9b29f2de83696fa83dc8c93865a9b5cb916875371d573012df4d5e734dc579b28f9e9cbceb475e0
 SHA512 
90774cd48e0f3de9fe1609836272de692339bd935ec1379a943f2bfa04f56a9b2cd091f5860eb570606ad517e3f01b6ae41c99caeb86b5f2755114e608736c15

diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20200824.ebuild 
b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200824.ebuild
new file mode 100644
index 00000000000..1ce5c3e1bab
--- /dev/null
+++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20200824.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A modern, flat theme for Enlightenment WM"
+HOMEPAGE="https://www.enlightenment.org/ https://phab.enlightenment.org/T6726";
+SRC_URI="https://dev.gentoo.org/~juippis/distfiles/${P}.edj";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+
+RDEPEND="x11-wm/enlightenment"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       default
+
+       # doins doesn't allow installing straight from DISTDIR.
+       cp "${DISTDIR}"/${P}.edj . || die "Failed to prepare theme file."
+}
+
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+       insinto /usr/share/elementary/themes/
+       newins ${P}.edj flat-0.edj
+}
+
+pkg_postinst() {
+       elog "You'll find e-flat-theme under System themes in theme selector."
+
+       if [[ -n ${REPLACING_VERSIONS} ]]; then
+               ewarn ""
+               ewarn "You're updating flat-0 theme. Please reload 
Enlightenment"
+               ewarn "through Menu -> Enlightenment -> Restart, or by issuing"
+               ewarn "  enlightenment -restart"
+               ewarn ""
+       fi
+}

Reply via email to