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

Bruno Pagani archange at archlinux.org
Wed Apr 8 18:04:16 UTC 2020


    Date: Wednesday, April 8, 2020 @ 18:04:15
  Author: archange
Revision: 612696

archrelease: copy trunk to community-x86_64

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

----------------------+
 PKGBUILD             |   92 ++++++++++++++++++++++++-------------------------
 prusa-slicer.desktop |   20 +++++-----
 2 files changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-08 18:04:08 UTC (rev 612695)
+++ PKGBUILD	2020-04-08 18:04:15 UTC (rev 612696)
@@ -1,46 +0,0 @@
-# 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
-}

Copied: prusa-slicer/repos/community-x86_64/PKGBUILD (from rev 612695, prusa-slicer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-08 18:04:15 UTC (rev 612696)
@@ -0,0 +1,46 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=prusa-slicer
+pkgver=2.2.0
+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 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
+}

Deleted: prusa-slicer.desktop
===================================================================
--- prusa-slicer.desktop	2020-04-08 18:04:08 UTC (rev 612695)
+++ prusa-slicer.desktop	2020-04-08 18:04:15 UTC (rev 612696)
@@ -1,10 +0,0 @@
-[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;

Copied: prusa-slicer/repos/community-x86_64/prusa-slicer.desktop (from rev 612695, prusa-slicer/trunk/prusa-slicer.desktop)
===================================================================
--- prusa-slicer.desktop	                        (rev 0)
+++ prusa-slicer.desktop	2020-04-08 18:04:15 UTC (rev 612696)
@@ -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