]>
Commit | Line | Data |
---|---|---|
8735596f SS |
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 | |
0a3b97b3 | 9 | release = 2 |
8735596f SS |
10 | |
11 | groups = System/Libraries | |
1f9bc2f0 | 12 | url = |
8735596f SS |
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 | ||
0a3b97b3 SS |
35 | export GDK_PIXBUF_QUERYLOADERS=%{bindir}/gdk-pixbuf-query-loaders |
36 | ||
8735596f SS |
37 | configure_options += \ |
38 | --disable-static \ | |
0a3b97b3 SS |
39 | --disable-gtk-theme \ |
40 | enable_pixbuf_loader=yes | |
8735596f SS |
41 | end |
42 | ||
43 | packages | |
44 | package %{name} | |
0a3b97b3 SS |
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 | |
1f9bc2f0 | 57 | |
8735596f SS |
58 | package %{name}-devel |
59 | template DEVEL | |
60 | end | |
1f9bc2f0 MT |
61 | |
62 | package %{name}-debuginfo | |
63 | template DEBUGINFO | |
64 | end | |
8735596f | 65 | end |