mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 06:24:28 +02:00
drop '_git' from recipes
This commit is contained in:
75
recipes-gtk/waybar/waybar_0.13.0.bb
Normal file
75
recipes-gtk/waybar/waybar_0.13.0.bb
Normal file
@ -0,0 +1,75 @@
|
||||
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=3cdb43104ea94958cd76fefa0ddf6c89"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/Alexays/Waybar.git;protocol=https;branch=master \
|
||||
"
|
||||
|
||||
SRCREV = "0fcda9afa519eb84deda68c051f7938a6c6bdbce"
|
||||
|
||||
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 manpages
|
||||
|
||||
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[manpages] = "-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() {
|
||||
sed -i "s|Requisite=graphical-session.target||" ${D}${systemd_user_unitdir}/waybar.service
|
||||
}
|
||||
|
||||
FILES:${PN} += "${systemd_user_unitdir}"
|
||||
|
||||
RRECOMMENDS:${PN} += "font-awesome-otf"
|
Reference in New Issue
Block a user