]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - gdk-pixbuf2/gdk-pixbuf2.nm
glib2: Update to 2.39.4.
[people/ms/ipfire-3.x.git] / gdk-pixbuf2 / gdk-pixbuf2.nm
CommitLineData
c112dc71
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = gdk-pixbuf2
24c66e44
SS
7version = %{ver_major}.%{ver_minor}
8ver_major = 2.27
9ver_minor = 1
c112dc71
SS
10release = 1
11
12groups = System/Libraries
13url = http://www.gtk.org/
14license = LGPLv2+
15summary = An image loading library.
16
17description
18 gdk-pixbuf is an image loading library that can be extended by loadable
19 modules for new image formats.
20end
21
22thisapp = gdk-pixbuf-%{version}
23
24c66e44 24source_dl = http://download.gnome.org/sources/gdk-pixbuf/%{ver_major}/
c112dc71
SS
25sources = %{thisapp}.tar.xz
26
27build
28 requires
d028ace2
MT
29 glib2-devel >= 2.31.16
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
37 configure_options += \
d028ace2
MT
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
c112dc71
SS
46end
47
48packages
49 package %{name}
d028ace2
MT
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
c112dc71 61 end
1f9bc2f0 62
c112dc71
SS
63 package %{name}-devel
64 template DEVEL
65 end
1f9bc2f0
MT
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
c112dc71 70end