commit: c5091264d32eaf691d79c1d65cd10ccae715c9d7 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Mon Mar 15 08:12:21 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Mar 15 08:51:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5091264
x11-themes/e-flat-theme: bump to 2021-03-15 snapshot Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-themes/e-flat-theme/Manifest | 1 + .../e-flat-theme/e-flat-theme-0_pre20210315.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest index 9333e8dfd7c..7ff779454c4 100644 --- a/x11-themes/e-flat-theme/Manifest +++ b/x11-themes/e-flat-theme/Manifest @@ -1 +1,2 @@ DIST e-flat-theme-0_pre20210225.edj 45154749 BLAKE2B d87edfd408a05e852180b3a12a85e148cbc0005326a24bd5bf918ba57dd478daad677a2e81a1b8c396576d1e7b5c2ea1fff9722064aa68cad7cbf11862869cd3 SHA512 bbbf6c161eb764695e0eb572c6488a3c3abc0ec86511bdb99fdb43e8f74d59c12d562e877871e3aa8fd8076a56e20bc932cce9f5ad477a69f42ab84db829f612 +DIST e-flat-theme-0_pre20210315.edj 45126549 BLAKE2B 7daccefe83a24ba33714f0b76f4340024a4f98c6ed8e128fad9922e1eb7eab78efc0ddd553876afde192fe4a4b82abeadad2b9f91d808c8321da820f83a04a6a SHA512 8f024aaae1cc949a84bfee4b5b3486b2cd24b50ed05e96a0c8c0e2e958d1963d1007c2af4344ee9acfc91b71891a88a7a513cfd68f866bebffa323c29f3ac755 diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20210315.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210315.ebuild new file mode 100644 index 00000000000..d9b01189610 --- /dev/null +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210315.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019-2021 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 +}