mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 05:09:55 +00:00
64 lines
2.6 KiB
Makefile
64 lines
2.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="weston"
|
|
PKG_VERSION="13.0.0"
|
|
PKG_SHA256="52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://wayland.freedesktop.org/"
|
|
PKG_URL="https://gitlab.freedesktop.org/wayland/weston/-/releases/${PKG_VERSION}/downloads/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols libdrm libxkbcommon libinput cairo pango libjpeg-turbo dbus seatd"
|
|
PKG_LONGDESC="Reference implementation of a Wayland compositor"
|
|
|
|
PKG_MESON_OPTS_TARGET="-Dbackend-drm=true \
|
|
-Dbackend-drm-screencast-vaapi=false \
|
|
-Dbackend-headless=false \
|
|
-Dbackend-pipewire=false \
|
|
-Dbackend-rdp=false \
|
|
-Dscreenshare=false \
|
|
-Dbackend-vnc=false \
|
|
-Dbackend-wayland=false \
|
|
-Dbackend-x11=false \
|
|
-Dbackend-default=drm \
|
|
-Drenderer-gl=true \
|
|
-Dxwayland=false \
|
|
-Dsystemd=true \
|
|
-Dremoting=false \
|
|
-Dpipewire=false \
|
|
-Dshell-desktop=true \
|
|
-Dshell-fullscreen=false \
|
|
-Dshell-ivi=false \
|
|
-Dshell-kiosk=false \
|
|
-Ddesktop-shell-client-default="weston-desktop-shell" \
|
|
-Dcolor-management-lcms=false \
|
|
-Dimage-jpeg=true \
|
|
-Dimage-webp=false \
|
|
-Dtools=['terminal']
|
|
-Ddemo-clients=false \
|
|
-Dsimple-clients=[] \
|
|
-Dresize-pool=false \
|
|
-Dwcap-decode=false \
|
|
-Dtest-junit-xml=false \
|
|
-Dtest-skip-is-failure=false \
|
|
-Ddoc=false"
|
|
|
|
pre_configure_target() {
|
|
# weston does not build with NDEBUG (requires assert for tests)
|
|
export TARGET_CFLAGS=$(echo ${TARGET_CFLAGS} | sed -e "s|-DNDEBUG||g")
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
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
|
|
find_file_path "splash/splash-2160.png" && cp ${FOUND_PATH} ${INSTALL}/usr/share/weston/libreelec-wallpaper-2160.png
|
|
|
|
safe_remove ${INSTALL}/usr/share/wayland-sessions
|
|
}
|
|
|
|
post_install() {
|
|
enable_service weston.service
|
|
}
|