1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: piglit: Update to 0.0.0-2.040ed91.

* gnu/packages/gl.scm (piglit): Update to
040ed91f234abb6a502d3a6910f1b0e54bd239a7 commit.
[phases]{wrap}: Use G-Expression.
[inputs]: Remove python-lxml, python-mako, and python-numpy-1; add
wayland-protocols.
[native-inputs]: Add python-lxml, python-mako, and python-numpy.

Change-Id: I060b5cce391a1c45d164117a9a72eeafc99a1194
This commit is contained in:
Sharlatan Hellseher
2026-03-14 23:41:28 +00:00
parent 8f0798ccc0
commit 78b316a429

View File

@@ -1420,8 +1420,8 @@ original glmark benchmark by Ben Smith.")
(license license:bsd-2)))
(define-public piglit
(let ((revision "1")
(commit "814046fe6942eac660ee4a6cc5fcc54011a49945"))
(let ((revision "2")
(commit "040ed91f234abb6a502d3a6910f1b0e54bd239a7"))
(package
(name "piglit")
(version (git-version "0.0.0" revision commit))
@@ -1432,7 +1432,7 @@ original glmark benchmark by Ben Smith.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1bzaalcxskckfnwprw77sbbmfqi59by2j8imaq8ghnlzhlxv7mk7"))))
(base32 "1j5dmkym1mmz410xgwygimnjk2aswsqmcpjwz4s98pgmymh1yjvf"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DPIGLIT_SSE2=OFF")
@@ -1451,16 +1451,21 @@ original glmark benchmark by Ben Smith.")
"'")))))
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
(wrap-script (string-append (assoc-ref outputs "out")
"/bin/piglit")
(wrap-script (string-append #$output "/bin/piglit")
`("GUIX_PYTHONPATH" prefix
(,(getenv "GUIX_PYTHONPATH")))))))))
(inputs (list guile-3.0 ; for wrap-script
(inputs (list glslang
guile-3.0 ; for wrap-script
libxkbcommon
python python-lxml python-mako python-numpy-1
glslang vulkan-headers vulkan-loader
python
wayland-protocols
vulkan-headers
vulkan-loader
waffle))
(native-inputs (list pkg-config))
(native-inputs (list pkg-config
python-lxml
python-mako
python-numpy))
(home-page "https://piglit.freedesktop.org/")
(synopsis "Test OpenGL implementations")
(description "Piglit is a collection of automated tests for OpenGL and