]> git.ipfire.org Git - ipfire-3.x.git/blob - gdk-pixbuf2/gdk-pixbuf2.nm
Merge remote-tracking branch 'stevee/openldap-improvements'
[ipfire-3.x.git] / gdk-pixbuf2 / gdk-pixbuf2.nm
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 = %{major_ver}.5
8 major_ver = 2.26
9 release = 1
10
11 groups = System/Libraries
12 url = http://www.gtk.org/
13 license = LGPLv2+
14 summary = An image loading library.
15
16 description
17 gdk-pixbuf is an image loading library that can be extended by loadable
18 modules for new image formats.
19 end
20
21 thisapp = gdk-pixbuf-%{version}
22
23 source_dl = http://download.gnome.org/sources/gdk-pixbuf/%{major_ver}/
24 sources = %{thisapp}.tar.xz
25
26 build
27 requires
28 glib2-devel >= 2.31.16
29 gobject-introspection-devel >= 0.9.3
30 libpng-devel
31 libjpeg-devel
32 libtiff-devel
33 libX11-devel
34 end
35
36 configure_options += \
37 --with-x11 \
38 --with-included-loaders=png
39
40 make_install_targets += RUN_QUERY_LOADER_TEST=false
41
42 install_cmds
43 touch %{BUILDROOT}%{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
44 end
45 end
46
47 packages
48 package %{name}
49 datafiles
50 %{libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
51 end
52
53 script postin
54 gdk-pixbuf-query-loaders --update-cache || :
55 end
56
57 script postup
58 gdk-pixbuf-query-loaders --update-cache || :
59 end
60 end
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69 end