|
|
|
@ -1,12 +1,8 @@
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global with_wayland 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global with_tests 1
|
|
|
|
|
|
|
|
|
|
Name: cogl
|
|
|
|
|
Version: 1.22.2
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 1.22.8
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: A library for using 3D graphics hardware to draw pretty pictures
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
@ -29,13 +25,14 @@ Patch2: 0003-texture-support-copy_sub_image.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
|
BuildRequires: pkgconfig(egl)
|
|
|
|
|
BuildRequires: mesa-libEGL-devel
|
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk-doc)
|
|
|
|
|
BuildRequires: pkgconfig(libdrm)
|
|
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
@ -43,18 +40,12 @@ BuildRequires: pkgconfig(xext)
|
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_wayland}
|
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
# From rhughes-f20-gnome-3-12 copr
|
|
|
|
|
Obsoletes: compat-cogl116 < 1.18
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Cogl is a small open source library for using 3D graphics hardware to draw
|
|
|
|
@ -98,10 +89,7 @@ This package contains the installable tests for %{cogl}.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
@ -113,10 +101,8 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
|
--enable-gtk-doc \
|
|
|
|
|
--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}
|
|
|
|
|
|
|
|
|
@ -165,6 +151,46 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.22.8-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.22.8-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 04 2020 Kalev Lember <klember@redhat.com> - 1.22.8-1
|
|
|
|
|
- Update to 1.22.8
|
|
|
|
|
|
|
|
|
|
* Mon Mar 09 2020 Kalev Lember <klember@redhat.com> - 1.22.6-1
|
|
|
|
|
- Update to 1.22.6
|
|
|
|
|
|
|
|
|
|
* Sat Mar 07 2020 Leigh Scott <leigh123linux@gmail.com> - 1.22.4-4
|
|
|
|
|
- Fix building against libglvnd-provided EGL headers
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.22.4-1
|
|
|
|
|
- Update to 1.22.4
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.22.2-13
|
|
|
|
|
- Backport MR#8 to fix builds of cogl-using packages in F31+
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.2-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|