From 75076001ab8cdd3f914650ea1ad28f6b37dbfb34 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 25 Nov 2023 12:35:55 +0100 Subject: [PATCH] sway: update --- recipes-wlroots/sway/sway-1.9.bb | 70 ++++++++++++++++++++++++++++++++ recipes-wlroots/sway/sway_git.bb | 4 +- 2 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 recipes-wlroots/sway/sway-1.9.bb diff --git a/recipes-wlroots/sway/sway-1.9.bb b/recipes-wlroots/sway/sway-1.9.bb new file mode 100644 index 0000000..792f908 --- /dev/null +++ b/recipes-wlroots/sway/sway-1.9.bb @@ -0,0 +1,70 @@ + +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.17 \ + 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.9" + +SRCREV = "064b279e9b04646e66165f1fab14f950d9d2b3df" +PV = "1.9" +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[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,libxcb xcb-util-wm" + +PACKAGECONFIG ?= " \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd xwayland', d)} \ + default-wallpaper \ + gdk-pixbuf \ +" + +EXTRA_OEMESON += "--buildtype release" + +FILES:${PN}:append = " \ + ${datadir} \ +" + +BBCLASSEXTEND = "" diff --git a/recipes-wlroots/sway/sway_git.bb b/recipes-wlroots/sway/sway_git.bb index fd09f1f..846dada 100644 --- a/recipes-wlroots/sway/sway_git.bb +++ b/recipes-wlroots/sway/sway_git.bb @@ -39,8 +39,8 @@ RRECOMMENDS:${PN} ?= " \ SRC_URI = "git://github.com/swaywm/sway.git;protocol=https;branch=master" -SRCREV = "020a572ed615b8fe272c7566a27ee0abe73a58d7" -PV = "1.9-dev" +SRCREV = "bc7d15d64da1d8b97d52928b8f9ce5688c8dbdd0" +PV = "1.10-dev" S = "${WORKDIR}/git" inherit meson pkgconfig features_check