name = gobject-introspection
version = %{major_ver}.%{minor_ver}
-release = 3
-
-major_ver = 1.48
+major_ver = 1.74
minor_ver = 0
+release = 3
groups = Development/Libraries
-url = http://live.gnome.org/GObjectIntrospection
+url = https://live.gnome.org/GObjectIntrospection
license = GPLv2+, LGPLv2+, MIT
summary = Introspection system for GObject-based libraries.
other things.
end
-source_dl = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/
+source_dl = https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/
sources = %{thisapp}.tar.xz
build
automake
bison
cairo-devel
+ cairo-gobject-devel
flex
glib2-devel >= 2.48.0
libffi-devel
libtool
- python-devel
+ meson
+ ninja
+ python3-devel
end
export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs
- configure_options += \
- --disable-static
+ build
+ %{meson} \
+ -Ddoctool=disabled
+
+ %{meson_build}
+ end
- install_cmds
- # Fix interpreter
- sed -e "s@^#!.*@#!/usr/bin/python@" \
- -i %{BUILDROOT}%{bindir}/g-ir-scanner \
- -i %{BUILDROOT}%{bindir}/g-ir-annotation-tool
+ install
+ %{meson_install}
end
end