add upstream wrapper to Use Zink bypassing the problematic NVIDIA OpenGL stack while retaining hardware acceleration

This commit is contained in:
lod 2025-04-08 12:10:10 +02:00
parent b325a2ce7c
commit a7958b7866
3 changed files with 48 additions and 5 deletions

View file

@ -13,6 +13,7 @@ pkgbase = orca-slicer
makedepends = ninja
makedepends = pkgconf
makedepends = wayland-protocols
depends = bash
depends = cairo
depends = dbus
depends = expat
@ -36,14 +37,19 @@ pkgbase = orca-slicer
depends = wayland
depends = webkit2gtk-4.1
depends = zlib
optdepends = mesa: Enables Zink fallback workaround for NVIDIA on Wayland
optdepends = mesa-utils: for detecting renderer
optdepends = nvidia-utils: for querying driver version
provides = orca-slicer
options = !debug
options = !emptydirs
source = orca-slicer::git+https://github.com/SoftFever/OrcaSlicer.git#tag=v2.3.0
source = orca-slicer-wrapper.sh
source = https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e612154617ef715d6.patch
source = cmake-min-version.patch
source = wxWidgets-cmake-min-version.patch
b2sums = 543653c5769e2f022877608c14bad64ea05dbc30d41a58dc1a82eaca6615c0183f7573ced790a263b8509f6a4abdfa6b259ae0701a2468e10c15eb40d1926555
b2sums = 5475dc53f1364a7228e339da503bc8dc8b0a3d4f06bdd88734d59b8d02de84ccc35388ff27d13558b044d02326fded4a36df29056d555f1ae25033fd366353c1
b2sums = cc7791841533e07787a4921b688fdd885782a67320936d445ad04102a68e8e044b5bf52a58d987d158ae522ae4f02a56a3525ccfd1831ef6a3b6459be14bd408
b2sums = 562dcd07530faef0d9fdddf1e009075f67105c8239e4b1402cd890f7a89be8b11671dd6ecc7b55a155f2d05247070bb0b8ff84f2170ce2454ab818018be80e48
b2sums = 1459ce126dd80a891006d2c40a001e75dc146ac9eb6ad8e975a3e4672ebb914baabecd8a4048742fab03e2820242f614449dd23a8e721bd5c945c8765e986a5a