gnu: openmw-openscenegraph: Fix builder.
This broke with the changes to openscenegraph in
629a5936a6
.
* gnu/packages/graphics.scm (openmw-openscenegraph)[arguments]: Handle
#:configure-flags from openscenegraph as a gexp.
parent
b4d2670771
commit
12127395dc
|
@ -1492,18 +1492,18 @@ in Julia).")
|
||||||
(substitute-keyword-arguments (package-arguments openscenegraph)
|
(substitute-keyword-arguments (package-arguments openscenegraph)
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
;; As per the above wiki link, the following plugins are enough:
|
;; As per the above wiki link, the following plugins are enough:
|
||||||
`(append
|
#~(append
|
||||||
'("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
|
'("-DBUILD_OSG_PLUGINS_BY_DEFAULT=0"
|
||||||
"-DBUILD_OSG_PLUGIN_OSG=1"
|
"-DBUILD_OSG_PLUGIN_OSG=1"
|
||||||
"-DBUILD_OSG_PLUGIN_DDS=1"
|
"-DBUILD_OSG_PLUGIN_DDS=1"
|
||||||
"-DBUILD_OSG_PLUGIN_TGA=1"
|
"-DBUILD_OSG_PLUGIN_TGA=1"
|
||||||
"-DBUILD_OSG_PLUGIN_BMP=1"
|
"-DBUILD_OSG_PLUGIN_BMP=1"
|
||||||
"-DBUILD_OSG_PLUGIN_JPEG=1"
|
"-DBUILD_OSG_PLUGIN_JPEG=1"
|
||||||
"-DBUILD_OSG_PLUGIN_PNG=1"
|
"-DBUILD_OSG_PLUGIN_PNG=1"
|
||||||
"-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
|
"-DBUILD_OSG_DEPRECATED_SERIALIZERS=0"
|
||||||
;; The jpeg plugin requires conversion between integers and booleans
|
;; The jpeg plugin requires conversion between integers and booleans
|
||||||
"-DCMAKE_CXX_FLAGS=-fpermissive")
|
"-DCMAKE_CXX_FLAGS=-fpermissive")
|
||||||
,flags))))))))
|
#$flags))))))))
|
||||||
|
|
||||||
(define-public povray
|
(define-public povray
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue