meta-wayland/recipes-support/yambar/yambar_git.bb

63 lines
2.4 KiB
BlitzBasic
Raw Normal View History

2021-07-08 08:19:31 +02:00
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 = " \
2021-12-15 08:41:17 +01:00
git://codeberg.org/dnkl/yambar.git;protocol=https;branch=master \
2021-07-08 08:19:31 +02:00
"
DEPENDS = " \
2023-03-30 09:48:59 +02:00
bison-native \
2021-07-08 08:19:31 +02:00
libyaml \
fcft \
2023-08-30 08:18:33 +02:00
fmt \
2021-07-08 08:19:31 +02:00
tllist \
pixman \
alsa-lib \
scdoc-native \
"
2023-08-30 08:18:33 +02:00
RRECOMMENDS:${PN} += "font-awesome-otf"
2021-07-08 08:19:31 +02:00
inherit meson pkgconfig
S = "${WORKDIR}/git"
2023-08-30 08:18:33 +02:00
PV = "1.10.0"
SRCREV = "9a111a52f5312fe2bd7d9dbd5326d52895a165ee"
2021-07-08 08:19:31 +02:00
PACKAGECONFIG[wayland] = "-Dbackend-wayland=enabled,-Dbackend-wayland=disabled,wayland wayland-native wayland-protocols"
2023-08-30 08:18:33 +02:00
PACKAGECONFIG[x11] = "-Dbackend-x11=enabled -Dplugin-x11-xkb=enabled,-Dbackend-x11=disabled -Dplugin-x11-xkb=disabled,xcb-util xcb-util-cursor xcb-util-wm libxcb"
2021-12-15 08:41:17 +01:00
PACKAGECONFIG[mpd] = "-Dplugin-mpd=enabled,-Dplugin-mpd=disabled,libmpdclient"
PACKAGECONFIG[shared-plugins] = "-Dcore-plugins-as-shared-libraries=true,-Dcore-plugins-as-shared-libraries=false"
2023-08-30 08:18:33 +02:00
PACKAGECONFIG[alsa] = "-Dplugin-alsa=enabled,-Dplugin-alsa=disabled,alsa-lib"
PACKAGECONFIG[pulseaudio] = "-Dplugin-pulse=enabled,-Dplugin-pulse=disabled,pulseaudio"
PACKAGECONFIG[pipewire] = "-Dplugin-pipewire=enabled,-Dplugin-pipewire=disabled,pipewire"
PACKAGECONFIG[sway] = "-Dplugin-i3=enabled -Dplugin-sway-xkb=enabled,-Dplugin-i3=disabled -Dplugin-sway-xkb=disabled,json-c"
PACKAGECONFIG[cpu] = "-Dplugin-cpu=enabled,-Dplugin-cpu=disabled"
PACKAGECONFIG[mem] = "-Dplugin-mem=enabled,-Dplugin-mem=disabled"
PACKAGECONFIG[backlight] = "-Dplugin-backlight=enabled,-Dplugin-backlight=disabled,udev"
PACKAGECONFIG[clock] = "-Dplugin-clock=enabled,-Dplugin-clock=disabled"
PACKAGECONFIG[battery] = "-Dplugin-battery=enabled,-Dplugin-battery=disabled"
PACKAGECONFIG[disk-io] = "-Dplugin-disk-io=enabled,-Dplugin-disk-io=disabled"
PACKAGECONFIG[network] = "-Dplugin-network=enabled,-Dplugin-network=disabled"
PACKAGECONFIG[script] = "-Dplugin-script=enabled,-Dplugin-script=disabled"
2021-07-08 08:19:31 +02:00
PACKAGECONFIG ?= " \
2023-08-30 08:18:33 +02:00
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 pulseaudio alsa pipewire', d)} \
shared-plugins cpu mem disk-io battery clock network script sway \
2021-07-08 08:19:31 +02:00
"
2023-08-30 08:18:33 +02:00
CFLAGS += "-Wno-format-truncation"
2021-07-08 08:19:31 +02:00
EXTRA_OEMESON += "--buildtype release"
PACKAGES += "${PN}-zsh-completion"
2021-08-07 06:23:26 +02:00
FILES:${PN}-zsh-completion = "${datadir}/zsh"
2021-07-08 08:19:31 +02:00
BBCLASSEXTEND = ""