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

Bruno Pagani archange at archlinux.org
Wed Sep 18 11:47:38 UTC 2019


    Date: Wednesday, September 18, 2019 @ 11:47:37
  Author: archange
Revision: 511042

archrelease: copy trunk to community-x86_64

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

----------------------+
 PKGBUILD             |  110 +++++++++++++++++++++++--------------------------
 prusa-slicer.desktop |   17 ++++---
 2 files changed, 62 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-18 11:47:25 UTC (rev 511041)
+++ PKGBUILD	2019-09-18 11:47:37 UTC (rev 511042)
@@ -1,57 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=prusa-slicer
-pkgver=2.0.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) #wxgtk3)
-makedepends=(cmake boost eigen3 expat qhull gtest libpng)
-replaces=(slic3r-prusa3d)
-source=("${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        prusa-slicer-mode-switching.patch::"https://github.com/prusa3d/PrusaSlicer/commit/5afd0b4ee28a18733dd8a0e4b4cfd612e60b452c.patch"
-        "${pkgname}.desktop")
-sha256sums=('5d3c7fd745f2875be55f316cd779805ce1b6ce38634f0f4b0ccd01884da731b3'
-            'e2f7b9865b24746a24d87d69eba72d8bf2de899466cf5731fa3cb446b8979e75'
-            'fa469696bd85fef60a0f626d47d2da192902c627a9c80cc34325d47ab5d0172e')
-
-prepare() {
-  mkdir -p build
-  cd PrusaSlicer-version_${pkgver}
-  patch -p1 -i ../prusa-slicer-mode-switching.patch
-}
-
-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 511041, prusa-slicer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-18 11:47:37 UTC (rev 511042)
@@ -0,0 +1,53 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=prusa-slicer
+pkgver=2.1.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)
+replaces=(slic3r-prusa3d)
+source=("${url}/archive/version_${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        "${pkgname}.desktop")
+sha256sums=('1177c1afa8b917dddac9ce089543dce2e4b713dedf7fed58147224025dd82aaf'
+            '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
+}

Deleted: prusa-slicer.desktop
===================================================================
--- prusa-slicer.desktop	2019-09-18 11:47:25 UTC (rev 511041)
+++ prusa-slicer.desktop	2019-09-18 11:47:37 UTC (rev 511042)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=PrusaSlicer
-Exec=/usr/bin/prusa-slicer
-Terminal=false
-Type=Application
-Icon=prusa-slicer
-StartupNotify=false
-Categories=Graphics;3DGraphics;

Copied: prusa-slicer/repos/community-x86_64/prusa-slicer.desktop (from rev 511041, prusa-slicer/trunk/prusa-slicer.desktop)
===================================================================
--- prusa-slicer.desktop	                        (rev 0)
+++ prusa-slicer.desktop	2019-09-18 11:47:37 UTC (rev 511042)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=PrusaSlicer
+Exec=/usr/bin/prusa-slicer
+Terminal=false
+Icon=prusa-slicer
+StartupNotify=false
+Categories=Graphics;3DGraphics;
+MimeType=model/stl;


More information about the arch-commits mailing list