]>
Commit | Line | Data |
---|---|---|
c112dc71 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = gdk-pixbuf2 | |
24c66e44 | 7 | version = %{ver_major}.%{ver_minor} |
890e8531 AM |
8 | ver_major = 2.33 |
9 | ver_minor = 2 | |
5f63e424 | 10 | release = 2 |
c112dc71 SS |
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 | ||
24c66e44 | 24 | source_dl = http://download.gnome.org/sources/gdk-pixbuf/%{ver_major}/ |
c112dc71 SS |
25 | sources = %{thisapp}.tar.xz |
26 | ||
27 | build | |
28 | requires | |
d9464195 | 29 | glib2-devel >= 2.37.6 |
d028ace2 | 30 | gobject-introspection-devel >= 0.9.3 |
c112dc71 SS |
31 | libpng-devel |
32 | libjpeg-devel | |
33 | libtiff-devel | |
d028ace2 | 34 | libX11-devel |
c112dc71 SS |
35 | end |
36 | ||
5f63e424 MT |
37 | export LD_LIBRARY_PATH = %{DIR_APP}/gdk-pixbuf/.libs |
38 | ||
c112dc71 | 39 | configure_options += \ |
d028ace2 MT |
40 | --with-x11 \ |
41 | --with-included-loaders=png | |
42 | ||
43 | make_install_targets += RUN_QUERY_LOADER_TEST=false | |
44 | ||
45 | install_cmds | |
46 | touch %{BUILDROOT}%{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache | |
47 | end | |
c112dc71 SS |
48 | end |
49 | ||
50 | packages | |
51 | package %{name} | |
d028ace2 MT |
52 | datafiles |
53 | %{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache | |
54 | end | |
55 | ||
56 | script postin | |
57 | gdk-pixbuf-query-loaders --update-cache || : | |
58 | end | |
59 | ||
60 | script postup | |
61 | gdk-pixbuf-query-loaders --update-cache || : | |
62 | end | |
c112dc71 | 63 | end |
1f9bc2f0 | 64 | |
c112dc71 SS |
65 | package %{name}-devel |
66 | template DEVEL | |
67 | end | |
1f9bc2f0 MT |
68 | |
69 | package %{name}-debuginfo | |
70 | template DEBUGINFO | |
71 | end | |
c112dc71 | 72 | end |