]> git.ipfire.org Git - ipfire-3.x.git/blob - cairo/cairo.nm
libxcrypt: Update to version 4.4.36
[ipfire-3.x.git] / cairo / cairo.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = cairo
7 version = %{ver_maj}.6
8 ver_maj = 1.17
9 release = 1
10
11 groups = System/Graphics
12 url = https://cairographics.org
13 license = LGPLv2 MPLv1.1
14 summary = A 2D graphics library.
15
16 description
17 Cairo is a 2D graphics library designed to provide high-quality display
18 and print output.
19 end
20
21 source_dl = https://download.gnome.org/sources/%{name}/%{ver_maj}/
22 sources = %{thisapp}.tar.xz
23
24 build
25 requires
26 expat-devel
27 fontconfig-devel >= 2.10
28 freetype-devel
29 ghostscript-devel
30 glib2-devel >= 2.14
31 gobject-introspection-devel
32 libxml2-devel
33 libpng-devel
34 lzo-devel
35 meson
36 ninja
37 pixman-devel >= 0.30.0
38 pkg-config
39 zlib-devel
40 end
41
42 build
43 # Tests require poppler which we currently don't have
44 %{meson} \
45 -Dtests=disabled \
46 -Dspectre=disabled \
47 -Dsymbol-lookup=disabled \
48 -Dxcb=disabled \
49 -Dxlib=disabled
50
51 %{meson_build}
52 end
53
54 install
55 %{meson_install}
56 end
57 end
58
59 packages
60 package %{name}
61
62 package %{name}-gobject
63 summary = GObject bindings for cairo.
64 description
65 This package contains functionality to make cairo
66 graphics library integrate well with the GObject object system.
67 end
68
69 requires
70 cairo = %{thisver}
71 end
72
73 files
74 %{libdir}/*gobject.so.*
75 end
76 end
77
78 package %{name}-devel
79 template DEVEL
80
81 # The development package needs the other dependencies as well.
82 requires
83 fontconfig-devel
84 freetype-devel
85 libpng-devel
86 pixman-devel
87 end
88 end
89
90 package %{name}-gobject-devel
91 summary = Development files for cairo-gobject.
92 description
93 This package contains libraries, header files and developer
94 documentation needed for developing software which uses the
95 cairo Gobject library.
96 end
97
98 requires
99 %{name}-gobject = %{thisver}
100 %{name}-devel = %{thisver}
101 end
102
103 files
104 %{libdir}/*gobject.so
105 %{libdir}/pkgconfig/*gobject.pc
106 %{includedir}/cairo/*gobject.h
107 end
108 end
109
110 package %{name}-debuginfo
111 template DEBUGINFO
112 end
113 end