From c5cbb9a96fa670aa276915b7fa4236ee9f67c42b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 22 Aug 2019 18:35:43 +0100 Subject: [PATCH] Bring back egl.pc for now --- egl.pc | 11 +++++++++++ mesa.spec | 14 ++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 egl.pc diff --git a/egl.pc b/egl.pc new file mode 100644 index 0000000..8459099 --- /dev/null +++ b/egl.pc @@ -0,0 +1,11 @@ +prefix=/usr +libdir=${prefix}/lib64 +includedir=${prefix}/include + +Name: egl +Description: Mesa EGL Library +Version: 19.2.0 +Requires.private: x11, xext, xdamage >= 1.1, xfixes, x11-xcb, xcb, xcb-glx >= 1.8.1, xcb-dri2 >= 1.8, xxf86vm, libdrm >= 2.4.75 +Libs: -L${libdir} -lEGL +Libs.private: -lpthread -pthread -lm -ldl +Cflags: -I${includedir} diff --git a/mesa.spec b/mesa.spec index 7a43071..7871766 100644 --- a/mesa.spec +++ b/mesa.spec @@ -51,7 +51,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 19.2.0-rc1 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.mesa3d.org @@ -60,8 +60,8 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz # Source1 contains email correspondence clarifying the license terms. # Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. Source1: Mesa-MLAA-License-Clarification-Email.txt - -Source2: glesv2.pc +Source2: glesv2.pc +Source3: egl.pc Patch3: 0003-evergreen-big-endian.patch @@ -354,8 +354,8 @@ Headers for development with the Vulkan API. %prep %autosetup -n %{name}-%{ver} -p1 cp %{SOURCE1} docs/ - cp %{SOURCE2} . +cp %{SOURCE3} . %build @@ -399,6 +399,8 @@ cp %{SOURCE2} . install glesv2.pc %{buildroot}%{_libdir}/pkgconfig/ +install egl.pc %{buildroot}%{_libdir}/pkgconfig/ + # libvdpau opens the versioned name, don't bother including the unversioned rm -vf %{buildroot}%{_libdir}/vdpau/*.so # likewise glvnd @@ -458,6 +460,7 @@ popd %{_includedir}/EGL/eglmesaext.h %{_includedir}/EGL/eglplatform.h %{_includedir}/EGL/eglextchromium.h +%{_libdir}/pkgconfig/egl.pc %files libGLES # No files, all provided by libglvnd @@ -645,6 +648,9 @@ popd %endif %changelog +* Thu Aug 22 2019 Peter Robinson 19.2.0~rc1-2 +- Bring back egl.pc for now + * Wed Aug 21 2019 Peter Robinson 19.2.0~rc1-1 - Update to 19.2.0~rc1