gnu: vulkan-loader: Remove unnecessary inputs.

* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Remove
-DBUILD_LAYERS=OFF.
[inputs]: Remove all.
[native-inputs]: Add libxrandr, vulkan-headers, wayland.
This commit is contained in:
Rutger Helling 2019-03-21 10:53:24 +01:00
parent 7d1494d979
commit ebfe592fd4
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 5 additions and 11 deletions

View File

@ -209,20 +209,14 @@ interpretation of the specifications for these languages.")
(substitute* "CMakeLists.txt" ((".*spirv_tools_commit_id.h.*") "")) (substitute* "CMakeLists.txt" ((".*spirv_tools_commit_id.h.*") ""))
#t))) #t)))
#:configure-flags (list #:configure-flags (list
"-DBUILD_LAYERS=OFF" ; FIXME: Fails to build.
"-DBUILD_TESTS=OFF" ; FIXME: Needs 'googletest' submodule. "-DBUILD_TESTS=OFF" ; FIXME: Needs 'googletest' submodule.
(string-append "-DCMAKE_INSTALL_LIBDIR=" (string-append "-DCMAKE_INSTALL_LIBDIR="
(assoc-ref %outputs "out") "/lib")))) (assoc-ref %outputs "out") "/lib"))))
(inputs `(("glslang" ,glslang) (native-inputs `(("libxrandr" ,libxrandr)
("libxcb" ,libxcb) ("pkg-config" ,pkg-config)
("libx11" ,libx11) ("python" ,python)
("libxrandr" ,libxrandr)
("mesa" ,mesa)
("spirv-tools" ,spirv-tools)
("vulkan-headers" ,vulkan-headers) ("vulkan-headers" ,vulkan-headers)
("wayland" ,wayland))) ("wayland" ,wayland)))
(native-inputs `(("pkg-config" ,pkg-config)
("python" ,python)))
(home-page (home-page
"https://github.com/KhronosGroup/Vulkan-Loader") "https://github.com/KhronosGroup/Vulkan-Loader")
(synopsis "Khronos official ICD loader and validation layers for Vulkan") (synopsis "Khronos official ICD loader and validation layers for Vulkan")