gnu: mesa: Remove input labels.
* gnu/packages/gl.scm (mesa)[inputs, native-inputs]: Remove labels. (mesa-opencl)[inputs-, native-inputs]: Likewise, and use 'modify-inputs'.master
parent
d0951c288b
commit
0310517e6c
|
@ -287,36 +287,34 @@ also known as DXTn or DXTC) for Mesa.")
|
||||||
libxxf86vm
|
libxxf86vm
|
||||||
xorgproto))
|
xorgproto))
|
||||||
(inputs
|
(inputs
|
||||||
`(("expat" ,expat)
|
(append (list expat
|
||||||
("libelf" ,elfutils) ;required for r600 when using llvm
|
elfutils ;libelf required for r600 when using llvm
|
||||||
("libva" ,(force libva-without-mesa))
|
(force libva-without-mesa)
|
||||||
("libxml2" ,libxml2)
|
libxml2
|
||||||
("libxrandr" ,libxrandr)
|
libxrandr
|
||||||
("libxvmc" ,libxvmc)
|
libxvmc
|
||||||
,@(match (%current-system)
|
wayland
|
||||||
((or "x86_64-linux" "i686-linux" "powerpc64le-linux" "aarch64-linux"
|
wayland-protocols)
|
||||||
"powerpc-linux" "riscv64-linux")
|
(if (member (%current-system)
|
||||||
;; Note: update the 'clang' input of mesa-opencl when bumping this.
|
'("x86_64-linux" "i686-linux" "powerpc64le-linux"
|
||||||
`(("llvm" ,llvm-11)))
|
"aarch64-linux" "powerpc-linux" "riscv64-linux"))
|
||||||
(_
|
;; Note: update the 'clang' input of mesa-opencl when bumping this.
|
||||||
`()))
|
(list llvm-11)
|
||||||
("wayland" ,wayland)
|
'())))
|
||||||
("wayland-protocols" ,wayland-protocols)))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
(append (list bison
|
||||||
("flex" ,flex)
|
flex
|
||||||
("gettext" ,gettext-minimal)
|
gettext-minimal
|
||||||
,@(match (%current-system)
|
pkg-config
|
||||||
((or "x86_64-linux" "i686-linux" "powerpc64le-linux" "aarch64-linux"
|
python-wrapper
|
||||||
"powerpc-linux" "riscv64-linux")
|
python-libxml2 ;for OpenGL ES 1.1 and 2.0 support
|
||||||
`(("glslang" ,glslang)))
|
python-mako
|
||||||
(_
|
(@ (gnu packages base) which))
|
||||||
`()))
|
(if (member (%current-system)
|
||||||
("pkg-config" ,pkg-config)
|
'("x86_64-linux" "i686-linux" "powerpc64le-linux"
|
||||||
("python" ,python-wrapper)
|
"aarch64-linux" "powerpc-linux" "riscv64-linux"))
|
||||||
("python-libxml2", python-libxml2) ;for OpenGL ES 1.1 and 2.0 support
|
(list glslang)
|
||||||
("python-mako" ,python-mako)
|
'())))
|
||||||
("which" ,(@ (gnu packages base) which))))
|
|
||||||
(outputs '("out" "bin"))
|
(outputs '("out" "bin"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
|
@ -519,11 +517,11 @@ from software emulation to complete hardware acceleration for modern GPUs.")
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
`(cons "-Dgallium-opencl=standalone" ,flags))))
|
`(cons "-Dgallium-opencl=standalone" ,flags))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libclc" ,libclc)
|
(modify-inputs (package-inputs mesa)
|
||||||
,@(package-inputs mesa)))
|
(prepend libclc)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("clang" ,clang-11)
|
(modify-inputs (package-native-inputs mesa)
|
||||||
,@(package-native-inputs mesa)))))
|
(prepend clang-11)))))
|
||||||
|
|
||||||
(define-public mesa-opencl-icd
|
(define-public mesa-opencl-icd
|
||||||
(package/inherit mesa-opencl
|
(package/inherit mesa-opencl
|
||||||
|
|
Reference in New Issue