use gcc14

This commit is contained in:
lod 2025-05-06 00:20:30 +02:00
parent caf9f8a69b
commit 04a5ed7fca
2 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: lod <aur@cyber-anlage.de>
pkgname=orca-slicer-git
pkgver=2.3.1.r24990.2349ea0
pkgver=2.3.1.r25035.241d097
pkgrel=1
pkgdesc="G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)"
arch=('x86_64')
@ -10,7 +10,7 @@ license=('AGPL-3.0-only')
depends=('bash' 'cairo' 'dbus' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc'
'gst-plugins-base-libs' 'gstreamer' 'gtk3' 'hicolor-icon-theme' 'libglvnd' 'libjpeg-turbo'
'libspnav' 'libtiff' 'libx11' 'pango' 'python' 'wayland' 'webkit2gtk-4.1' 'zlib')
makedepends=('cmake' 'extra-cmake-modules' 'git' 'glew' 'libigl' 'm4' 'ninja' 'pkgconf' 'wayland-protocols')
makedepends=('cmake' 'extra-cmake-modules' 'gcc14' 'gcc14-libs' 'git' 'glew' 'libigl' 'm4' 'ninja' 'pkgconf' 'wayland-protocols')
optdepends=('mesa: Enables Zink fallback workaround for NVIDIA on Wayland'
'mesa-utils: for detecting renderer'
'nvidia-utils: for querying driver version')
@ -47,6 +47,8 @@ build() {
cd $pkgname
export CXXFLAGS="${CXXFLAGS} -flto"
export CMAKE_POLICY_VERSION_MINIMUM=3.5
export CC=/usr/bin/gcc-14
export CXX=/usr/bin/g++-14
cmake \
-G Ninja \
@ -83,4 +85,3 @@ package() {
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/OrcaSlicer/LICENSE"
rm -rf "$pkgdir/usr/LICENSE.txt"
}