]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - gobject-introspection/gobject-introspection.nm
kernel: udpate to 5.2
[ipfire-3.x.git] / gobject-introspection / gobject-introspection.nm
index 30add8ba8d4a3bca216e2bd94fcca7b568b43f0a..a5ff3ec34408e74e53dbe374b876581bd6e60513 100644 (file)
@@ -5,10 +5,10 @@
 
 name       = gobject-introspection
 version    = %{major_ver}.%{minor_ver}
-release    = 1
+release    = 3
 
-major_ver  = 1.31
-minor_ver  = 22
+major_ver  = 1.48
+minor_ver  = 0
 
 groups     = Development/Libraries
 url        = http://live.gnome.org/GObjectIntrospection
@@ -16,9 +16,9 @@ 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 \
+       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
 
@@ -27,20 +27,26 @@ sources    = %{thisapp}.tar.xz
 
 build
        requires
+               automake
                bison
                cairo-devel
                flex
-               glib2-devel
+               glib2-devel >= 2.48.0
                libffi-devel
                libtool
                python-devel
        end
 
+       export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs
+
        configure_options += \
                --disable-static
 
-       test
-               make check
+       install_cmds
+               # Fix interpreter
+               sed -e "s@^#!.*@#!/usr/bin/python@" \
+                       -i %{BUILDROOT}%{bindir}/g-ir-scanner \
+                       -i %{BUILDROOT}%{bindir}/g-ir-annotation-tool
        end
 end
 
@@ -55,6 +61,8 @@ packages
                template DEVEL
 
                requires = %{name}=%{thisver}
+
+               files += %{datadir}/gir*
        end
 
        package %{name}-debuginfo