]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
vala: Update to 0.56.17
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 12 Jan 2025 13:54:25 +0000 (14:54 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 12 Jan 2025 13:54:25 +0000 (14:54 +0100)
* Overwrite the build section to keep a required runpath
* Enable testsuite (execpt a few dbus related tests)
* Drop unneeded devel package

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
vala/vala.nm

index 31dd804a80ad503afb0ef3d0b2b4d7a88147a559..52d7e73265ae8e7ea82d07ecd162d18bf45f850e 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = vala
 ver_major  = 0.56
-ver_minor  = 13
+ver_minor  = 17
 version    = %{ver_major}.%{ver_minor}
 release    = 1
 
@@ -26,18 +26,37 @@ sources    = %{thisapp}.tar.xz
 
 build
        requires
+               autoconf
+               automake
                bison
                dbus
                dbus-glib-devel
                flex
                graphviz-devel
+               gobject-introspection-devel
                pkg-config
        end
 
-       # Disabled as it does total rubbish.
-       #def test
-       #       make check
-       #end
+       configure_options+= \
+               --disable-valadoc
+
+       prepare_cmds
+               # Drop dbus related tests from testsuite.
+               # They need a running dbus instance.
+               sed -i '/dbus/d' tests/Makefile.am
+       end
+
+       build
+               # Run configure
+               %{configure}
+
+               # Run build
+               %{make_build}
+       end
+
+       test
+               make check
+       end
 end
 
 packages
@@ -45,10 +64,6 @@ packages
                requires = glib2
        end
 
-       package %{name}-devel
-               template DEVEL
-       end
-
        package %{name}-debuginfo
                template DEBUGINFO
        end