mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
weston: updated to 6.0.0 / switched to meson toolchain
- use cairo-image to fix segfault when using cairo-glesv2
This commit is contained in:
parent
5220391ae9
commit
a2ca748afb
@ -2,43 +2,46 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="weston"
|
PKG_NAME="weston"
|
||||||
PKG_VERSION="3.0.0"
|
PKG_VERSION="6.0.0"
|
||||||
PKG_SHA256="cde1d55e8dd70c3cbb3d1ec72f60e60000041579caa1d6a262bd9c35e93723a5"
|
PKG_SHA256="546323a90607b3bd7f48809ea9d76e64cd09718102f2deca6d95aa59a882e612"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="https://wayland.freedesktop.org/"
|
PKG_SITE="https://wayland.freedesktop.org/"
|
||||||
PKG_URL="https://wayland.freedesktop.org/releases/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
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_DEPENDS_TARGET="toolchain wayland-protocols libdrm libxkbcommon libinput cairo libjpeg-turbo dbus"
|
||||||
PKG_LONGDESC="Reference implementation of a Wayland compositor"
|
PKG_LONGDESC="Reference implementation of a Wayland compositor"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="CFLAGS=-DMESA_EGL_NO_X11_HEADERS \
|
PKG_MESON_OPTS_TARGET="-Dbackend-drm-screencast-vaapi=false \
|
||||||
LIBS=-lturbojpeg \
|
-Dbackend-headless=false \
|
||||||
--with-cairo-glesv2 \
|
-Dbackend-rdp=false \
|
||||||
--disable-xwayland \
|
-Dscreenshare=false \
|
||||||
--disable-x11-compositor \
|
-Dbackend-x11=false \
|
||||||
--disable-xwayland-test \
|
-Dbackend-fbdev=false \
|
||||||
--disable-libunwind \
|
-Dweston-launch=false \
|
||||||
--disable-colord \
|
-Dxwayland=false \
|
||||||
--disable-ivi-shell \
|
-Dremoting=false \
|
||||||
--disable-fbdev-compositor \
|
-Dshell-fullscreen=false \
|
||||||
--disable-rdp-compositor \
|
-Dshell-ivi=false \
|
||||||
--disable-screen-sharing \
|
-Dcolor-management-lcms=false \
|
||||||
--disable-vaapi-recorder \
|
-Dcolor-management-colord=false \
|
||||||
--disable-headless-compositor \
|
-Dimage-webp=false \
|
||||||
--enable-systemd-login \
|
-Dsimple-dmabuf-drm=intel \
|
||||||
--disable-weston-launch \
|
-Ddemo-clients=false \
|
||||||
--disable-fullscreen-shell \
|
-Dsimple-clients=egl \
|
||||||
--disable-demo-clients-install \
|
-Dresize-pool=false \
|
||||||
--enable-systemd-notify"
|
-Dwcap-decode=false \
|
||||||
|
-Dtest-junit-xml=false"
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
mkdir -p $INSTALL/usr/lib/weston
|
mkdir -p ${INSTALL}/usr/lib/weston
|
||||||
cp $PKG_DIR/scripts/weston-config $INSTALL/usr/lib/weston
|
cp ${PKG_DIR}/scripts/weston-config ${INSTALL}/usr/lib/weston
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/weston
|
mkdir -p ${INSTALL}/usr/share/weston
|
||||||
cp $PKG_DIR/config/weston.ini $INSTALL/usr/share/weston
|
cp ${PKG_DIR}/config/weston.ini ${INSTALL}/usr/share/weston
|
||||||
|
|
||||||
rm -r $INSTALL/usr/share/wayland-sessions
|
safe_remove ${INSTALL}/usr/share/wayland-sessions
|
||||||
rm -r $INSTALL/usr/lib/weston-simple-im
|
safe_remove ${INSTALL}/usr/bin/weston-calibrator
|
||||||
|
safe_remove ${INSTALL}/usr/bin/weston-simple-*
|
||||||
|
safe_remove ${INSTALL}/usr/bin/weston-touch-calibrator
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user