mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 07:46:20 +01:00
gnu: glmark2: Update to 2021.12.
* gnu/packages/gl.scm (glmark2): Update to 2021.12. [build-system]: Switch to meson build system. [arguments]: Adjust arguments to meson build system. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d02b7abe24
commit
0b1473e967
1 changed files with 5 additions and 12 deletions
|
@ -16,6 +16,7 @@
|
||||||
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
||||||
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
||||||
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
|
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
|
||||||
|
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1091,7 +1092,7 @@ (define-public mojoshader-cs
|
||||||
(define-public glmark2
|
(define-public glmark2
|
||||||
(package
|
(package
|
||||||
(name "glmark2")
|
(name "glmark2")
|
||||||
(version "2020.04")
|
(version "2021.12")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1100,20 +1101,12 @@ (define-public glmark2
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ywpzp0imi3f8iyp7d1739576zx2nsr3db5hp2as4yhflfyq1as2"))
|
"1aydqbrg9i74s19rrdrsscx94m885yvc43v3sdqlgyh675ms98jb"))))
|
||||||
(modules '((guix build utils)))
|
(build-system meson-build-system)
|
||||||
;; Fix Python 3 incompatibility.
|
|
||||||
(snippet
|
|
||||||
'(begin
|
|
||||||
(substitute* "wscript"
|
|
||||||
(("(sorted\\()FLAVORS\\.keys\\(\\)(.*)" _ beginning end)
|
|
||||||
(string-append beginning "list(FLAVORS)" end)))
|
|
||||||
#t))))
|
|
||||||
(build-system waf-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no check target
|
'(#:tests? #f ; no check target
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list (string-append "--with-flavors="
|
(list (string-append "-Dflavors="
|
||||||
(string-join '("x11-gl" "x11-glesv2"
|
(string-join '("x11-gl" "x11-glesv2"
|
||||||
"drm-gl" "drm-glesv2"
|
"drm-gl" "drm-glesv2"
|
||||||
"wayland-gl" "wayland-glesv2")
|
"wayland-gl" "wayland-glesv2")
|
||||||
|
|
Loading…
Reference in a new issue