Install this version:
emerge -a =gui-apps/nwg-hello-0.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =gui-apps/nwg-hello-0.4.0
Or alternatively:
emerge --autounmask-write -a =gui-apps/nwg-hello-0.4.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.4.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_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
}
x11-libs/gtk+:3 gui-libs/gtk-layer-shell[introspection] gui-libs/greetd || ( gui-wm/hyprland gui-wm/sway )
x11-libs/gtk+:3 gui-libs/gtk-layer-shell[introspection] gui-libs/greetd || ( gui-wm/hyprland gui-wm/sway )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | nwg-hello-0.4.0.tar.gz | 1466709 bytes | https://github.com/nwg-piotr/nwg-hello/archive/v0.4.0.tar.gz |