2023-12-27 12:53:44 +01:00
|
|
|
SUMMARY = "nwg-hello is a GTK3-based greeter for the greetd daemon, written in python."
|
|
|
|
LICENSE = "MIT"
|
2024-01-25 14:03:35 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b0ad99c75f37a759e329c5da4c8a7fcb"
|
2023-12-27 12:53:44 +01:00
|
|
|
|
|
|
|
SRC_URI = "git://github.com/nwg-piotr/nwg-hello.git;protocol=https;branch=main"
|
|
|
|
|
|
|
|
RDEPENDS:${PN} = " \
|
|
|
|
python3 \
|
|
|
|
greetd \
|
|
|
|
gtk+3 \
|
|
|
|
gtk-layer-shell \
|
|
|
|
"
|
|
|
|
|
|
|
|
RRECOMMENDS:${PN} = "gnome-themes-extra"
|
|
|
|
|
2023-12-28 07:34:11 +01:00
|
|
|
inherit setuptools3 useradd
|
2023-12-27 12:53:44 +01:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2023-12-31 15:13:44 +01:00
|
|
|
PV = "0.1.6"
|
2024-01-25 14:03:35 +01:00
|
|
|
SRCREV = "f89364d33b83ebd58a4b166ac328431e54327de4"
|
2023-12-27 12:53:44 +01:00
|
|
|
|
2023-12-28 07:34:11 +01:00
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
|
|
USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/bash greeter"
|
|
|
|
|
|
|
|
do_install:append() {
|
|
|
|
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ nwg-hello-default.json
|
|
|
|
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ nwg-hello-default.css
|
|
|
|
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ hyprland.conf
|
|
|
|
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ sway-config
|
|
|
|
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ README
|
|
|
|
install -D -m 644 -t ${D}${datadir}/nwg-hello/ nwg.jpg
|
|
|
|
install -D -m 644 -t ${D}${datadir}/nwg-hello/ img/*
|
|
|
|
|
|
|
|
install -d ${D}${localstatedir}/nwg-hello
|
|
|
|
install -D -m 644 -t ${D}${localstatedir}/nwg-hello cache.json -o greeter
|
|
|
|
}
|