]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - gobject-introspection/gobject-introspection.nm
gcc: Update to 6.4.0
[people/ms/ipfire-3.x.git] / gobject-introspection / gobject-introspection.nm
index 1f6bc03fe8cb5ca04111ed69ec4bc224db131e89..a5ff3ec34408e74e53dbe374b876581bd6e60513 100644 (file)
@@ -5,10 +5,10 @@
 
 name       = gobject-introspection
 version    = %{major_ver}.%{minor_ver}
-release    = 1
+release    = 3
 
-major_ver  = 1.35
-minor_ver  = 4
+major_ver  = 1.48
+minor_ver  = 0
 
 groups     = Development/Libraries
 url        = http://live.gnome.org/GObjectIntrospection
@@ -27,17 +27,27 @@ 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
+
+       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
 
 packages