# # spec file for package libdisplay-info # # Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libdisplay-info %define lname libdisplay-info3 Version: 0.3.0 Release: 2.1 Summary: EDID and DisplayID library License: MIT Group: Development/Libraries/C and C++ URL: https://gitlab.freedesktop.org/emersion/libdisplay-info Source: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz Source2: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz.sig Source3: %name.keyring Source9: baselibs.conf BuildRequires: c_compiler BuildRequires: meson >= 0.57.0 BuildRequires: python3-base BuildRequires: pkgconfig(hwdata) %description libdisplay-info is an EDID and DisplayID library. It provides a low-level API exposing all of the details of these formats, plus a high-level API (of opinionated functions) which abstracts these details for common operations. %package -n %lname Summary: EDID and DisplayID library Group: System/Libraries %description -n %lname libdisplay-info is an EDID and DisplayID library. It provides a low-level API exposing all of the details of these formats, plus a high-level API (of opinionated functions) which abstracts these details for common operations. %package tools Summary: Command-line tools for %name Requires: %lname = %version Provides: %name-devel:%_bindir/di-edid-decode %description tools libdisplay-info is an EDID and DisplayID library. It provides a low-level API exposing all of the details of these formats, plus a high-level API (of opinionated functions) which abstracts these details for common operations. This package contains a tool to parse EDID. %package devel Summary: Header files for libdisplay-info, an EDID library Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel The library provides a set of low- and high-level functions for EDID and DisplayID. This package contains headers for the library. %prep %autosetup -p1 %build # includedir intentional, cf. bugzilla.opensuse.org/795968 %meson --includedir="%_includedir/%name" %meson_build %install %meson_install %ldconfig_scriptlets -n %lname %check %meson_test %files -n %lname %_libdir/lib*.so.[0-9]* %files tools %_bindir/di-edid-decode %files devel %_includedir/%name/ %_libdir/pkgconfig/*.pc %_libdir/*.so %license LICENSE %changelog * Wed Nov 26 2025 Stefan Dirsch - added -32bit package needed by Mesa's libvulkan driver packages * Wed Aug 13 2025 Jan Engelhardt - Update to release 0.3.0 * This new release adds support for the following new blocks: * CTA Vendor Specific Video Block * CTA HDR10+ Vendor Specific Video Block * CTA Dolby Vision Vendor Specific Video Block * CTA HDMI Vendor Specific Data Block * CTA HDMI Forum vendor-specific data block * CTA HDMI Forum Sink Capability Data Block * Basic DisplayID version 2 structure * Low-level API has had some function name/signature changes * Thu Mar 20 2025 Manfred Hollstein - Add BuildRequires: python3-base; building for Leap 15.6 fails otherwise. * Thu Feb 27 2025 Enrico Belleri - Create package libdisplay-info-tools for di-edid-decode - Remode BuildRequires cmake in favour of c_compiler * Thu Jun 20 2024 Jan Engelhardt - Update to release 0.2 * edid: ignore unsupported/malformed DisplayID extension blocks * edid: ignore malformed CTA extension blocks * displayid: add support for type III timings * cta: add support for Room Configuration data blocks, Speaker Location data blocks, Video Format Preference * Wed Feb 15 2023 Jan Engelhardt - Update to release 0.1.1 * Changes to the pkgconfig file * Mon Feb 13 2023 Jan Engelhardt - Update to release 0.1.0 * The library includes full support for EDID, partial support for CTA-861-H, and very basic support for DisplayID 1.3. * Mon Mar 28 2022 Jan Engelhardt - Initial package (version 0) for build.opensuse.org