mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Bring back glesv2.pc for now
This commit is contained in:
parent
f2ad1e1493
commit
1260598b62
2 changed files with 21 additions and 1 deletions
10
glesv2.pc
Normal file
10
glesv2.pc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=/usr
|
||||||
|
libdir=${prefix}/lib64
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: glesv2
|
||||||
|
Description: Mesa OpenGL ES 2.0 library
|
||||||
|
Version: 19.1.0
|
||||||
|
Libs: -L${libdir} -lGLESv2
|
||||||
|
Libs.private: -lpthread -pthread -lm -ldl
|
||||||
|
Cflags: -I${includedir}
|
12
mesa.spec
12
mesa.spec
|
@ -50,7 +50,7 @@ Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
%global ver 19.1.0-rc1
|
%global ver 19.1.0-rc1
|
||||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
|
||||||
|
@ -60,6 +60,8 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
||||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
# 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
|
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
|
Source2: glesv2.pc
|
||||||
|
|
||||||
# sent upstream should be in rc2
|
# sent upstream should be in rc2
|
||||||
Patch1: 0001-kmsro-add-_dri.so-to-two-of-the-kmsro-drivers.patch
|
Patch1: 0001-kmsro-add-_dri.so-to-two-of-the-kmsro-drivers.patch
|
||||||
|
|
||||||
|
@ -355,6 +357,8 @@ Headers for development with the Vulkan API.
|
||||||
%autosetup -n %{name}-%{ver} -p1
|
%autosetup -n %{name}-%{ver} -p1
|
||||||
cp %{SOURCE1} docs/
|
cp %{SOURCE1} docs/
|
||||||
|
|
||||||
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%meson -Dcpp_std=gnu++11 \
|
%meson -Dcpp_std=gnu++11 \
|
||||||
|
@ -395,6 +399,8 @@ cp %{SOURCE1} docs/
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
install glesv2.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||||
|
|
||||||
# libvdpau opens the versioned name, don't bother including the unversioned
|
# libvdpau opens the versioned name, don't bother including the unversioned
|
||||||
rm -vf %{buildroot}%{_libdir}/vdpau/*.so
|
rm -vf %{buildroot}%{_libdir}/vdpau/*.so
|
||||||
# likewise glvnd
|
# likewise glvnd
|
||||||
|
@ -469,6 +475,7 @@ popd
|
||||||
%{_includedir}/GLES3/gl3ext.h
|
%{_includedir}/GLES3/gl3ext.h
|
||||||
%{_includedir}/GLES3/gl31.h
|
%{_includedir}/GLES3/gl31.h
|
||||||
%{_includedir}/GLES3/gl32.h
|
%{_includedir}/GLES3/gl32.h
|
||||||
|
%{_libdir}/pkgconfig/glesv2.pc
|
||||||
|
|
||||||
%ldconfig_scriptlets libglapi
|
%ldconfig_scriptlets libglapi
|
||||||
%files libglapi
|
%files libglapi
|
||||||
|
@ -634,6 +641,9 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 15 2019 Dave Airlie <airlied@redhat.com> - 19.1.0~rc1-4
|
||||||
|
- Bring back glesv2.pc for now
|
||||||
|
|
||||||
* Fri May 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19.1.0~rc1-3
|
* Fri May 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 19.1.0~rc1-3
|
||||||
- Enable panfrost
|
- Enable panfrost
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue