1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-14 01:08:22 +01:00
meta-rpi-diya/recipes-support/sfwbar/sfwbar_git.bb
2023-07-27 12:40:46 +02:00

33 lines
1014 B
BlitzBasic

DESCRIPTION = "sfwbar pannel for wayland"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
DEPENDS = "gtk+3 gtk-layer-shell json-c wayland-native"
SRCREV = "${AUTOREV}"
SRC_URI = "git://github.com/LBCrion/sfwbar.git;protocol=https;branch=main"
SRC_URI += " file://sfwbar.config file://icon.svg "
S="${WORKDIR}/git"
inherit meson pkgconfig
EXTRA_OEMESON += "--buildtype release"
do_install:append () {
install -d ${D}/${sysconfdir}/sfwbar/
install -m 0755 ${WORKDIR}/sfwbar.config ${D}/${sysconfdir}/sfwbar/
install -d ${D}/usr/share
install -d ${D}/usr/share/icons
install -d ${D}/usr/share/icons/hicolor
install -d ${D}/usr/share/icons/hicolor/scalable
install -d ${D}/usr/share/icons/hicolor/scalable/actions/
install -m 0755 ${WORKDIR}/icon.svg ${D}/usr/share/icons/hicolor/scalable/actions/show-desktop.svg
}
FILES:${PN} += "/usr/share/icons/*"