[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44045] [PATCH 06/10] gnu: Add libSavitar.
From: |
Malte Frank Gerdes |
Subject: |
[bug#44045] [PATCH 06/10] gnu: Add libSavitar. |
Date: |
Sat, 17 Oct 2020 12:35:43 +0200 |
* gnu/packages/engineering.scm (libSavitar): New variable.
---
gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 27d4eae948..a65cbb81e8 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3033,3 +3033,45 @@ from Ultimaker.")
belongs to the Cura project from Ultimaker.")
(license license:lgpl3)))
+(define-public libSavitar
+ (let ((commit "85abbec0d947e6646b5172b6716c49c17e241632")
+ (revision "0"))
+ (package
+ (name "libSavitar")
+ (version (string-append "4.7.1-" revision "."
+ (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/libSavitar")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1i895d5r7c32z61m88xjkqs9j72bwmxllshs4y2rwgzxpq3rk1k5"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("python" ,python)
+ ("sip" ,python-sip)))
+ (arguments
+ `(#:tests? #false ;; this library doesn't have tests
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'fix-python-sitearch
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((path (string-append (assoc-ref outputs "out")
+ "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages")))
+ (substitute* "cmake/FindSIP.cmake"
+ (("\\$\\{_process_output\\} Python3_SITEARCH")
+ (string-append path " Python3_SITEARCH"))
+ (("\\$\\{_process_output\\} Python3_SITELIB")
+ (string-append path " Python3_SITELIB"))))
+ #true)))))
+ (home-page "https://github.com/Ultimaker/libSavitar")
+ (synopsis "C++ implementation of 3mf loading with SIP python bindings")
+ (description "libSavitar is a C++ implementation of 3mf loading with SIP
+python bindings. It belongs to the Cura project from Ultimaker.")
+ (license license:lgpl3))))
+
--
2.28.0
- [bug#44045] [PATCH 00/10] WIP Ultimaker Cura, Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 01/10] gnu: Add libArcus., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 05/10] gnu: Add libCharon., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 06/10] gnu: Add libSavitar.,
Malte Frank Gerdes <=
- [bug#44045] [PATCH 02/10] gnu: Add cura-engine., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 04/10] gnu: Add uranium., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 07/10] gnu: Add cura., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 10/10] gnu: Add python-trimesh., Malte Frank Gerdes, 2020/10/17
- [bug#44045] [PATCH 00/10] WIP Ultimaker Cura, Efraim Flashner, 2020/10/19
- [bug#44045] [PATCH 10/10 v2] WIP Ultimaker Cura, Malte Frank Gerdes, 2020/10/21
- [bug#44045] [PATCH 08/10 v2] WIP Ultimaker Cura, Malte Frank Gerdes, 2020/10/21