[arch-commits] Commit in prusa-slicer/repos/community-x86_64 (4 files)

Bruno Pagani archange at archlinux.org
Wed Apr 8 12:50:25 UTC 2020


    Date: Wednesday, April 8, 2020 @ 12:50:25
  Author: archange
Revision: 612600

archrelease: copy trunk to community-x86_64

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

----------------------+
 PKGBUILD             |   99 ++++++++++++++++++++++---------------------------
 prusa-slicer.desktop |   19 ++++-----
 2 files changed, 56 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-08 12:50:14 UTC (rev 612599)
+++ PKGBUILD	2020-04-08 12:50:25 UTC (rev 612600)
@@ -1,53 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=prusa-slicer
-pkgver=2.1.1
-pkgrel=2
-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) #wxgtk3)
-makedepends=(cmake boost cereal eigen3 expat gtest libpng)
-replaces=(slic3r-prusa3d)
-source=(${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz
-        ${pkgname}.desktop)
-sha256sums=('79d0681fbf3f4158cac25595522dcea330e0fa960934053ac929a15fa13c1072'
-            'f7119c86968cf20e61caf784269c859fc84fae1e499c7c3df82d3d34ae4c2138')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../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
-}
-
-check() {
-  cd build
-  ctest -v
-}
-
-package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
-
-  cd ..
-  # 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-x86_64/PKGBUILD (from rev 612599, prusa-slicer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-08 12:50:25 UTC (rev 612600)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=prusa-slicer
+pkgver=2.2.0
+pkgrel=1
+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) #wxgtk3)
+makedepends=(cmake boost cereal eigen3 expat gtest libpng openvdb cgal)
+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
+}

Deleted: prusa-slicer.desktop
===================================================================
--- prusa-slicer.desktop	2020-04-08 12:50:14 UTC (rev 612599)
+++ prusa-slicer.desktop	2020-04-08 12:50:25 UTC (rev 612600)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=PrusaSlicer
-Exec=/usr/bin/prusa-slicer
-Terminal=false
-Icon=prusa-slicer
-StartupNotify=false
-Categories=Graphics;3DGraphics;
-MimeType=model/stl;

Copied: prusa-slicer/repos/community-x86_64/prusa-slicer.desktop (from rev 612599, prusa-slicer/trunk/prusa-slicer.desktop)
===================================================================
--- prusa-slicer.desktop	                        (rev 0)
+++ prusa-slicer.desktop	2020-04-08 12:50:25 UTC (rev 612600)
@@ -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