diff options
author | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
commit | d13ed52da216ece35af8e4f4ae413eb05912794b (patch) | |
tree | a4313f1c21fb309ffea89be715be640376935cfb /gnu/packages/engineering.scm | |
parent | bdfdb9d79d83c806ea59a9bdd99b5a786d14999c (diff) | |
parent | a7737f0ead2293536b9d0ba253de4673378a0ffa (diff) |
Merge branch 'ungrafting' into staging
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 558541dd5a..7eb8bbf893 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1133,22 +1133,23 @@ use on a given system.") (define-public libredwg (package (name "libredwg") - (version "0.11") + (version "0.11.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/libredwg/libredwg-" version ".tar.xz")) (sha256 - (base32 "1vd7ii32k5447z7k4w9s005hv1ffpj6dyf1w40x6c53qksrblny2")))) + (base32 "1xx6y6ckm4mzqln8y8lqf5frcn2b32ypc0d0h9dzpz6363zh7pdn")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--disable-bindings"))) (native-inputs `(("libxml2" ,libxml2) ("parallel" ,parallel) + ("perl" ,perl) ("pkg-config" ,pkg-config) - ("python" ,python) + ("python" ,python-wrapper) ("python-libxml2" ,python-libxml2))) (inputs `(("pcre2" ,pcre2))) @@ -2434,7 +2435,7 @@ full programmatic control over your models.") (define-public freecad (package (name "freecad") - (version "0.18.4") + (version "0.18.5") (source (origin (method git-fetch) @@ -2453,7 +2454,7 @@ full programmatic control over your models.") (file-name (git-file-name name version)) (sha256 (base32 - "170hk1kgrvsddrwykp24wyj0cha78zzmzbf50gn98x7ngqqs395s")))) + "0r31jzzkamf76l19fb175hhv48irk06fpi8ldxdlr31w8c1ix4aa")))) (build-system qt-build-system) (native-inputs `(("doxygen" ,doxygen) @@ -2496,8 +2497,28 @@ full programmatic control over your models.") #:configure-flags (list "-DBUILD_QT5=ON" - (string-append "-DCMAKE_INSTALL_LIBDIR=" - (assoc-ref %outputs "out") "/lib")) + (string-append "-DCMAKE_INSTALL_LIBDIR=" (assoc-ref %outputs "out") "/lib") + + (string-append "-DPYSIDE2UICBINARY=" + (assoc-ref %build-inputs "python-pyside-2-tools") + "/bin/uic") + (string-append "-DPYSIDE2RCCBINARY=" + (assoc-ref %build-inputs "python-pyside-2-tools") + "/bin/rcc") + + "-DPYSIDE_LIBRARY=PySide2::pyside2" + (string-append + "-DPYSIDE_INCLUDE_DIR=" + (assoc-ref %build-inputs "python-pyside-2") "/include;" + (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2;" + (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtCore;" + (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtWidgets;" + (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtGui;") + + "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken" + (string-append "-DSHIBOKEN_INCLUDE_DIR=" + (assoc-ref %build-inputs "python-shiboken-2") + "/include/shiboken2")) #:phases (modify-phases %standard-phases (add-before 'configure 'restore-pythonpath |