gnu: kicad: Update to commit 5f4599f.

* gnu/packages/engineering.scm (kicad): Update to commit 5f4599f.
[arguments]: Add "install-lib-3d" phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Theodoros Foradis 2017-10-27 17:23:30 +03:00 committed by Ludovic Courtès
parent c16fabfa9e
commit c48799c0a5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 3 deletions

View File

@ -629,8 +629,8 @@ language.")
;; We use kicad from a git commit, because support for boost 1.61.0 has been ;; We use kicad from a git commit, because support for boost 1.61.0 has been
;; recently added. ;; recently added.
(define-public kicad (define-public kicad
(let ((commit "4ee344e150bfaf3a6f3f7bf935fb96ae07c423fa") (let ((commit "5f4599fb56da4dd748845ab10abec02961d477f3")
(revision "1")) (revision "2"))
(package (package
(name "kicad") (name "kicad")
(version (string-append "4.0-" revision "." (version (string-append "4.0-" revision "."
@ -642,7 +642,7 @@ language.")
(url "https://git.launchpad.net/kicad") (url "https://git.launchpad.net/kicad")
(commit commit))) (commit commit)))
(sha256 (sha256
(base32 "0kf6r92nps0658i9n3p9vp5dzbssmc22lvjv5flyvnlf83l63s4n")) (base32 "1833pln2975gmc5s18xf7s8m9vg834lmxxdjk0wlk3lq7bvjjnff"))
(file-name (string-append name "-" version "-checkout")))) (file-name (string-append name "-" version "-checkout"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
@ -682,6 +682,14 @@ language.")
`("PYTHONPATH" ":" prefix (,path)) `("PYTHONPATH" ":" prefix (,path))
`("PATH" ":" prefix `("PATH" ":" prefix
(,(string-append python "/bin:"))))) (,(string-append python "/bin:")))))
#t))
(add-after 'wrap-program 'install-lib-3d
(lambda* (#:key inputs outputs #:allow-other-keys)
(for-each
(lambda (file)
(install-file file (string-append (assoc-ref outputs "out")
"/lib")))
(find-files "." "^libkicad_3dsg.*"))
#t))))) #t)))))
(native-inputs (native-inputs
`(("boost" ,boost) `(("boost" ,boost)