gnu: openimageio: Update to 2.5.10.1.

* gnu/packages/graphics.scm (openimageio): Update to 2.5.10.1.
[source]: Adjust tag prefix.
[arguments]: Use G-Expressions.
<#:configure-flags>: Pass "-DOIIO_BUILD_TESTS=false".
[inputs]: Replace openexr-2 with openexr, fmt-8 with fmt. Use package
labels. Sort alphabetically.

Change-Id: I7016f89c5b7c78cbc1ffeac23e5c0cefe2a8f43b
This commit is contained in:
Vinicius Monego 2024-03-25 15:10:56 -03:00
parent 38e93600b5
commit 81c6c8a01b
No known key found for this signature in database
GPG key ID: 637B0B138065B68A
2 changed files with 21 additions and 23 deletions

View file

@ -10,7 +10,7 @@
;;; Copyright © 2020 Roel Janssen <roel@gnu.org> ;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
;;; Copyright © 2020, 2021, 2023, 2024 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2020, 2021, 2023, 2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020, 2021, 2022, 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>

View file

@ -1313,40 +1313,38 @@ (define-public openexr-2
(define-public openimageio (define-public openimageio
(package (package
(name "openimageio") (name "openimageio")
(version "2.2.21.0") (version "2.5.10.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/OpenImageIO/oiio") (url "https://github.com/OpenImageIO/oiio")
(commit (string-append "Release-" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0aicxbshzv1g9d8d08vsj1a9klaycxaifvvp565qjv70wyma2vkr")))) "06x3lqj9qjh5m0zbr5g2g9ii6jk340pgzrhr4fb353y1y2pkx5sw"))))
(build-system cmake-build-system) (build-system cmake-build-system)
;; FIXME: To run all tests successfully, test image sets from multiple
;; third party sources have to be present. For details see
;; <https://github.com/OpenImageIO/oiio/blob/master/INSTALL.md>
(arguments (arguments
`(#:tests? #f (list #:tests? #f ; half the tests require online data or use redirection
#:configure-flags (list "-DUSE_EXTERNAL_PUGIXML=1"))) #:configure-flags #~(list "-DUSE_EXTERNAL_PUGIXML=1"
"-DOIIO_BUILD_TESTS=false")))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs
`(("boost" ,boost) (list boost
("fmt" ,fmt-8) fmt
("libheif" ,libheif) giflib
("libpng" ,libpng) imath
("libjpeg" ,libjpeg-turbo) libheif
("libtiff" ,libtiff) libjpeg-turbo
("giflib" ,giflib) libpng
("openexr" ,openexr-2) libtiff
("ilmbase" ,ilmbase) openexr
("pugixml" ,pugixml) pugixml
("python" ,python-wrapper) pybind11
("pybind11" ,pybind11) python-wrapper
("robin-map" ,robin-map) robin-map
("zlib" ,zlib))) zlib))
(synopsis "C++ library for reading and writing images") (synopsis "C++ library for reading and writing images")
(description (description
"OpenImageIO is a library for reading and writing images, and a bunch of "OpenImageIO is a library for reading and writing images, and a bunch of