]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
gobject-introspection: Update to 1.74.0
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:06:37 +0000 (16:06 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Dec 2022 16:06:37 +0000 (16:06 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
gobject-introspection/gobject-introspection.nm

index a5ff3ec34408e74e53dbe374b876581bd6e60513..3540e6d2edd31a24b433f9f495eddd759de1b7c1 100644 (file)
@@ -5,13 +5,12 @@
 
 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.
 
@@ -22,7 +21,7 @@ description
        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
@@ -30,23 +29,27 @@ 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