meta-wayland/recipes-gtk/waybar/waybar_git.bb
2022-01-27 19:07:32 +01:00

67 lines
1.7 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[experimental] = "-Dexperimental=true,-Dexperimental=false"
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;branch=master"
S = "${WORKDIR}/git"
PV = "0.9.9"
SRCREV = "1540797cd93bd91517b7fb28b2a129cb8938381d"
inherit meson pkgconfig features_check
PACKAGES += "${PN}-systemd"
FILES:${PN}-systemd += "${libdir}/systemd"
BBCLASSEXTEND = ""