gnu: ntk: Update to 1.3.1000.

* gnu/packages/fltk.scm (ntk): Update to 1.3.1000.
[arguments]: Do not use python-2; add missing #t to "set-ldflags" phase.
This commit is contained in:
Ricardo Wurmus 2018-06-22 11:39:28 +02:00
parent c57e50b2b9
commit e10a15fa5f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <jmd@gnu.org> ;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; ;;;
@ -99,7 +99,7 @@ UI builder called FLUID that can be used to create applications in minutes.")
(define-public ntk (define-public ntk
(package (package
(name "ntk") (name "ntk")
(version "1.3.0") (version "1.3.1000")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -107,21 +107,20 @@ UI builder called FLUID that can be used to create applications in minutes.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(sha256 (sha256
(base32 (base32
"0ggrh6rihf676z1vfgpgcl6kpqwyh39ih0hskcgzklh7fphfik39")) "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0"))
(file-name (string-append name "-" version "-checkout")))) (file-name (string-append name "-" version "-checkout"))))
(build-system waf-build-system) (build-system waf-build-system)
(arguments (arguments
`(#:tests? #f ;no "check" target `(#:tests? #f ;no "check" target
#:python ,python-2
#:configure-flags '("--enable-gl") #:configure-flags '("--enable-gl")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before (add-before 'configure 'set-ldflags
'configure 'set-ldflags (lambda* (#:key outputs #:allow-other-keys)
(lambda* (#:key outputs #:allow-other-keys) (setenv "LDFLAGS"
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
(string-append "-Wl,-rpath=" (assoc-ref outputs "out") "/lib"))
(assoc-ref outputs "out") "/lib"))))))) #t)))))
(inputs (inputs
`(("libjpeg" ,libjpeg) `(("libjpeg" ,libjpeg)
("glu" ,glu))) ("glu" ,glu)))