mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-25 21:18:21 +01:00
sway-1.10: add recipe
This commit is contained in:
parent
195c338af9
commit
2ae533205d
65
recipes-wlroots/sway/sway-1.10_git.bb
Normal file
65
recipes-wlroots/sway/sway-1.10_git.bb
Normal file
@ -0,0 +1,65 @@
|
||||
|
||||
SUMMARY = "A Wayland WM"
|
||||
HOMEPAGE = "https://github.com/swaywm/sway"
|
||||
BUGTRACKER = "https://github.com/swaywm/sway/issues"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "MIT"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfc67e5b1fa10ebb4b70eb0c0ca67bea"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
DEPENDS += " \
|
||||
wlroots-0.18 \
|
||||
cairo \
|
||||
libevdev \
|
||||
json-c \
|
||||
libdrm \
|
||||
libinput \
|
||||
libxkbcommon \
|
||||
pango \
|
||||
pcre2 \
|
||||
pixman \
|
||||
virtual/libgles2 \
|
||||
wayland \
|
||||
wayland-native \
|
||||
wayland-protocols \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} = "swaybg python3 python-i3ipc"
|
||||
|
||||
RRECOMMENDS:${PN} ?= " \
|
||||
foot \
|
||||
jq \
|
||||
grim \
|
||||
slurp \
|
||||
wl-clipboard \
|
||||
sway-contrib \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=v1.10"
|
||||
|
||||
SRCREV = "c93ff73051682913bf0238d15d6ee25d9a3e1a08"
|
||||
PV = "1.10"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig features_check
|
||||
|
||||
PACKAGECONFIG[basu] = "-Dsd-bus-provider=basu,,basu"
|
||||
PACKAGECONFIG[default-wallpaper] = "-Ddefault-wallpaper=true,-Ddefault-wallpaper=false"
|
||||
PACKAGECONFIG[elogind] = "-Dsd-bus-provider=libelogind,,elogind"
|
||||
PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
|
||||
PACKAGECONFIG[swaybar] = "-Dswaybar=true,-Dswaybar=false"
|
||||
PACKAGECONFIG[swaynag] = "-Dswaynag=true,-Dswaynag=false"
|
||||
PACKAGECONFIG[systemd] = "-Dsd-bus-provider=libsystemd,,systemd"
|
||||
PACKAGECONFIG[tray] = "-Dtray=enabled,-Dtray=disabled"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
default-wallpaper \
|
||||
gdk-pixbuf \
|
||||
"
|
||||
|
||||
EXTRA_OEMESON += "--buildtype release"
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
Loading…
Reference in New Issue
Block a user