]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - librsvg2/librsvg2.nm
gcc: Update to 4.8.1.
[people/ms/ipfire-3.x.git] / librsvg2 / librsvg2.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = librsvg2
7 version = 2.34.1
8 major_ver = 2.34
9 release = 2
10
11 groups = System/Libraries
12 url =
13 license = LGPLv2+
14 summary = A SVG library based on cairo.
15
16 description
17 librsvg is a SVG library based on cairo.
18 end
19
20 thisapp = librsvg-%{version}
21
22 source_dl = http://download.gnome.org/sources/librsvg/%{major_ver}/
23 sources = %{thisapp}.tar.xz
24
25 build
26 requires
27 cairo-devel
28 gdk-pixbuf2-devel
29 glib2-devel
30 libcroco-devel
31 libxml2-devel
32 pango-devel
33 end
34
35 export GDK_PIXBUF_QUERYLOADERS=%{bindir}/gdk-pixbuf-query-loaders
36
37 configure_options += \
38 --disable-static \
39 --disable-gtk-theme \
40 enable_pixbuf_loader=yes
41 end
42
43 packages
44 package %{name}
45 script postin
46 gdk-pixbuf-query-loaders --update-cache || :
47 end
48
49 script postun
50 gdk-pixbuf-query-loaders --update-cache || :
51 end
52
53 script postup
54 gdk-pixbuf-query-loaders --update-cache || :
55 end
56 end
57
58 package %{name}-devel
59 template DEVEL
60 end
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
65 end