############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = gobject-introspection version = %{major_ver}.%{minor_ver} major_ver = 1.74 minor_ver = 0 release = 3 groups = Development/Libraries url = https://live.gnome.org/GObjectIntrospection license = GPLv2+, LGPLv2+, MIT summary = Introspection system for GObject-based libraries. description GObject Introspection can scan C header and source files in order to generate introspection "typelib" files. It also provides an API to examine typelib files, useful for creating language bindings among other things. end source_dl = https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/ sources = %{thisapp}.tar.xz build requires automake bison cairo-devel cairo-gobject-devel flex glib2-devel >= 2.48.0 libffi-devel libtool meson ninja python3-devel end export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs build %{meson} \ -Ddoctool=disabled %{meson_build} end install %{meson_install} end end packages package %{name} package %{name}-libs template LIBS end package %{name}-devel template DEVEL requires = %{name}=%{thisver} files += %{datadir}/gir* end package %{name}-debuginfo template DEBUGINFO end end