commit: 235cc6e45b1e63cc0463372452143d9b54f167ea Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Tue Mar 30 07:24:44 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Tue Mar 30 07:25:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235cc6e4
x11-themes/e-flat-theme: bump to 2021-03-30 snapshot - flat theme has been merged to master branch upstream, this will most likely be the last snapshot release for this theme before new efl/enlightenment. Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-themes/e-flat-theme/Manifest | 1 + .../e-flat-theme/e-flat-theme-0_pre20210330.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest index bc22623660f..cd66d187fc5 100644 --- a/x11-themes/e-flat-theme/Manifest +++ b/x11-themes/e-flat-theme/Manifest @@ -1 +1,2 @@ DIST e-flat-theme-0_pre20210315.edj 45126549 BLAKE2B 7daccefe83a24ba33714f0b76f4340024a4f98c6ed8e128fad9922e1eb7eab78efc0ddd553876afde192fe4a4b82abeadad2b9f91d808c8321da820f83a04a6a SHA512 8f024aaae1cc949a84bfee4b5b3486b2cd24b50ed05e96a0c8c0e2e958d1963d1007c2af4344ee9acfc91b71891a88a7a513cfd68f866bebffa323c29f3ac755 +DIST e-flat-theme-0_pre20210330.edj 44891525 BLAKE2B 478ca3b566875ac82cbbd59510ef66b803c3bfd353bccf018f4e105a8c351d8a778b301c9483b9cd295cdc0b373a7a6f872a96c4dabf04a7230a6865960f4cc0 SHA512 e2f28b1d19807f949b48719916e1795cae08d616e1bac20a7b7b5b9f028fdd6ddb91b82bffb079e01fe271465cc6002a67cfc022402818d527ae601943d1a90e 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 new file mode 100644 index 00000000000..d9b01189610 --- /dev/null +++ b/x11-themes/e-flat-theme/e-flat-theme-0_pre20210330.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 +}
