mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 22:18:21 +01:00
79 lines
2.7 KiB
BlitzBasic
79 lines
2.7 KiB
BlitzBasic
SUMMARY = "Wayland bar for Wlroots based compositors"
|
|
DESCRIPTION = "Highly customizable Wayland bar for Sway and Wlroots based compositors."
|
|
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"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/Alexays/Waybar.git;protocol=https;branch=master \
|
|
file://waybar.service \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
PV = "0.11.0"
|
|
SRCREV = "d56dd6ee7fdf8c5ba4e90790af62b7f7829d3a47"
|
|
|
|
DEPENDS += " \
|
|
date \
|
|
fmt \
|
|
glib-2.0-native \
|
|
gtkmm3 \
|
|
jsoncpp \
|
|
libsigc++-3 \
|
|
libxkbcommon \
|
|
gtk+3 \
|
|
gtk-layer-shell \
|
|
gobject-introspection \
|
|
spdlog \
|
|
wayland \
|
|
wayland-native \
|
|
wayland-protocols \
|
|
"
|
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
PACKAGECONFIG[libcxx] = "-Dlibcxx=true,-Dlibcxx=false,libcxx clang-tidy"
|
|
PACKAGECONFIG[dbusmenu-gtk] = "-Ddbusmenu-gtk=enabled,-Ddbusmenu-gtk=disabled,libdbusmenu-gtk"
|
|
PACKAGECONFIG[evdev] = "-Dlibevdev=enabled,-Dlibevdev=disabled,libevdev"
|
|
PACKAGECONFIG[experimental] = "-Dexperimental=true,-Dexperimental=false"
|
|
PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
|
|
PACKAGECONFIG[libinput] = "-Dlibinput=enabled,-Dlibinput=disabled,libinput"
|
|
PACKAGECONFIG[logind] = "-Dlogind=enabled,-Dlogind=disabled,systemd"
|
|
PACKAGECONFIG[man_pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
|
|
PACKAGECONFIG[mpd] = "-Dmpd=enabled,-Dmpd=disabled,libmpdclient"
|
|
PACKAGECONFIG[mpris] = "-Dmpris=enabled,-Dmpris=disabled,playerctl"
|
|
PACKAGECONFIG[network] = "-Dlibnl=enabled,-Dlibnl=disabled,libnl"
|
|
PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=enabled,-Dpulseaudio=disabled,pulseaudio"
|
|
PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
|
|
PACKAGECONFIG[rfkill] = "-Drfkill=enabled,-Drfkill=disabled"
|
|
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
|
|
PACKAGECONFIG[tests] = "-Dtests=enabled,-Dtests=disabled,catch2"
|
|
PACKAGECONFIG[udev] = "-Dlibudev=enabled,-Dlibudev=disabled"
|
|
PACKAGECONFIG[upower_glib] = "-Dupower_glib=enabled,-Dupower_glib=disabled,upower"
|
|
PACKAGECONFIG[wireplumber] = "-Dwireplumber=enabled,-Dwireplumber=disabled,wireplumber"
|
|
|
|
PACKAGECONFIG ?= " \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd logind udev', '', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'pipewire', 'pipewire wireplumber', '', d)} \
|
|
evdev \
|
|
libinput \
|
|
mpris \
|
|
network \
|
|
rfkill \
|
|
upower_glib \
|
|
"
|
|
|
|
do_install:append() {
|
|
install -m 0644 ${UNPACKDIR}/waybar.service ${D}${systemd_user_unitdir}
|
|
}
|
|
|
|
FILES:${PN} += "${systemd_user_unitdir}"
|
|
|
|
RRECOMMENDS:${PN} += "font-awesome-otf"
|