meta-wayland/recipes-support/yambar/yambar_git.bb
Markus Volk 49dbb1b91d avoid tags in SRCREV
update some recipes on the way
2022-02-01 05:08:34 +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.7.0"
SRCREV = "1d9297593e0d78d87a88e74aaed83c8cff285e5b"
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 = ""