upstream release 2.3.0
This commit is contained in:
parent
4e3f63a640
commit
163d7ebd48
2 changed files with 25 additions and 28 deletions
24
.SRCINFO
24
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = orca-slicer
|
||||
pkgdesc = G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
|
||||
pkgver = 2.2.0
|
||||
pkgver = 2.3.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/SoftFever/OrcaSlicer
|
||||
arch = x86_64
|
||||
|
@ -8,43 +8,37 @@ pkgbase = orca-slicer
|
|||
makedepends = cmake
|
||||
makedepends = extra-cmake-modules
|
||||
makedepends = git
|
||||
makedepends = glew
|
||||
makedepends = m4
|
||||
makedepends = ninja
|
||||
makedepends = pkgconf
|
||||
makedepends = wayland-protocols
|
||||
makedepends = glew
|
||||
depends = cairo
|
||||
depends = curl
|
||||
depends = dbus
|
||||
depends = expat
|
||||
depends = fontconfig
|
||||
depends = freetype2
|
||||
depends = gcc-libs
|
||||
depends = gdk-pixbuf2
|
||||
depends = glib2
|
||||
depends = glibc
|
||||
depends = gtk3
|
||||
depends = gdk-pixbuf2
|
||||
depends = gst-plugins-base-libs
|
||||
depends = gstreamer
|
||||
depends = gst-plugins-bad-libs
|
||||
depends = gtk3
|
||||
depends = hicolor-icon-theme
|
||||
depends = libglvnd
|
||||
depends = libjpeg-turbo
|
||||
depends = libpng
|
||||
depends = libspnav
|
||||
depends = libtiff
|
||||
depends = libx11
|
||||
depends = openssl
|
||||
depends = pango
|
||||
depends = python
|
||||
depends = wayland
|
||||
depends = webkit2gtk-4.1
|
||||
depends = zlib
|
||||
depends = opencv
|
||||
depends = freeimage
|
||||
depends = nlopt
|
||||
depends = opencascade
|
||||
provides = orca-slicer
|
||||
source = orca-slicer::git+https://github.com/SoftFever/OrcaSlicer.git#tag=v2.2.0
|
||||
b2sums = 4f199f82cf1c99af120c7a451c356fa229dd92b7b2fac4a2a15f4efd2c24ff147348ccba75d8b0c2a08a4d5874e780df885fe41ab2a82209e88547687e17b5e1
|
||||
options = !debug
|
||||
options = !emptydirs
|
||||
source = orca-slicer::git+https://github.com/SoftFever/OrcaSlicer.git#tag=v2.3.0
|
||||
b2sums = 543653c5769e2f022877608c14bad64ea05dbc30d41a58dc1a82eaca6615c0183f7573ced790a263b8509f6a4abdfa6b259ae0701a2468e10c15eb40d1926555
|
||||
|
||||
pkgname = orca-slicer
|
||||
|
|
29
PKGBUILD
29
PKGBUILD
|
@ -1,30 +1,33 @@
|
|||
# Maintainer: lod <aur@cyber-anlage.de>
|
||||
pkgname=orca-slicer
|
||||
pkgver=2.2.0
|
||||
pkgver=2.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.) "
|
||||
arch=('x86_64')
|
||||
url="https://github.com/SoftFever/OrcaSlicer"
|
||||
license=('AGPL-3.0-only')
|
||||
depends=('cairo' 'curl' 'dbus' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'glib2' 'glibc' 'gtk3' 'gdk-pixbuf2' 'gstreamer' 'gst-plugins-bad-libs' 'hicolor-icon-theme' 'libglvnd' 'libjpeg-turbo' 'libpng' 'libspnav' 'libtiff' 'libx11' 'openssl' 'pango' 'python' 'wayland' 'webkit2gtk-4.1' 'zlib' 'opencv' 'freeimage' 'nlopt' 'opencascade')
|
||||
makedepends=('cmake' 'extra-cmake-modules' 'git' 'm4' 'ninja' 'pkgconf' 'wayland-protocols' 'glew')
|
||||
|
||||
depends=('cairo' 'dbus' 'expat' 'fontconfig' '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' 'm4' 'ninja' 'pkgconf' 'wayland-protocols')
|
||||
options=('!debug' '!emptydirs')
|
||||
provides=("orca-slicer")
|
||||
source=("$pkgname::git+https://github.com/SoftFever/OrcaSlicer.git#tag=v$pkgver")
|
||||
b2sums=('4f199f82cf1c99af120c7a451c356fa229dd92b7b2fac4a2a15f4efd2c24ff147348ccba75d8b0c2a08a4d5874e780df885fe41ab2a82209e88547687e17b5e1')
|
||||
b2sums=('543653c5769e2f022877608c14bad64ea05dbc30d41a58dc1a82eaca6615c0183f7573ced790a263b8509f6a4abdfa6b259ae0701a2468e10c15eb40d1926555')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/$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
|
||||
sed -i 's/if(FLATPAK)/if(true)/' deps/CMakeLists.txt
|
||||
# System Freetype has some breaking changes
|
||||
sed -i 's/find_package(Freetype)/# find_package(Freetype)/' deps/CMakeLists.txt
|
||||
sed -i 's|https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.bz2|https://www.mpfr.org/mpfr-4.2.1/mpfr-4.2.1.tar.bz2|' deps/MPFR/MPFR.cmake
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname
|
||||
cd $pkgname
|
||||
export CXXFLAGS="${CXXFLAGS} -flto"
|
||||
|
||||
cmake \
|
||||
|
@ -40,7 +43,7 @@ build() {
|
|||
-B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_FULL_DATAROOTDIR=/usr/share/ \
|
||||
-DCMAKE_PREFIX_PATH=$srcdir/$pkgname/deps/build/destdir/usr/local \
|
||||
-DCMAKE_PREFIX_PATH="$srcdir/$pkgname/deps/build/destdir/usr/local" \
|
||||
-DSLIC3R_STATIC=1 \
|
||||
-DORCA_TOOLS=1 \
|
||||
-DSLIC3R_FHS=1 \
|
||||
|
@ -51,9 +54,9 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname
|
||||
DESTDIR=$pkgdir ninja -C build install
|
||||
install -Dm644 doc/*.md -t $pkgdir/usr/share/doc/OrcaSlicer/
|
||||
install -Dm644 $pkgdir/usr/LICENSE.txt $pkgdir/usr/share/licenses/OrcaSlicer/LICENSE
|
||||
rm -rf $pkgdir/usr/LICENSE.txt
|
||||
cd $pkgname
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
install -Dm644 doc/*.md -t "$pkgdir/usr/share/doc/OrcaSlicer/"
|
||||
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/OrcaSlicer/LICENSE"
|
||||
rm -rf "$pkgdir/usr/LICENSE.txt"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue