[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52848: [PATCH] gnu: Add openshadinglanguage.
From: |
Ludovic Courtès |
Subject: |
bug#52848: [PATCH] gnu: Add openshadinglanguage. |
Date: |
Sat, 15 Jan 2022 22:48:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Vinicius,
Vinicius Monego <monego@posteo.net> skribis:
> * gnu/packages/graphics.scm (openshadinglanguage): New variable.
Applied with the tweaks below.
Thanks,
Ludo’.
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index bc59652d33..b69ab52aec 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -604,21 +604,33 @@ (define-public openshadinglanguage
(string-append headers ":"
(or (getenv "CPLUS_INCLUDE_PATH")
""))))))
(replace 'check
- (lambda _
- (invoke "ctest" "--exclude-regex"
- (string-join
- (list
- "osl-imageio" ; OIIO not compiled with freetype
- "osl-imageio.opt" ; OIIO not compiled with freetype
- "texture-udim" ; file does not exist
- "texture-udim.opt" ; file does not exist
- "example-deformer" ; could not find OSLConfig
- "python-oslquery") ; no module oslquery
- "|")))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ctest" "--exclude-regex"
+ (string-join
+ (list
+ "osl-imageio" ; OIIO not compiled with freetype
+ "osl-imageio.opt" ; OIIO not compiled with freetype
+ "texture-udim" ; file does not exist
+ "texture-udim.opt" ; file does not exist
+ "example-deformer" ; could not find OSLConfig
+ "python-oslquery") ; no module oslquery
+ "|"))))))))
(native-inputs
- (list bison clang flex llvm pybind11 python-wrapper))
+ (list bison
+ clang
+ flex
+ llvm
+ pybind11
+ python-wrapper))
(inputs
- (list boost imath openexr-2 openimageio pugixml qtbase-5 zlib))
+ (list boost
+ imath
+ openexr-2
+ openimageio
+ pugixml
+ qtbase-5
+ zlib))
(home-page
"https://github.com/AcademySoftwareFoundation/OpenShadingLanguage")
(synopsis "Shading language for production GI renderers")
(description "Open Shading Language (OSL) is a language for programmable
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#52848: [PATCH] gnu: Add openshadinglanguage.,
Ludovic Courtès <=