]> git.ipfire.org Git - ipfire-3.x.git/blob - glib2/glib2.nm
glib2: Update to 2.61
[ipfire-3.x.git] / glib2 / glib2.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = glib2
7 ver_major = 2.61
8 ver_minor = 1
9 version = %{ver_major}.%{ver_minor}
10 release = 1
11 thisapp = glib-%{version}
12
13 maintainer = Erik Kapfer <erik.kapfer@ipfire.org>
14 groups = System/Libraries
15 url = http://www.gtk.org
16 license = LGPLv2+
17 summary = A library of handy utility functions.
18
19 description
20 GLib is the low-level core library that forms the basis
21 for projects such as GTK+ and GNOME. It provides data structure
22 handling for C, portability wrappers, and interfaces for such runtime
23 functionality as an event loop, threads, dynamic loading, and an
24 object system.
25 end
26
27 source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{ver_major}/
28 sources = %{thisapp}.tar.xz
29
30 build
31 requires
32 docbook-xsl
33 gettext
34 libffi-devel
35 libmount-devel >= 2.34-2
36 meson >= 0.50.1
37 pcre-devel
38 pkg-config
39 zlib-devel
40 end
41
42 prepare_cmds
43 # Explicitly remove PCRE sources since we use --with-pcre=system
44 rm glib/pcre/*.[ch]
45 end
46
47 build
48 %{meson} \
49 --default-library=both \
50 -Dselinux=disabled \
51 -Dman=true \
52 -Ddtrace=false \
53 -Delf=false \
54 -Dfam=false \
55 -Dsystemtap=true \
56 -Dgtk_doc=false \
57 -Dinstalled_tests=false
58
59
60 %{meson_build}
61 end
62
63 install
64 %{meson_install}
65
66 mkdir -pv %{BUILDROOT}/etc/profile.d/
67 cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/
68 end
69 end
70
71 packages
72 package %{name}
73
74 package %{name}-devel
75 template DEVEL
76 end
77
78 package %{name}-debuginfo
79 template DEBUGINFO
80 end
81 end