upstream updated clipper, so no workaround needed anymore

This commit is contained in:
lod 2025-06-22 22:58:53 +02:00
parent 5394cf9613
commit 947d14c2da
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = orca-slicer-git pkgbase = orca-slicer-git
pkgdesc = G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.) pkgdesc = G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
pkgver = 2.3.1.r25127.e13ec78 pkgver = 2.3.1.r25150.88fb818
pkgrel = 1 pkgrel = 1
url = https://github.com/SoftFever/OrcaSlicer url = https://github.com/SoftFever/OrcaSlicer
arch = x86_64 arch = x86_64

View file

@ -1,7 +1,7 @@
# Maintainer: lod <aur@cyber-anlage.de> # Maintainer: lod <aur@cyber-anlage.de>
pkgname=orca-slicer-git pkgname=orca-slicer-git
pkgver=2.3.1.r25127.e13ec78 pkgver=2.3.1.r25150.88fb818
pkgrel=1 pkgrel=1
pkgdesc="G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)" pkgdesc="G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)"
arch=('x86_64') arch=('x86_64')
@ -32,8 +32,7 @@ pkgver() {
prepare() { prepare() {
cd $pkgname cd $pkgname
# C++20 disallows the use of the Point<T> syntax in the constructor
sed -i 's/explicit Point<T>(/explicit Point(/' src/clipper2/Clipper2Lib/include/clipper2/clipper.core.h
# abuse FLATPAK IF statement to build against some system libs # abuse FLATPAK IF statement to build against some system libs
sed -i 's/if(FLATPAK)/if(true)/' deps/CMakeLists.txt sed -i 's/if(FLATPAK)/if(true)/' deps/CMakeLists.txt
} }