From 58e8adcd5ec53437e5510f5f974c4284f8b1c90c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:08:03 +0100 Subject: [PATCH] update to 2.4.101 [release 2.4.101-1mamba;Wed Apr 15 2020] --- libdrm.spec | 49 +++++++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/libdrm.spec b/libdrm.spec index f7aad5e..d5f642a 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -1,6 +1,6 @@ Name: libdrm Epoch: 1 -Version: 2.4.100 +Version: 2.4.101 Release: 1mamba Summary: A library interface to Linux DRM (Direct Rendering Manager) Group: System/Libraries @@ -8,7 +8,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://dri.freedesktop.org -Source: http://dri.freedesktop.org/libdrm/libdrm-%{version}.tar.bz2 +Source: http://dri.freedesktop.org/libdrm/libdrm-%{version}.tar.xz Patch0: %{name}-2.4.37-nouveau-1.patch License: MIT ## AUTOBUILDREQ-BEGIN @@ -31,26 +31,33 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} A library interface to Linux DRM (Direct Rendering Manager). This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q #%patch0 -p1 %build -#autoreconf -%configure \ - --enable-udev \ - --enable-vmwgfx-experimental-api \ - --enable-omap-experimental-api \ - --enable-exynos-experimental-api \ - --enable-intel \ - --enable-radeon \ - --enable-nouveau +%meson \ + -Dudev=true \ + -Domap=true \ + -Dexynos=true \ -%make +#% configure \ +# --enable-udev \ +# --enable-vmwgfx-experimental-api \ +# --enable-omap-experimental-api \ +# --enable-exynos-experimental-api \ +# --enable-intel \ +# --enable-radeon \ +# --enable-nouveau + + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -59,7 +66,9 @@ This package contains static libraries and header files need for development. %defattr(-,root,root) %{_libdir}/libdrm.so.* %{_libdir}/libdrm_amdgpu.so.* +%ifnarch arm %{_libdir}/libdrm_intel.so.* +%endif %{_libdir}/libdrm_nouveau.so.* %{_libdir}/libdrm_radeon.so.* %{_libdir}/libdrm_exynos.so.* @@ -85,28 +94,21 @@ This package contains static libraries and header files need for development. %dir %{_includedir}/omap %{_includedir}/omap/omap_drm.h %{_includedir}/*.h -%{_libdir}/libdrm.la %{_libdir}/libdrm.so %ifarch arm %dir %{_includedir}/freedreno %{_includedir}/freedreno/freedreno_drmif.h %{_includedir}/freedreno/freedreno_ringbuffer.h -%{_libdir}/libdrm_freedreno.la %{_libdir}/libdrm_freedreno.so %endif -%{_libdir}/libdrm_amdgpu.la %{_libdir}/libdrm_amdgpu.so -%{_libdir}/libdrm_exynos.la %{_libdir}/libdrm_exynos.so -%{_libdir}/libdrm_intel.la +%ifnarch arm %{_libdir}/libdrm_intel.so -%{_libdir}/libdrm_nouveau.la +%endif %{_libdir}/libdrm_nouveau.so -%{_libdir}/libdrm_omap.la %{_libdir}/libdrm_omap.so -%{_libdir}/libdrm_radeon.la %{_libdir}/libdrm_radeon.so -%{_libdir}/libkms.la %{_libdir}/libkms.so %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/drmAvailable.3* @@ -121,6 +123,9 @@ This package contains static libraries and header files need for development. #%doc README %changelog +* Wed Apr 15 2020 Silvan Calarco 2.4.101-1mamba +- update to 2.4.101 + * Sat Oct 19 2019 Automatic Build System 2.4.100-1mamba - automatic version update by autodist