meta-wayland/recipes-gtk/waybar/waybar_git.bb
2021-12-18 07:30:25 +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.8+${SRCREV}"
SRCREV = "b6e24bd527f365921905b8fee75131df7d993a26"
inherit meson pkgconfig features_check
PACKAGES += "${PN}-systemd"
FILES:${PN}-systemd += "${libdir}/systemd"
BBCLASSEXTEND = ""