aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-09-24 11:27:31 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2019-09-24 11:32:54 +0200
commit3429f5d923300675a8ffa28b2d4cb1bd66ae452e (patch)
tree1a0b1cdd00a78b8adbf280a3d4249fde713b03c3
parent85dfecbedc55a450b12a17d98a0fe70e0c193790 (diff)
downloadguix-3429f5d923300675a8ffa28b2d4cb1bd66ae452e.tar
guix-3429f5d923300675a8ffa28b2d4cb1bd66ae452e.tar.gz
gnu: mojoshader: Broaden feature support (viewport flipping and depth clipping).
* gnu/packages/gl.scm (mojoshader)[arguments]: Build with FLIP_VIEWPORT and DEPTH_CLIPPING.
-rw-r--r--gnu/packages/gl.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index c05ce4e06a..c02d88694c 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -808,7 +808,7 @@ network.")
(let ((changeset "5887634ea695"))
(package
(name "mojoshader")
- (version changeset)
+ (version (string-append "20190825" "-" changeset))
(source
(origin
(method hg-fetch)
@@ -821,7 +821,9 @@ network.")
(arguments
;; Tests only for COMPILER_SUPPORT=ON.
`(#:tests? #f
- #:configure-flags '("-DBUILD_SHARED=ON")
+ #:configure-flags '("-DBUILD_SHARED=ON"
+ "-DFLIP_VIEWPORT=ON"
+ "-DDEPTH_CLIPPING=ON")
#:phases
(modify-phases %standard-phases
(replace 'install