mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
### New libraries - meshoptimizer v1.0 - tomli-w 1.2.0 - Tracy 0.13.1 ### Updates of existing libraries - OpenShadingLanguage 1.15.3.0 - OpenPGL 0.7.1 - ThorVG 1.0.3 - OpenUSD 26.03 - OpenImageIO 3.1.13.1 - libpng 1.6.58 - DPC++ 6.3.0 - Embree 4.4.1 - Intel Graphics Compiler v2.30.1 - Manifold 3.4.1 - x265 4.1 - ROCm / HIP 7.1.1 / 7.1.51803 - libexpat 2.7.5 - libtiff 4.7.1 - mesa 25.3.6 - OpenEXR 3.4.10 - OpenSSL 3.5.6 - Python 3.13.13 - sqlite 3.51.3 - libxml2 2.14.6 - ffmpeg 8.1 - Draco 1.5.7 - SDL 3.4.2 Library changes tracking issue ref: #153974 Co-authored-by: Sebastian Parborg <sebastian@blender.org> Co-authored-by: Ray Molenkamp <github@lazydodo.com> Co-authored-by: Sahar A. Kashi <salipour@noreply.localhost> Co-authored-by: Nikita Sirgienko <nikita.sirgienko@intel.com> Co-authored-by: Bart van der Braak <bart@blender.org> Co-authored-by: Thomas Dinges <thomas@blender.org> Co-authored-by: Alaska <Alaskayou01@gmail.com> Pull Request: https://projects.blender.org/blender/blender/pulls/157180
71 lines
2 KiB
CMake
71 lines
2 KiB
CMake
# SPDX-FileCopyrightText: 2023 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(WAYLAND_WESTON_CONFIGURE_ENV ${CONFIGURE_ENV})
|
|
set(WAYLAND_WESTON_PKG_ENV "PKG_CONFIG_PATH=\
|
|
${LIBDIR}/wayland/lib64/pkgconfig:\
|
|
${LIBDIR}/wayland-protocols/share/pkgconfig:\
|
|
$PKG_CONFIG_PATH"
|
|
)
|
|
|
|
set(WAYLAND_WESTON_EXTRA_OPTIONS
|
|
-Dbackend-default=headless # For tests.
|
|
-Dbackend-drm-screencast-vaapi=false
|
|
-Dbackend-drm=false
|
|
-Dbackend-pipewire=false
|
|
-Dbackend-rdp=false
|
|
-Dbackend-vnc=false
|
|
-Dcolor-management-lcms=false
|
|
-Ddemo-clients=false
|
|
-Ddoc=false
|
|
-Dimage-jpeg=false
|
|
-Dimage-webp=false
|
|
-Dpipewire=false
|
|
-Dremoting=false
|
|
-Dscreenshare=false
|
|
-Dshell-fullscreen=false
|
|
-Dshell-ivi=false
|
|
-Dshell-kiosk=false
|
|
-Dsimple-clients=
|
|
-Dsystemd=false
|
|
-Dtest-junit-xml=false
|
|
-Dtools=
|
|
-Dwcap-decode=false
|
|
-Dxwayland=false
|
|
)
|
|
|
|
ExternalProject_Add(external_wayland_weston
|
|
URL file://${PACKAGE_DIR}/${WAYLAND_WESTON_FILE}
|
|
URL_HASH ${WAYLAND_WESTON_HASH_TYPE}=${WAYLAND_WESTON_HASH}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
PREFIX ${BUILD_DIR}/wayland_weston
|
|
|
|
# Notes:
|
|
# - Disable nearly everything as only a simple headless server is needed for testing.
|
|
# - Keep X11 and WAYLAND back-ends enabled so it's possible
|
|
# to run the instance inside existing X11/WAYLAND sessions (for debugging).
|
|
CONFIGURE_COMMAND ${WAYLAND_WESTON_CONFIGURE_ENV} &&
|
|
${CMAKE_COMMAND} -E env ${WAYLAND_WESTON_PKG_ENV}
|
|
${MESON} setup
|
|
--prefix ${LIBDIR}/wayland_weston
|
|
--libdir lib
|
|
${MESON_BUILD_TYPE}
|
|
${WAYLAND_WESTON_EXTRA_OPTIONS}
|
|
${BUILD_DIR}/wayland_weston/src/external_wayland_weston-build
|
|
${BUILD_DIR}/wayland_weston/src/external_wayland_weston
|
|
|
|
BUILD_COMMAND ninja
|
|
INSTALL_COMMAND ninja install
|
|
INSTALL_DIR ${LIBDIR}/wayland_weston
|
|
)
|
|
|
|
add_dependencies(
|
|
external_wayland_weston
|
|
external_wayland_protocols
|
|
external_wayland
|
|
# Needed for `MESON`.
|
|
external_python_site_packages
|
|
)
|
|
|
|
harvest(external_wayland_weston wayland_weston/ wayland_weston/ "*")
|