]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - cogl/cogl.nm
libnl3: New package.
[people/ms/ipfire-3.x.git] / cogl / cogl.nm
CommitLineData
b2a70184
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = cogl
7version = %{ver_maj}.%{ver_min}
8ver_maj = 1.13
9ver_min = 2
10release = 1
11
12groups = Development/Libraries
13url = http://www.clutter-project.org/
14license = LGPLv2+
15summary = A library for using 3D graphics hardware to draw pretty pictures
16
17description
18 Cogl is a small open source library for using 3D graphics hardware to draw
19 pretty pictures. The API departs from the flat state machine style of
20 OpenGL and is designed to make it easy to write orthogonal components that
21 can render without stepping on each others toes.
22
23 As well aiming for a nice API, we think having a single library as opposed
24 to an API specification like OpenGL has a few advantages too; like being
25 able to paper over the inconsistencies/bugs of different OpenGL
26 implementations in a centralized place, not to mention the myriad of OpenGL
27 extensions. It also means we are in a better position to provide utility
28 APIs that help software developers since they only need to be implemented
29 once and there is no risk of inconsistency between implementations.
30
31 Having other backends, besides OpenGL, such as drm, Gallium or D3D are
32 options we are interested in for the future.
33end
34
35source_dl = http://download.gnome.org/sources/cogl/%{ver_maj}/
36sources = %{thisapp}.tar.xz
37
38build
39 requires
40 cairo-devel
41 gdk-pixbuf2-devel
42 glib2-devel
43 gobject-introspection-devel
44 libXcomposite-devel
45 libXdamage-devel
46 libXext-devel
47 libXfixes-devel
48 libGL-devel
49 pango-devel
50 end
51
52 configure_options += \
53 --enable-cairo \
54 --enable-gdk-pixbuf \
55 --enable-cogl-pango \
56 --enable-glx \
57 --enable-introspection=yes \
58 --disable-gtk-doc
59
60 make_build_targets += V=1
61
62 install_cmds
63 rm -vf %{BUILDROOT}%{datadir}/cogl/examples-data/crate.jpg
64 end
65end
66
67packages
68 package %{name}
69
70 package %{name}-devel
71 template DEVEL
72
73 files += \
74 %{datadir}/gir*/
75 end
76
77 package %{name}-debuginfo
78 template DEBUGINFO
79 end
80end