mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: gtkd: Update to 3.10.0.
* gnu/packages/dlang.scm (gtkd): Update to 3.10.0. [arguments]: Rename 'prepare-x phase to 'pre-check, set CC for the tests.
This commit is contained in:
parent
80ef8ff7ed
commit
4eddc221b3
1 changed files with 4 additions and 3 deletions
|
@ -413,14 +413,14 @@ (define-public dub
|
||||||
(define-public gtkd
|
(define-public gtkd
|
||||||
(package
|
(package
|
||||||
(name "gtkd")
|
(name "gtkd")
|
||||||
(version "3.9.0")
|
(version "3.10.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch/zipbomb)
|
(method url-fetch/zipbomb)
|
||||||
(uri (string-append "https://gtkd.org/Downloads/sources/GtkD-"
|
(uri (string-append "https://gtkd.org/Downloads/sources/GtkD-"
|
||||||
version ".zip"))
|
version ".zip"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0qv8qlpwwb1d078pnrf0a59vpbkziyf53cf9p6m8ms542wbcxllp"))))
|
(base32 "0vc5ssb3ar02mg2pngmdi1xg4qjaya8332a9mk0sv97x6b4ddy3g"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)
|
`(("unzip" ,unzip)
|
||||||
|
@ -446,10 +446,11 @@ (define-public gtkd
|
||||||
;; Work around upstream bug.
|
;; Work around upstream bug.
|
||||||
(("\\$\\(prefix\\)\\/\\$\\(libdir\\)") "$(libdir)"))
|
(("\\$\\(prefix\\)\\/\\$\\(libdir\\)") "$(libdir)"))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'check 'prepare-x
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
(system "Xvfb :1 &")
|
(system "Xvfb :1 &")
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1")
|
||||||
|
(setenv "CC" ,(cc-for-target))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://gtkd.org/")
|
(home-page "https://gtkd.org/")
|
||||||
(synopsis "D binding and OO wrapper of GTK+")
|
(synopsis "D binding and OO wrapper of GTK+")
|
||||||
|
|
Loading…
Reference in a new issue