]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = gdk-pixbuf2 | |
7 | version = %{ver_major}.%{ver_minor} | |
8 | ver_major = 2.30 | |
9 | ver_minor = 5 | |
10 | release = 1 | |
11 | ||
12 | groups = System/Libraries | |
13 | url = http://www.gtk.org/ | |
14 | license = LGPLv2+ | |
15 | summary = An image loading library. | |
16 | ||
17 | description | |
18 | gdk-pixbuf is an image loading library that can be extended by loadable | |
19 | modules for new image formats. | |
20 | end | |
21 | ||
22 | thisapp = gdk-pixbuf-%{version} | |
23 | ||
24 | source_dl = http://download.gnome.org/sources/gdk-pixbuf/%{ver_major}/ | |
25 | sources = %{thisapp}.tar.xz | |
26 | ||
27 | build | |
28 | requires | |
29 | glib2-devel >= 2.37.6 | |
30 | gobject-introspection-devel >= 0.9.3 | |
31 | libpng-devel | |
32 | libjpeg-devel | |
33 | libtiff-devel | |
34 | libX11-devel | |
35 | end | |
36 | ||
37 | configure_options += \ | |
38 | --with-x11 \ | |
39 | --with-included-loaders=png | |
40 | ||
41 | make_install_targets += RUN_QUERY_LOADER_TEST=false | |
42 | ||
43 | install_cmds | |
44 | touch %{BUILDROOT}%{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache | |
45 | end | |
46 | end | |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | datafiles | |
51 | %{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache | |
52 | end | |
53 | ||
54 | script postin | |
55 | gdk-pixbuf-query-loaders --update-cache || : | |
56 | end | |
57 | ||
58 | script postup | |
59 | gdk-pixbuf-query-loaders --update-cache || : | |
60 | end | |
61 | end | |
62 | ||
63 | package %{name}-devel | |
64 | template DEVEL | |
65 | end | |
66 | ||
67 | package %{name}-debuginfo | |
68 | template DEBUGINFO | |
69 | end | |
70 | end |