Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
cogl
cogl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cogl.spec of Package cogl
# # spec file for package cogl # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_wayland_backend 0 %define with_GLES2 0 Name: cogl Version: 1.16.2 Release: 0 Summary: An object oriented GL/GLES Abstraction/Utility Layer License: LGPL-2.1+ Group: System/Libraries Url: http://clutter-project.org/ Source0: http://download.gnome.org/sources/cogl/1.16/%{name}-%{version}.tar.xz Source99: baselibs.conf # PATCH-FEATURE-UPSTREAM cogl-bgo709827-per-framebuffer-depth-writing-api.patch bgo#709827 hpj@suse.com -- Add API to allow disabling depth buffer writing Patch1: cogl-bgo709827-per-framebuffer-depth-writing-api.patch BuildRequires: fdupes BuildRequires: gtk-doc >= 1.13 BuildRequires: pkgconfig(cairo) >= 1.10 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.0 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5 BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(pangocairo) >= 1.20 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcomposite) >= 0.4 BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) >= 3 BuildRequires: pkgconfig(xrandr) >= 1.2 %if %{build_wayland_backend} BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(xkbcommon) %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. %package -n libcogl15 Summary: An object oriented GL/GLES Abstraction/Utility Layer Group: System/Libraries Requires: Mesa Recommends: %{name}-lang = %{version} # To make the lang package installable Provides: %{name} = %{version} %description -n libcogl15 Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. %if %{with_GLES2} %package -n libcogl-gles2-15 Summary: An object oriented GL/GLES Abstraction/Utility Layer -- OpenGL ES 2.0 Frontend API Group: System/Libraries %description -n libcogl-gles2-15 Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures %endif %package -n typelib-1_0-Cogl-1_0 Summary: An object oriented GL/GLES Abstraction/Utility Layer -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-Cogl-1_0 Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. This package provides the GObject Introspection bindings for Cogl. %package -n libcogl-pango15 Summary: An object oriented GL/GLES Abstraction/Utility Layer -- Pango Integration Group: System/Libraries %description -n libcogl-pango15 Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. %package -n typelib-1_0-CoglPango-1_0 Summary: An object oriented GL/GLES Abstraction/Utility Layer -- Pango Integration, Introspection bindings Group: System/Libraries %description -n typelib-1_0-CoglPango-1_0 Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. This package provides the GObject Introspection bindings for the Pango integration in Cogl. %package devel Summary: An object oriented GL/GLES Abstraction/Utility Layer -- Development Files Group: Development/Libraries/GNOME # cogl-defines.h includes GL/gl.h Requires: Mesa-devel %if %{with_GLES2} Requires: libcogl-gles2-15 = %{version} %endif Requires: libcogl-pango15 = %{version} Requires: libcogl15 = %{version} Requires: typelib-1_0-Cogl-1_0 = %{version} Requires: typelib-1_0-CoglPango-1_0 = %{version} %description devel Cogl is a small open source library for using 3D graphics hardware to draw pretty pictures. %lang_package %prep %setup -q %patch1 -p1 %build %configure \ --disable-static \ --with-pic \ --enable-gtk-doc \ %if %{build_wayland_backend} --enable-wayland-egl-platform \ %endif %if %{with_GLES2} --enable-gles2 --enable-cogl-gles2 \ %endif %{nil} make %{?_smp_mflags} V=1 %install %makeinstall %{__rm} %{buildroot}%{_libdir}/*.la %find_lang cogl %fdupes %{buildroot}%{_libdir}/pkgconfig/ %post -n libcogl15 -p /sbin/ldconfig %postun -n libcogl15 -p /sbin/ldconfig %if %{with_GLES2} %post -n libcogl-gles2-15 -p /sbin/ldconfig %postun -n libcogl-gles2-15 -p /sbin/ldconfig %endif %post -n libcogl-pango15 -p /sbin/ldconfig %postun -n libcogl-pango15 -p /sbin/ldconfig %files -n libcogl15 %defattr(-,root,root) %doc COPYING NEWS README ChangeLog %{_libdir}/libcogl.so.* %if %{with_GLES2} %files -n libcogl-gles2-12 %defattr(-,root,root) %{_libdir}/libcogl-gles2.so.* %endif %files -n typelib-1_0-Cogl-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Cogl-1.0.typelib %files -n libcogl-pango15 %defattr(-,root,root) %doc COPYING NEWS README ChangeLog %{_libdir}/libcogl-pango.so.* %files -n typelib-1_0-CoglPango-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/CoglPango-1.0.typelib %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/cogl/ %dir %{_datadir}/cogl/ %{_datadir}/cogl/examples-data/ %{_libdir}/pkgconfig/cogl-1.0.pc %{_libdir}/pkgconfig/cogl-2.0-experimental.pc %if %{with_GLES2} %{_libdir}/pkgconfig/cogl-gles2-experimental.pc %endif %{_libdir}/pkgconfig/cogl-gl-1.0.pc %{_libdir}/pkgconfig/cogl-pango-1.0.pc %{_libdir}/pkgconfig/cogl-pango-2.0-experimental.pc %{_datadir}/gir-1.0/*.gir %doc %{_datadir}/gtk-doc/html/cogl/ %doc %{_datadir}/gtk-doc/html/cogl-2.0-experimental/ %files lang -f cogl.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor