mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add qtoctave.
* gnu/packages/maths.scm (qtoctave): New variable.
This commit is contained in:
parent
ab5f3f2131
commit
36ce25f092
1 changed files with 25 additions and 0 deletions
|
@ -1387,6 +1387,31 @@ (define-public octave
|
|||
script files.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public qtoctave
|
||||
(package (inherit octave)
|
||||
(name "qtoctave")
|
||||
(inputs
|
||||
`(("qscintilla" ,qscintilla)
|
||||
("qt" ,qtbase)
|
||||
,@(package-inputs octave)))
|
||||
(native-inputs
|
||||
`(("qttools" , qttools) ;for lrelease
|
||||
,@(package-native-inputs octave)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments octave)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-before 'configure 'patch-qscintilla-library-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; The QScintilla library that the Octave configure script tries
|
||||
;; to link with should be named libqscintilla-qt5.so, but the
|
||||
;; QScintilla input provides the shared library as
|
||||
;; libqscintilla2_qt5.so.
|
||||
(substitute* "configure"
|
||||
(("qscintilla2-qt5")
|
||||
"qscintilla2_qt5"))
|
||||
#t))))))))
|
||||
|
||||
(define-public opencascade-oce
|
||||
(package
|
||||
(name "opencascade-oce")
|
||||
|
|
Loading…
Reference in a new issue