meta-wayland/recipes-gtk/nwg-shell/azote_git.bb

48 lines
1.1 KiB
BlitzBasic
Raw Normal View History

SUMMARY = "Azote is a GTK+3 based frontend for swaybg."
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
SRC_URI = " \
2021-11-23 17:16:27 +01:00
git://github.com/nwg-piotr/azote.git;protocol=https;branch=master \
"
2021-08-07 06:23:26 +02:00
RDEPENDS:${PN} = " \
2022-06-03 17:47:40 +02:00
azote-palettes \
python3 \
gtk+3 \
python3-pygobject \
python3-pycairo \
python3-pillow \
python3-pkg-resources \
python3-send2trash \
imagemagick \
grim \
slurp \
swaybg \
wlr-randr \
"
2023-02-09 16:33:48 +01:00
inherit setuptools3
S = "${WORKDIR}/git"
2023-03-30 09:52:49 +02:00
PV = "1.11.0"
SRCREV = "95372d8eac96c322d2c8e6a186c8481fc504dca4"
do_configure:prepend() {
2022-03-26 18:45:33 +01:00
[ -d ${S}/dist ] && mv ${S}/dist ${S}/distrib
}
2021-08-07 06:23:26 +02:00
do_install:append() {
2023-02-09 16:33:48 +01:00
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/distrib/azote ${D}${bindir}
install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote
}
2021-08-07 06:23:26 +02:00
FILES:${PN}:append = " \
${datadir} \
${bindir} \
"