meta-wayland/recipes-support/waybar/waybar_git.bb
2021-09-19 17:04:44 +02:00

66 lines
1.6 KiB
BlitzBasic

SUMMARY = "Wayland bar for Wlroots based compositors"
DESCRIPTION = "Highly customizable Wayland bar for Sway and Wlroots based compositors."
AUTHOR = ""
HOMEPAGE = "https://github.com/Alexays/Waybar"
BUGTRACKER = "https://github.com/Alexays/Waybar/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=98f7e9dc79966298d76caf1b0a6d35c1"
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
DEPENDS += " \
fmt \
glib-2.0-native \
gtkmm3 \
jsoncpp \
libevdev \
libsigc++-3 \
libxkbcommon \
gtk+3 \
gobject-introspection \
spdlog \
wayland \
wayland-native \
wayland-protocols \
"
PACKAGECONFIG[bluetooth] = "-Drfkill=enabled,-Drfkill=disabled"
PACKAGECONFIG[date] = ",,date"
PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
PACKAGECONFIG[gtk-layer-shell] = ",,gtk-layer-shell"
PACKAGECONFIG[mpd] = ",,libmpdclient"
PACKAGECONFIG[network] = ",,libnl"
PACKAGECONFIG[sysvinit] = ",,eudev"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
network \
gtk-layer-shell \
date \
"
RRECOMMENDS:${PN} += " \
font-awesome-otf \
"
SRC_URI = "git://github.com/Alexays/Waybar.git;protocol=https"
S = "${WORKDIR}/git"
PV = "0.9.8+${SRCREV}"
SRCREV = "cee08eccd116ede5c648b5e7dd03735a3cf3b42e"
inherit meson pkgconfig features_check
PACKAGES += "${PN}-systemd"
FILES:${PN}-systemd += "${libdir}/systemd"
BBCLASSEXTEND = ""