# See https://gitlab.freedesktop.org/emersion/libdisplay-info/-/merge_requests/149 # for library versioning explanation. %global sover 3 Name: libdisplay-info Version: 0.3.0 Release: 2%{?dist}.1 Summary: EDID and DisplayID library # Main license: MIT # test/data: CC-BY-4.0, MIT (see test/data/README.md). License: MIT URL: https://gitlab.freedesktop.org/emersion/libdisplay-info Source0: %{url}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz Source1: %{url}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz.sig # 0FDE7BE0E88F5E48: emersion Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg # HDR on panels that declare it only through DisplayID 2.0, such as the LG OLED # of the Dell XPS 16 DA16260 (no CTA-861 extension): # DisplayID 2.0 data block parsing from 0.4.0 Patch0: 0001-displayid2-decode-data-blocks-structure.patch # Display Interface Features (BT.2020, PQ), libdisplay-info MR 210, not merged Patch1: 0002-Parse-DisplayID-2.0-Display-Interface-Features-for-HDR.patch # Panel luminance from the Display Parameters block as HDR static metadata Patch2: 0003-info-Use-DisplayID-2.0-Display-Parameters-luminance-for-HDR.patch BuildRequires: gcc BuildRequires: gnupg2 BuildRequires: meson >= 0.57 BuildRequires: pkgconfig(hwdata) %description %{summary}. %package tools Summary: Command-line tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description tools %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %meson %meson_build %install %meson_install %check %meson_test %files %license LICENSE %doc README.md %{_libdir}/%{name}.so.%{sover} %{_libdir}/%{name}.so.%{version} %files tools %{_bindir}/di-edid-decode %files devel %{_includedir}/%{name} %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Fri Oct 16 2026 Onuralp SEZER - 0.3.0-2.fc45.1 - Detect HDR (BT.2020, PQ) and panel luminance from DisplayID 2.0 blocks, for laptop panels without a CTA-861 extension * Thu Jul 16 2026 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Jan 23 2026 Aleksei Bavshin - 0.3.0-1 - Update to 0.3.0 (#2387864) * Fri Jan 16 2026 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Thu Jul 24 2025 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jul 18 2024 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 29 2024 Aleksei Bavshin - 0.2.0-1 - Update to 0.2.0 (#2293555) * Thu Jan 25 2024 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Feb 16 2023 Aleksei Bavshin - 0.1.1-1 - Initial import (#2170328)