]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - cogl/cogl.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / cogl / cogl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = cogl
7 version = %{ver_maj}.%{ver_min}
8 ver_maj = 1.13
9 ver_min = 2
10 release = 2
11
12 groups = Development/Libraries
13 url = http://www.clutter-project.org/
14 license = LGPLv2+
15 summary = A library for using 3D graphics hardware to draw pretty pictures
16
17 description
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.
33 end
34
35 source_dl = http://download.gnome.org/sources/cogl/%{ver_maj}/
36 sources = %{thisapp}.tar.xz
37
38 build
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 export LD_LIBRARY_PATH = %{DIR_APP}/cogl/.libs:%{DIR_APP}/cogl-pango/.libs
53
54 configure_options += \
55 --enable-cairo \
56 --enable-gdk-pixbuf \
57 --enable-cogl-pango \
58 --enable-glx \
59 --enable-introspection=yes \
60 --disable-gtk-doc
61
62 make_build_targets += V=1
63
64 install_cmds
65 rm -vf %{BUILDROOT}%{datadir}/cogl/examples-data/crate.jpg
66 end
67 end
68
69 packages
70 package %{name}
71
72 package %{name}-devel
73 template DEVEL
74
75 files += \
76 %{datadir}/gir*/
77 end
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
82 end