gnu: libdisplay-info: Update to 0.2.0.

* gnu/packages/wm.scm (libdisplay-info): Update to 0.2.0.

Change-Id: I7dd4b6899341ff4d5b1da23ac04af11f7cd724c2
This commit is contained in:
Zheng Junjie 2025-05-05 19:12:59 +08:00 committed by Andreas Enge
parent 7c348e2c16
commit bab36b3d38
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -3705,34 +3705,34 @@ for wayland conceptually based on the X11 window manager
(license license:expat))) (license license:expat)))
(define-public libdisplay-info (define-public libdisplay-info
(let ((commit "ebee35935dad01478ae1ae5ead298c4cd8018ac2") (package
(revision "0")) (name "libdisplay-info")
(package (version "0.2.0")
(name "libdisplay-info") (source
(version (git-version "0.2.0-dev" revision commit)) (origin
(home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info") (method git-fetch)
(source (uri (git-reference
(origin (url "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(method git-fetch) (commit version)))
(uri (git-reference (url home-page) (commit commit))) (file-name (git-file-name name version))
(file-name (git-file-name name version)) (sha256
(sha256 (base32 "0x5paiq0lfvq6kbn5hgf0h8m86mjkqqj1pldjgl1i0n7nc39c6gb"))))
(base32 "1ly8acdjxn8l55y0wc07n7pb6rzh9dpr1vbsakdib2zrl0i5yh3a")))) (build-system meson-build-system)
(build-system meson-build-system) (arguments
(arguments (list
(list #:phases #~(modify-phases %standard-phases
#:phases #~(modify-phases %standard-phases (add-before 'configure 'fix-meson-file
(add-before 'configure 'fix-meson-file (lambda* (#:key native-inputs inputs #:allow-other-keys)
(lambda* (#:key native-inputs inputs #:allow-other-keys) (substitute* "meson.build"
(substitute* "meson.build" (("/usr/share/hwdata/pnp.ids")
(("/usr/share/hwdata/pnp.ids") (string-append (assoc-ref (or native-inputs inputs)
(string-append (assoc-ref (or native-inputs inputs) "hwdata")
"hwdata") "/share/hwdata/pnp.ids"))))))))
"/share/hwdata/pnp.ids")))))))) (native-inputs (list hwdata python))
(native-inputs (list hwdata python)) (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info")
(synopsis "EDID and DisplayID library") (synopsis "EDID and DisplayID library")
(description (description
"This package provides a library to read @acronym{EDID, Extended "This package provides a library to read @acronym{EDID, Extended
Display Identification Data} and DisplayID metadata from display devices. It Display Identification Data} and DisplayID metadata from display devices. It
has the following goals: has the following goals:
@ -3745,7 +3745,7 @@ Simplicity and correctness over performance and resource usage.
@item @item
Well-tested and fuzzed. Well-tested and fuzzed.
@end enumerate") @end enumerate")
(license license:expat)))) (license license:expat)))
(define-public libucl (define-public libucl
(package (package