commit:     aa33ffcfa34b0c72412734dd3e97d4535c015539
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Wed Dec 25 08:25:33 2024 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Wed Dec 25 09:02:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa33ffcf

gui-apps/nwg-hello: new package, add 0.3.0

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 gui-apps/nwg-hello/Manifest               |  1 +
 gui-apps/nwg-hello/metadata.xml           | 16 ++++++++++
 gui-apps/nwg-hello/nwg-hello-0.3.0.ebuild | 49 +++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/gui-apps/nwg-hello/Manifest b/gui-apps/nwg-hello/Manifest
new file mode 100644
index 000000000..d34db35f1
--- /dev/null
+++ b/gui-apps/nwg-hello/Manifest
@@ -0,0 +1 @@
+DIST nwg-hello-0.3.0.tar.gz 1463865 BLAKE2B 
84f0e13d140a7160022921831037719327e1c2fbd5e1f17cba5290f97db8632333c42ed2bf4691e44da33ebddca95de8808a25f36c7b6dd53ed3045c260b65c5
 SHA512 
350053d566cc9e351bda7f449cbabc51108f2263c04d4f87a17ad06a740c04601b4e8a02e0ec059c6a7061e224cc6d2103f7e80dff04e22f219f416d749a1203

diff --git a/gui-apps/nwg-hello/metadata.xml b/gui-apps/nwg-hello/metadata.xml
new file mode 100644
index 000000000..374c76400
--- /dev/null
+++ b/gui-apps/nwg-hello/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <email>[email protected]</email>
+        <name>Pascal Jaeger</name>
+    </maintainer>
+    <upstream>
+        <maintainer>
+            <name>Piotr Miller</name>
+            <email>[email protected]</email>
+        </maintainer>
+        <bugs-to>https://github.com/nwg-piotr/nwg-hello/issues</bugs-to>
+        <remote-id type="github">nwg-piotr/nwg-hello</remote-id>
+    </upstream>
+</pkgmetadata>

diff --git a/gui-apps/nwg-hello/nwg-hello-0.3.0.ebuild 
b/gui-apps/nwg-hello/nwg-hello-0.3.0.ebuild
new file mode 100644
index 000000000..4f1a077b7
--- /dev/null
+++ b/gui-apps/nwg-hello/nwg-hello-0.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1
+
+DESCRIPTION="GTK3-based greeter for greetd written in python "
+HOMEPAGE="https://github.com/nwg-piotr/nwg-hello";
+SRC_URI="https://github.com/nwg-piotr/nwg-hello/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       x11-libs/gtk+:3
+       gui-libs/gtk-layer-shell[introspection]
+       gui-libs/greetd
+       || ( gui-wm/hyprland gui-wm/sway )
+"
+# gui-wm/swayfx)
+
+DEPEND="${RDEPEND}"
+
+python_install_all() {
+       # dodir /etc/nwg-hello
+       insinto /etc/nwg-hello
+       doins nwg-hello-default.json
+       doins nwg-hello-default.css
+       doins hyprland.conf
+       doins sway-config
+       doins README
+       # dodir /usr/share/nwg-hello
+       insinto /usr/share/nwg-hello
+       doins nwg.jpg
+       doins img/*
+
+       # dodir /var/cache/nwg-hello
+       # insinto /var/cache/nwg-hello
+       # doins cache.json
+
+       dodoc README.md
+
+       distutils-r1_python_install_all
+}

Reply via email to