]>
Commit | Line | Data |
---|---|---|
4aedebb2 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4aedebb2 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = gobject-introspection |
7f6bf204 | 7 | version = %{major_ver}.%{minor_ver} |
843c96e3 | 8 | major_ver = 1.74 |
738e32b3 | 9 | minor_ver = 0 |
843c96e3 | 10 | release = 3 |
7f6bf204 | 11 | |
802ea3af | 12 | groups = Development/Libraries |
843c96e3 | 13 | url = https://live.gnome.org/GObjectIntrospection |
802ea3af MT |
14 | license = GPLv2+, LGPLv2+, MIT |
15 | summary = Introspection system for GObject-based libraries. | |
4aedebb2 | 16 | |
802ea3af | 17 | description |
ac094100 SS |
18 | GObject Introspection can scan C header and source files in order |
19 | to generate introspection "typelib" files. It also provides an API to | |
20 | examine typelib files, useful for creating language bindings among | |
4aedebb2 | 21 | other things. |
802ea3af MT |
22 | end |
23 | ||
843c96e3 | 24 | source_dl = https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/ |
7f6bf204 | 25 | sources = %{thisapp}.tar.xz |
802ea3af MT |
26 | |
27 | build | |
28 | requires | |
b6202151 | 29 | automake |
802ea3af MT |
30 | bison |
31 | cairo-devel | |
843c96e3 | 32 | cairo-gobject-devel |
802ea3af | 33 | flex |
738e32b3 | 34 | glib2-devel >= 2.48.0 |
802ea3af MT |
35 | libffi-devel |
36 | libtool | |
843c96e3 MT |
37 | meson |
38 | ninja | |
39 | python3-devel | |
802ea3af MT |
40 | end |
41 | ||
738e32b3 MT |
42 | export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs |
43 | ||
843c96e3 MT |
44 | build |
45 | %{meson} \ | |
46 | -Ddoctool=disabled | |
47 | ||
48 | %{meson_build} | |
49 | end | |
b4458459 | 50 | |
843c96e3 MT |
51 | install |
52 | %{meson_install} | |
b4458459 | 53 | end |
802ea3af MT |
54 | end |
55 | ||
56 | packages | |
57 | package %{name} | |
802ea3af MT |
58 | |
59 | package %{name}-libs | |
60 | template LIBS | |
61 | end | |
1f9bc2f0 | 62 | |
802ea3af MT |
63 | package %{name}-devel |
64 | template DEVEL | |
1f9bc2f0 | 65 | |
802ea3af | 66 | requires = %{name}=%{thisver} |
ac094100 SS |
67 | |
68 | files += %{datadir}/gir* | |
802ea3af | 69 | end |
1f9bc2f0 MT |
70 | |
71 | package %{name}-debuginfo | |
72 | template DEBUGINFO | |
73 | end | |
802ea3af | 74 | end |