diff --git a/packages/wayland/weston/package.mk b/packages/wayland/weston/package.mk index 7c2a4ddb49..77a214e04b 100644 --- a/packages/wayland/weston/package.mk +++ b/packages/wayland/weston/package.mk @@ -2,43 +2,46 @@ # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) PKG_NAME="weston" -PKG_VERSION="3.0.0" -PKG_SHA256="cde1d55e8dd70c3cbb3d1ec72f60e60000041579caa1d6a262bd9c35e93723a5" +PKG_VERSION="6.0.0" +PKG_SHA256="546323a90607b3bd7f48809ea9d76e64cd09718102f2deca6d95aa59a882e612" PKG_LICENSE="OSS" PKG_SITE="https://wayland.freedesktop.org/" PKG_URL="https://wayland.freedesktop.org/releases/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_TARGET="toolchain wayland-protocols libdrm libxkbcommon libinput cairo libjpeg-turbo dbus" PKG_LONGDESC="Reference implementation of a Wayland compositor" -PKG_CONFIGURE_OPTS_TARGET="CFLAGS=-DMESA_EGL_NO_X11_HEADERS \ - LIBS=-lturbojpeg \ - --with-cairo-glesv2 \ - --disable-xwayland \ - --disable-x11-compositor \ - --disable-xwayland-test \ - --disable-libunwind \ - --disable-colord \ - --disable-ivi-shell \ - --disable-fbdev-compositor \ - --disable-rdp-compositor \ - --disable-screen-sharing \ - --disable-vaapi-recorder \ - --disable-headless-compositor \ - --enable-systemd-login \ - --disable-weston-launch \ - --disable-fullscreen-shell \ - --disable-demo-clients-install \ - --enable-systemd-notify" +PKG_MESON_OPTS_TARGET="-Dbackend-drm-screencast-vaapi=false \ + -Dbackend-headless=false \ + -Dbackend-rdp=false \ + -Dscreenshare=false \ + -Dbackend-x11=false \ + -Dbackend-fbdev=false \ + -Dweston-launch=false \ + -Dxwayland=false \ + -Dremoting=false \ + -Dshell-fullscreen=false \ + -Dshell-ivi=false \ + -Dcolor-management-lcms=false \ + -Dcolor-management-colord=false \ + -Dimage-webp=false \ + -Dsimple-dmabuf-drm=intel \ + -Ddemo-clients=false \ + -Dsimple-clients=egl \ + -Dresize-pool=false \ + -Dwcap-decode=false \ + -Dtest-junit-xml=false" post_makeinstall_target() { - mkdir -p $INSTALL/usr/lib/weston - cp $PKG_DIR/scripts/weston-config $INSTALL/usr/lib/weston + mkdir -p ${INSTALL}/usr/lib/weston + cp ${PKG_DIR}/scripts/weston-config ${INSTALL}/usr/lib/weston - mkdir -p $INSTALL/usr/share/weston - cp $PKG_DIR/config/weston.ini $INSTALL/usr/share/weston + mkdir -p ${INSTALL}/usr/share/weston + cp ${PKG_DIR}/config/weston.ini ${INSTALL}/usr/share/weston - rm -r $INSTALL/usr/share/wayland-sessions - rm -r $INSTALL/usr/lib/weston-simple-im + safe_remove ${INSTALL}/usr/share/wayland-sessions + safe_remove ${INSTALL}/usr/bin/weston-calibrator + safe_remove ${INSTALL}/usr/bin/weston-simple-* + safe_remove ${INSTALL}/usr/bin/weston-touch-calibrator } post_install() {