mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 13:38:22 +01:00
yambar: add recipe
This commit is contained in:
parent
7c73ec8ccf
commit
dfcf2025ea
51
recipes-support/yambar/yambar_git.bb
Normal file
51
recipes-support/yambar/yambar_git.bb
Normal file
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user