mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ntk: Don't use bundled waf.
* gnu/packages/fltk.scm (ntk)[inputs]: Add python-waf. [arguments]: Add custom phase to replace vendored waf.
This commit is contained in:
parent
24a2e19c43
commit
4cf879fefb
1 changed files with 8 additions and 1 deletions
|
@ -115,6 +115,12 @@ (define-public ntk
|
||||||
#:configure-flags '("--enable-gl")
|
#:configure-flags '("--enable-gl")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'setup-waf
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((waf (assoc-ref inputs "waf")))
|
||||||
|
(delete-file "waf")
|
||||||
|
(copy-file (string-append waf "/bin/waf") "waf"))
|
||||||
|
#t))
|
||||||
(add-before 'configure 'set-ldflags
|
(add-before 'configure 'set-ldflags
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(setenv "LDFLAGS"
|
(setenv "LDFLAGS"
|
||||||
|
@ -123,7 +129,8 @@ (define-public ntk
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libjpeg" ,libjpeg)
|
`(("libjpeg" ,libjpeg)
|
||||||
("glu" ,glu)))
|
("glu" ,glu)
|
||||||
|
("waf" ,python-waf)))
|
||||||
;; ntk.pc lists "x11" and "xft" in Requires.private, and "cairo" in
|
;; ntk.pc lists "x11" and "xft" in Requires.private, and "cairo" in
|
||||||
;; Requires.
|
;; Requires.
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in a new issue