Compare commits
3 commits
0c360af695
...
5866665fec
Author | SHA1 | Date | |
---|---|---|---|
|
5866665fec | ||
|
6280b56c86 | ||
|
1d0a94b949 |
3 changed files with 9 additions and 6 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -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.r25349.e44ec1f
|
pkgver = 2.3.1.r25462.90a6c53
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/SoftFever/OrcaSlicer
|
url = https://github.com/SoftFever/OrcaSlicer
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -30,6 +30,7 @@ pkgbase = orca-slicer-git
|
||||||
depends = hicolor-icon-theme
|
depends = hicolor-icon-theme
|
||||||
depends = libglvnd
|
depends = libglvnd
|
||||||
depends = libjpeg-turbo
|
depends = libjpeg-turbo
|
||||||
|
depends = libpng
|
||||||
depends = libspnav
|
depends = libspnav
|
||||||
depends = libx11
|
depends = libx11
|
||||||
depends = pango
|
depends = pango
|
||||||
|
@ -38,6 +39,7 @@ pkgbase = orca-slicer-git
|
||||||
depends = wayland
|
depends = wayland
|
||||||
depends = webkit2gtk-4.1
|
depends = webkit2gtk-4.1
|
||||||
depends = zlib
|
depends = zlib
|
||||||
|
depends = zstd
|
||||||
optdepends = mesa: Enables Zink fallback workaround for NVIDIA on Wayland
|
optdepends = mesa: Enables Zink fallback workaround for NVIDIA on Wayland
|
||||||
optdepends = mesa-utils: for detecting renderer
|
optdepends = mesa-utils: for detecting renderer
|
||||||
optdepends = nvidia-utils: for querying driver version
|
optdepends = nvidia-utils: for querying driver version
|
||||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -1,15 +1,15 @@
|
||||||
# Maintainer: lod <aur@cyber-anlage.de>
|
# Maintainer: lod <aur@cyber-anlage.de>
|
||||||
|
|
||||||
pkgname=orca-slicer-git
|
pkgname=orca-slicer-git
|
||||||
pkgver=2.3.1.r25349.e44ec1f
|
pkgver=2.3.1.r25462.90a6c53
|
||||||
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')
|
||||||
url="https://github.com/SoftFever/OrcaSlicer"
|
url="https://github.com/SoftFever/OrcaSlicer"
|
||||||
license=('AGPL-3.0-only')
|
license=('AGPL-3.0-only')
|
||||||
depends=('bash' 'cairo' 'dbus' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'gdk-pixbuf2' 'glib2' 'glibc'
|
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'
|
'gst-plugins-base-libs' 'gstreamer' 'gtk3' 'hicolor-icon-theme' 'libglvnd' 'libjpeg-turbo' 'libpng'
|
||||||
'libspnav' 'libx11' 'pango' 'python' 'ttf-nanum' 'wayland' 'webkit2gtk-4.1' 'zlib')
|
'libspnav' 'libx11' 'pango' 'python' 'ttf-nanum' 'wayland' 'webkit2gtk-4.1' 'zlib' 'zstd')
|
||||||
makedepends=('cmake' 'extra-cmake-modules' 'git' 'glew' 'libigl' 'm4' 'ninja' 'pkgconf' 'wayland-protocols')
|
makedepends=('cmake' 'extra-cmake-modules' 'git' 'glew' 'libigl' 'm4' 'ninja' 'pkgconf' 'wayland-protocols')
|
||||||
optdepends=('mesa: Enables Zink fallback workaround for NVIDIA on Wayland'
|
optdepends=('mesa: Enables Zink fallback workaround for NVIDIA on Wayland'
|
||||||
'mesa-utils: for detecting renderer'
|
'mesa-utils: for detecting renderer'
|
||||||
|
@ -67,7 +67,7 @@ build() {
|
||||||
ninja -C build
|
ninja -C build
|
||||||
|
|
||||||
# add localizations
|
# add localizations
|
||||||
./run_gettext.sh --full
|
./scripts//run_gettext.sh --full
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -8,8 +8,9 @@ export LC_ALL=C
|
||||||
# Use Zink to run OpenGL on top of Vulkan bypassing the problematic NVIDIA OpenGL stack while retaining hardware acceleration.
|
# Use Zink to run OpenGL on top of Vulkan bypassing the problematic NVIDIA OpenGL stack while retaining hardware acceleration.
|
||||||
if [ "$XDG_SESSION_TYPE" = "wayland" ] && [ "$ZINK_DISABLE_OVERRIDE" != "1" ]; then
|
if [ "$XDG_SESSION_TYPE" = "wayland" ] && [ "$ZINK_DISABLE_OVERRIDE" != "1" ]; then
|
||||||
if command -v glxinfo >/dev/null 2>&1; then
|
if command -v glxinfo >/dev/null 2>&1; then
|
||||||
|
VENDOR=$(glxinfo | grep "OpenGL vendor string:" | sed 's/.*: //')
|
||||||
RENDERER=$(glxinfo | grep "OpenGL renderer string:" | sed 's/.*: //')
|
RENDERER=$(glxinfo | grep "OpenGL renderer string:" | sed 's/.*: //')
|
||||||
if echo "$RENDERER" | grep -qi "NVIDIA"; then
|
if echo "$VENDOR $RENDERER" | grep -qi "NVIDIA"; then
|
||||||
if command -v nvidia-smi >/dev/null 2>&1; then
|
if command -v nvidia-smi >/dev/null 2>&1; then
|
||||||
DRIVER_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader | head -n1)
|
DRIVER_VERSION=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader | head -n1)
|
||||||
DRIVER_MAJOR=$(echo "$DRIVER_VERSION" | cut -d. -f1)
|
DRIVER_MAJOR=$(echo "$DRIVER_VERSION" | cut -d. -f1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue