(define-module (vfx packages soupe3d)
#:use-module (vfx packages cgal)
#:use-module (gnu packages qt)
#:use-module (gnu packages algebra)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (gnu packages cmake)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:))
(define-public soupe3d
(package
(name "soupe3d")
(version "0.1")
(source (local-file "/home/poutine/DEV/soupe3d/src" #:recursive? #t))
(build-system cmake-build-system)
(inputs (list qtbase-5 qtscript qtsvg-5 cgal-5.5 eigen))
(arguments
'(#:tests? #f
#:configure-flags
(list (string-append "-DQt5_DIR="
(assoc-ref %build-inputs "qtbase")
"/lib/cmake/Qt5"))
#:phases
(modify-phases %standard-phases
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(install-file "soupe3d" bin))
#t)))))
(synopsis "Soupe 3D")
(description "Soupe 3D")
(home-page "https://nest.pijul.com/foolscreen/soupe3d")
(license license:gpl3)))