Accepting request 580976 from home:iznogood:branches:X11:XOrg

New upstream release

OBS-URL: https://build.opensuse.org/request/show/580976
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libepoxy?expand=0&rev=10
This commit is contained in:
Stefan Dirsch 2018-02-28 15:26:25 +00:00 committed by Git OBS Bridge
parent 92750c552f
commit 386673ef67
4 changed files with 32 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f18518ba0036f7670f837a510bb25be4b3e7fba97d75193b24f7220de55b515
size 310823

3
libepoxy-1.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76c18bf8a8c48c804f4ce64f533c6631b3b19357735bf0b2f6fb4abe752fd2e9
size 325983

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Feb 28 13:45:02 UTC 2018 - bjorn.lie@gmail.com
- Update to version 1.5.0:
+ Bump the Meson dependency to 0.44.1.
+ Include Xlib.h in the tests that use X11 API.
+ Update the GL registry to OpenGL 4.6.
+ Add gl and egl private dependencies in the pkg-config file.
+ Allow building Epoxy without X11 support.
+ Rename the Meson configuration options to be more idiomatic.
+ New API:
- epoxy_set_resolver_failure_handler().
- epoxy_glsl_version().
- epoxy_extension_in_string().
- Do a minor spec cleanup, use autosetup macro.
- Pass docs=false, glx=yes, egl=yes and x11=true to meson, ensure
we build the features we want.
-------------------------------------------------------------------
Wed Jan 10 21:57:40 UTC 2018 - crrodriguez@opensuse.org

View File

@ -18,7 +18,7 @@
Name: libepoxy
%define sonum 0
Version: 1.4.3
Version: 1.5.0
Release: 0
Summary: OpenGL function pointer management library
License: MIT
@ -26,7 +26,8 @@ Group: Development/Libraries/C and C++
Url: https://github.com/anholt/libepoxy
Source0: https://github.com/anholt/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: meson >= 0.39.1
BuildRequires: meson >= 0.44.1
BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: pkgconfig(egl)
@ -35,7 +36,6 @@ BuildRequires: pkgconfig(glesv1_cm)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Epoxy is a library for handling OpenGL function pointer management for you.
@ -76,10 +76,15 @@ function names like glCompileShader().
Development files.
%prep
%setup -q
%autosetup
%build
%{meson}
%{meson} \
-D docs=false \
-D glx=yes \
-D egl=yes \
-D x11=true \
%{nil}
%{meson_build}
%install
@ -87,16 +92,13 @@ Development files.
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{name}%{sonum} -p /sbin/ldconfig
%postun -n %{name}%{sonum} -p /sbin/ldconfig
%files -n %{name}%{sonum}
%defattr(-,root,root)
%doc COPYING
%license COPYING
%{_libdir}/libepoxy.so.*
%files devel
%defattr(-,root,root)
%doc README.md
%{_libdir}/libepoxy.so
%{_libdir}/pkgconfig/epoxy.pc