x11-themes/e-flat-theme: new package
authorJoonas Niilola <juippis@gentoo.org>
Sat, 21 Dec 2019 09:33:50 +0000 (11:33 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 21 Dec 2019 09:38:59 +0000 (11:38 +0200)
A modern, "flat", work-in-progress theme for x11-wm/enlightenment. This
will become the default enlightenment theme when it's ready.
https://phab.enlightenment.org/T6726

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
x11-themes/e-flat-theme/Manifest [new file with mode: 0644]
x11-themes/e-flat-theme/e-flat-theme-0_pre20191220.ebuild [new file with mode: 0644]
x11-themes/e-flat-theme/metadata.xml [new file with mode: 0644]

diff --git a/x11-themes/e-flat-theme/Manifest b/x11-themes/e-flat-theme/Manifest
new file mode 100644 (file)
index 0000000..1f04151
--- /dev/null
@@ -0,0 +1 @@
+DIST e-flat-theme-0_pre20191220.edj 44123473 BLAKE2B f0c0f1aa127c228c174bf72ed6f126f5ec0562b7a3d3866140d08256afda68d9395efd0a6db62ddd8a7b7d97012f7e602485692c4e33be68f23bf1f0e3038e7e SHA512 a4b60d70efa2d2ee59aa1cf130e13855687af8a1f9689d905a547ca06b9d2d6c15068a267553d568f18cbfe77a5685b889a1c7b8afe3b97a8d8771c29502e681
diff --git a/x11-themes/e-flat-theme/e-flat-theme-0_pre20191220.ebuild b/x11-themes/e-flat-theme/e-flat-theme-0_pre20191220.ebuild
new file mode 100644 (file)
index 0000000..4e739c0
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 2019 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 ~x86"
+IUSE=""
+
+DEPEND=""
+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/
+       doins ${P}.edj
+}
+
+pkg_postinst() {
+       elog "You'll find e-flat-theme under System themes in theme selector."
+}
diff --git a/x11-themes/e-flat-theme/metadata.xml b/x11-themes/e-flat-theme/metadata.xml
new file mode 100644 (file)
index 0000000..6b0a0fb
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>juippis@gentoo.org</email>
+    <name>Joonas Niilola</name>
+  </maintainer>
+</pkgmetadata>