diff --git a/recipes-support/yambar/yambar_git.bb b/recipes-support/yambar/yambar_git.bb new file mode 100644 index 0000000..0a075c1 --- /dev/null +++ b/recipes-support/yambar/yambar_git.bb @@ -0,0 +1,51 @@ +SUMMARY = "Modular status panel for X11 and Wayland." +HOMEPAGE = "https://codeberg.org/dnkl/yambar" +BUGTRACKER = "https://codeberg.org/dnkl/yambar/issues" +SECTION = "graphics" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=00b01b6aa1e1a7130832b0178f8d7485" + +SRC_URI = " \ + git://codeberg.org/dnkl/yambar.git;protocol=https;branch=releases/1.6 \ +" + +DEPENDS = " \ + libyaml \ + fcft \ + tllist \ + pixman \ + json-c \ + libmpdclient \ + alsa-lib \ + scdoc-native \ +" + +RRECOMMENDS_${PN} += " \ + font-awesome-otf \ +" + +inherit meson pkgconfig + +S = "${WORKDIR}/git" +PV = "1.6.1" +SRCREV = "${PV}" + +PACKAGECONFIG[wayland] = "-Dbackend-wayland=enabled,-Dbackend-wayland=disabled,wayland wayland-native wayland-protocols" +PACKAGECONFIG[x11] = "-Dbackend-x11=enabled,-Dbackend-x11=disabled,xcb-util xcb-util-cursor xcb-util-wm libxcb" +PACKAGECONFIG[systemd] = ",,systemd" +PACKAGECONFIG[sysvinit] = ",,eudev" + +PACKAGECONFIG ?= " \ + ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \ +" + +EXTRA_OEMESON += "--buildtype release" + +PACKAGES += "${PN}-zsh-completion" +FILES_${PN}-zsh-completion = "${datadir}/zsh" + +BBCLASSEXTEND = "" +