Fix compile on RHEL
This commit is contained in:
parent
487559a84b
commit
673cab0619
11
cogl.spec
11
cogl.spec
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: cogl
|
Name: cogl
|
||||||
Version: 1.18.2
|
Version: 1.18.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: A library for using 3D graphics hardware to draw pretty pictures
|
Summary: A library for using 3D graphics hardware to draw pretty pictures
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -26,18 +26,18 @@ BuildRequires: libXdamage-devel
|
|||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: libXfixes-devel
|
BuildRequires: libXfixes-devel
|
||||||
BuildRequires: mesa-libGL-devel
|
BuildRequires: mesa-libGL-devel
|
||||||
|
BuildRequires: mesa-libgbm-devel
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: gstreamer1-devel
|
BuildRequires: gstreamer1-devel
|
||||||
BuildRequires: gstreamer1-plugins-base-devel
|
BuildRequires: gstreamer1-plugins-base-devel
|
||||||
|
|
||||||
%if %{with_wayland}
|
%if 0%{?with_wayland}
|
||||||
BuildRequires: libwayland-server-devel
|
BuildRequires: libwayland-server-devel
|
||||||
BuildRequires: libwayland-client-devel
|
BuildRequires: libwayland-client-devel
|
||||||
BuildRequires: libwayland-cursor-devel
|
BuildRequires: libwayland-cursor-devel
|
||||||
BuildRequires: libwayland-egl-devel
|
BuildRequires: libwayland-egl-devel
|
||||||
BuildRequires: libxkbcommon-devel
|
BuildRequires: libxkbcommon-devel
|
||||||
BuildRequires: mesa-libgbm-devel
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -97,8 +97,10 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|||||||
--enable-cogl-gst \
|
--enable-cogl-gst \
|
||||||
--enable-introspection=yes \
|
--enable-introspection=yes \
|
||||||
--enable-kms-egl-platform \
|
--enable-kms-egl-platform \
|
||||||
|
%if 0%{?with_wayland}
|
||||||
--enable-wayland-egl-platform \
|
--enable-wayland-egl-platform \
|
||||||
--enable-wayland-egl-server \
|
--enable-wayland-egl-server \
|
||||||
|
%endif
|
||||||
--enable-xlib-egl-platform \
|
--enable-xlib-egl-platform \
|
||||||
%{?with_tests:--enable-installed-tests}
|
%{?with_tests:--enable-installed-tests}
|
||||||
|
|
||||||
@ -149,6 +151,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstcogl.so
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 22 2014 Kalev Lember <kalevlember@gmail.com> - 1.18.2-5
|
||||||
- Remove lib64 rpaths (#1132876)
|
- Remove lib64 rpaths (#1132876)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user