[arch-commits] Commit in prusa-slicer/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 17:30:05 UTC 2020


    Date: Saturday, April 25, 2020 @ 17:30:05
  Author: foutrelis
Revision: 621014

archrelease: copy trunk to community-staging-x86_64

Added:
  prusa-slicer/repos/community-staging-x86_64/
  prusa-slicer/repos/community-staging-x86_64/PKGBUILD
    (from rev 621013, prusa-slicer/trunk/PKGBUILD)
  prusa-slicer/repos/community-staging-x86_64/prusa-slicer.desktop
    (from rev 621013, prusa-slicer/trunk/prusa-slicer.desktop)

----------------------+
 PKGBUILD             |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 prusa-slicer.desktop |   10 ++++++++++
 2 files changed, 56 insertions(+)

Copied: prusa-slicer/repos/community-staging-x86_64/PKGBUILD (from rev 621013, prusa-slicer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-25 17:30:05 UTC (rev 621014)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=prusa-slicer
+pkgver=2.2.0
+pkgrel=3
+pkgdesc="G-code generator for 3D printers (Prusa fork of Slic3r)"
+arch=(x86_64)
+url="https://github.com/prusa3d/PrusaSlicer"
+license=(AGPL3)
+depends=(boost-libs curl glew intel-tbb nlopt wxgtk2 qhull openvdb cgal) #wxgtk3)
+makedepends=(cmake boost cereal eigen3 expat gtest libpng)
+replaces=(slic3r-prusa3d)
+source=(${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz
+        ${pkgname}.desktop)
+sha256sums=('e6e0c83bf92e448ec058fd3063b84caca69f58b8b419e48eace6e8ce534937c0'
+            '9d21467c541b809f149b39c7c6b4f60b2c866823021fb6f8a076290583982d11')
+
+build() {
+  cmake -B build -S PrusaSlicer-version_${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSLIC3R_FHS=ON \
+    -DSLIC3R_PCH=OFF \
+    -DSLIC3R_WX_STABLE=ON #\
+    #-DSLIC3R_GTK=3 \
+    #-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+  make -C build
+}
+
+check() {
+  cd build
+  ctest -v
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+
+  # Desktop file
+  install -Dm644 ${pkgname}.desktop -t "${pkgdir}"/usr/share/applications/
+
+  # Desktop icons
+  for i in 32 128 192 ; do
+    mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/
+    ln -s /usr/share/PrusaSlicer/icons/PrusaSlicer_${i}px.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png
+  done
+}

Copied: prusa-slicer/repos/community-staging-x86_64/prusa-slicer.desktop (from rev 621013, prusa-slicer/trunk/prusa-slicer.desktop)
===================================================================
--- community-staging-x86_64/prusa-slicer.desktop	                        (rev 0)
+++ community-staging-x86_64/prusa-slicer.desktop	2020-04-25 17:30:05 UTC (rev 621014)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=PrusaSlicer
+Exec=/usr/bin/prusa-slicer
+Icon=prusa-slicer
+Terminal=false
+Type=Application
+StartupNotify=false
+MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;
+Categories=Graphics;3DGraphics;
+Keywords=3D;Printing;Slicer;


More information about the arch-commits mailing list