Fix xwayland for sway

This commit is contained in:
sydarn 2024-03-18 16:23:38 +01:00
parent f645a88ddc
commit f44e5497d3
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ PKG_SHA256="a63b2df8722ee595695a0ec6c84bf29a055a9767e63d8e4c07ff568cb6ee0b51"
PKG_LICENSE="MIT" PKG_LICENSE="MIT"
PKG_SITE="https://swaywm.org/" PKG_SITE="https://swaywm.org/"
PKG_URL="https://github.com/swaywm/sway/releases/download/${PKG_VERSION}/sway-${PKG_VERSION}.tar.gz" PKG_URL="https://github.com/swaywm/sway/releases/download/${PKG_VERSION}/sway-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols libdrm libxkbcommon libinput cairo pango libjpeg-turbo dbus json-c wlroots gdk-pixbuf swaybg foot bemenu xcb-util-wm" PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols libdrm libxkbcommon libinput cairo pango libjpeg-turbo dbus json-c wlroots gdk-pixbuf swaybg foot bemenu xcb-util-wm xwayland xkbcomp"
PKG_LONGDESC="i3-compatible Wayland compositor" PKG_LONGDESC="i3-compatible Wayland compositor"
PKG_TOOLCHAIN="meson" PKG_TOOLCHAIN="meson"
@ -19,7 +19,7 @@ PKG_MESON_OPTS_TARGET="-Ddefault-wallpaper=false \
-Dfish-completions=false \ -Dfish-completions=false \
-Dswaybar=true \ -Dswaybar=true \
-Dswaynag=true \ -Dswaynag=true \
-Dxwayland=disabled \ -Dxwayland=enabled \
-Dtray=disabled \ -Dtray=disabled \
-Dgdk-pixbuf=enabled \ -Dgdk-pixbuf=enabled \
-Dman-pages=disabled \ -Dman-pages=disabled \

View file

@ -19,7 +19,7 @@ configure_package() {
} }
# to enable xwayland package: https://gitlab.freedesktop.org/xorg/lib/libxcb-wm/-/tree/master/icccm?ref_type=heads # to enable xwayland package: https://gitlab.freedesktop.org/xorg/lib/libxcb-wm/-/tree/master/icccm?ref_type=heads
PKG_MESON_OPTS_TARGET="-Dxcb-errors=disabled \ PKG_MESON_OPTS_TARGET="-Dxcb-errors=disabled \
-Dxwayland=disabled \ -Dxwayland=enabled \
-Dexamples=false \ -Dexamples=false \
-Drenderers=gles2 \ -Drenderers=gles2 \
-Dbackends=drm,libinput" -Dbackends=drm,libinput"