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

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger 2024-12-25 09:25:33 +01:00
parent c74c90a932
commit aa33ffcfa3
No known key found for this signature in database
GPG Key ID: 9DF5441454F67138
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST nwg-hello-0.3.0.tar.gz 1463865 BLAKE2B 84f0e13d140a7160022921831037719327e1c2fbd5e1f17cba5290f97db8632333c42ed2bf4691e44da33ebddca95de8808a25f36c7b6dd53ed3045c260b65c5 SHA512 350053d566cc9e351bda7f449cbabc51108f2263c04d4f87a17ad06a740c04601b4e8a02e0ec059c6a7061e224cc6d2103f7e80dff04e22f219f416d749a1203

View File

@ -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>pascal.jaeger@leimstift.de</email>
<name>Pascal Jaeger</name>
</maintainer>
<upstream>
<maintainer>
<name>Piotr Miller</name>
<email>nwg.piotr@gmail.com</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>

View File

@ -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
}