meta-wayland/recipes-support/yambar/yambar_git.bb
2022-02-20 11:17:55 +01:00

53 lines
1.4 KiB
BlitzBasic

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=master \
"
DEPENDS = " \
libyaml \
fcft \
tllist \
pixman \
json-c \
alsa-lib \
scdoc-native \
"
RRECOMMENDS:${PN} += " \
font-awesome-otf \
"
inherit meson pkgconfig
S = "${WORKDIR}/git"
PV = "1.8.0"
SRCREV = "3cc142a27302adbb4a314ea95c901a5216b06d98"
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[mpd] = "-Dplugin-mpd=enabled,-Dplugin-mpd=disabled,libmpdclient"
PACKAGECONFIG[shared-plugins] = "-Dcore-plugins-as-shared-libraries=true,-Dcore-plugins-as-shared-libraries=false"
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 = ""