meta-wayland/recipes-gtk/nwg-shell/azote_git.bb
2022-03-01 09:50:43 +01:00

44 lines
1.0 KiB
BlitzBasic

SUMMARY = "Azote is a GTK+3 based frontend for swaybg."
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
SRC_URI = " \
git://github.com/nwg-piotr/azote.git;protocol=https;branch=master \
"
RDEPENDS:${PN} = " \
python3 \
gtk+3 \
python3-pygobject \
python3-pycairo \
python3-pillow \
python3-pkg-resources \
python3-send2trash \
imagemagick \
grim \
slurp \
swaybg \
"
inherit setuptools3
PYPA_WHEEL = "${S}/dist/azote-*-*.whl"
S = "${WORKDIR}/git"
PV = "1.9.1"
SRCREV = "c4ccd502c27fa6eb801a7b2b0636aed09e8c4a12"
do_install:append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/dist/azote ${D}${bindir}
install -m 644 ${S}/dist/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/dist/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/dist/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/dist/indicator_attention.png ${D}${datadir}/azote
}
FILES:${PN}:append = " \
${datadir} \
${bindir} \
"