Compare commits
1 commit
main
...
nightly_de
Author | SHA1 | Date | |
---|---|---|---|
4606866dad |
1 changed files with 9 additions and 12 deletions
21
PKGBUILD
21
PKGBUILD
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Lukas1818 aur at lukas1818 dot de
|
||||
|
||||
pkgname=superslicer-prerelease
|
||||
pkgver=2.4.58.1
|
||||
pkgver=nightly_dev
|
||||
_pkgtag=$pkgver
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
|
@ -9,18 +9,16 @@ pkgdesc="G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)"
|
|||
arch=("$CARCH")
|
||||
url="https://github.com/supermerill/SuperSlicer"
|
||||
license=('AGPL3')
|
||||
options=(!emptydirs)
|
||||
depends=('boost-libs>=1.73.0' 'cgal' 'glew' 'imath' 'libspnav' 'nlopt' 'openvdb' 'qhull>=2020.2-4' 'wxgtk3-dev-314-opt')
|
||||
makedepends=('boost>=1.73.0' 'cereal>=1.3.0' 'cmake' 'eigen' 'libigl' 'openvdb' 'samurai' 'wxgtk2-dev-314-opt') # cmake doesn't detect wx if not both gtk2 and gtk3 are installed
|
||||
options=(!emptydirs debug !strip)
|
||||
depends=('boost-libs>=1.73.0' 'cgal' 'glew' 'imath' 'libspnav' 'nlopt' 'openvdb' 'qhull>=2020.2-4' 'wxgtk3-dev-opt')
|
||||
makedepends=('boost>=1.73.0' 'cereal>=1.3.0' 'cmake' 'eigen' 'libigl' 'openvdb' 'samurai' 'wxgtk2-dev-opt') # cmake doesn't detect wx if not both gtk2 and gtk3 are installed
|
||||
optdepends=('superslicer-profiles: Predefined printer profiles')
|
||||
provides=("superslicer=$epoch:$pkgver")
|
||||
conflicts=('superslicer' 'superslicer-git')
|
||||
source=("https://github.com/supermerill/SuperSlicer/archive/$_pkgtag.tar.gz"
|
||||
"0001-wxgtk3-is-broken-on-wayland.patch"
|
||||
source=("https://github.com/supermerill/SuperSlicer/archive/refs/heads/nightly_dev.tar.gz"
|
||||
"0002-fix-cereal.patch"
|
||||
"0003-openexr3.patch")
|
||||
sha512sums=('332d36b1069ea2652c3ef527670f4fe2aead4d06f4c38fb4e833cf85cbf267577c4663dc2474fbcc2827226babf1fc78d7fe629c16a555f082784410da4e006d'
|
||||
'acf35ebe467e9fb30f1b77d15348f1a7b82dcf45a5b829e375e972b5d6b49968603b3fa090c4d1f56e8b5148e2b820e79afa269da60ace70de1ceadcf6e820c5'
|
||||
sha512sums=(SKIP
|
||||
'c3ba2d16140d445168681ff442bda12e87de22f8b94d59c32576bd7079ffe5864cce8e62cddd1ed47458f9eddcbd3e1a02645b0645aad6f2e0cb08a876bf783f'
|
||||
'840e51b8feb3568ff46d309ece063f7188018fcaa43d19ec50ede408fdf2c237a3b7eaa11ba24409d8c3f7d6f5fb270181508cc56e0b2b0fef68b766130ef1eb')
|
||||
|
||||
|
@ -34,7 +32,6 @@ prepare()
|
|||
sed -i 's,add_subdirectory(test),,g' src/CMakeLists.txt
|
||||
|
||||
# apply patches
|
||||
patch -Np1 -i "$srcdir/0001-wxgtk3-is-broken-on-wayland.patch"
|
||||
patch -Np1 -i "$srcdir/0002-fix-cereal.patch"
|
||||
patch -Np1 -i "$srcdir/0003-openexr3.patch"
|
||||
}
|
||||
|
@ -46,7 +43,7 @@ build()
|
|||
|
||||
cmake .. \
|
||||
-G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||
-DSLIC3R_FHS=ON \
|
||||
|
@ -55,8 +52,8 @@ build()
|
|||
-DSLIC3R_GTK=3 \
|
||||
-DSLIC3R_BUILD_TESTS=OFF \
|
||||
-DSLIC3R_ALPHA=ON \
|
||||
-DwxWidgets_CONFIG_EXECUTABLE=/opt/wxgtk-dev-314/bin/wx-config \
|
||||
-DCMAKE_CXX_FLAGS="-Wno-unused-command-line-argument -Wl,-rpath=/opt/wxgtk-dev-314/lib"
|
||||
-DwxWidgets_CONFIG_EXECUTABLE=/opt/wxgtk-dev/bin/wx-config \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-unused-command-line-argument -Wl,-rpath=/opt/wxgtk-dev/lib"
|
||||
|
||||
samu
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue