mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
Part-of: https://github.com/gentoo/guru/pull/447 Closes: https://github.com/gentoo/guru/pull/447 Signed-off-by: David Roman <stkw0@disroot.org>
50 lines
1016 B
Bash
50 lines
1016 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..13} )
|
|
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
|
|
}
|