Fix compile on RHEL

This commit is contained in:
Richard Hughes 2014-10-27 20:37:33 +00:00
parent 487559a84b
commit 673cab0619

View File

@ -6,7 +6,7 @@
Name: cogl
Version: 1.18.2
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures
Group: Development/Libraries
@ -26,18 +26,18 @@ BuildRequires: libXdamage-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
%if %{with_wayland}
%if 0%{?with_wayland}
BuildRequires: libwayland-server-devel
BuildRequires: libwayland-client-devel
BuildRequires: libwayland-cursor-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
BuildRequires: mesa-libgbm-devel
%endif
%description
@ -97,8 +97,10 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC"
--enable-cogl-gst \
--enable-introspection=yes \
--enable-kms-egl-platform \
%if 0%{?with_wayland}
--enable-wayland-egl-platform \
--enable-wayland-egl-server \
%endif
--enable-xlib-egl-platform \
%{?with_tests:--enable-installed-tests}
@ -149,6 +151,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstcogl.so
%endif
%changelog
* Mon Oct 27 2014 Richard Hughes <rhughes@redhat.com> - 1.18.2-6
- Fix compile on RHEL
* Fri Aug 22 2014 Kalev Lember <kalevlember@gmail.com> - 1.18.2-5
- Remove lib64 rpaths (#1132876)