forked from pool/libepoxy
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user