fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#include "foo.h"
|
||||
|
||||
int foo_do_something(void) {
|
||||
return 42;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
int foo_do_something(void);
|
||||
@@ -0,0 +1,22 @@
|
||||
project('gnome module without C', 'cpp')
|
||||
|
||||
gi = dependency('gobject-introspection-1.0', required: false)
|
||||
if not gi.found()
|
||||
error('MESON_SKIP_TEST gobject-introspection not found.')
|
||||
endif
|
||||
|
||||
if host_machine.system() == 'cygwin'
|
||||
# FIXME: g-ir-scanner seems broken on cygwin:
|
||||
# ERROR: can't resolve libraries to shared libraries: foo++
|
||||
error('MESON_SKIP_TEST g-ir-scanner is broken on cygwin.')
|
||||
endif
|
||||
|
||||
gnome = import('gnome')
|
||||
|
||||
lib = library('foo++', 'foo.cpp')
|
||||
gnome.generate_gir(
|
||||
lib,
|
||||
sources: ['foo.cpp', 'foo.h'],
|
||||
namespace: 'foo',
|
||||
nsversion: meson.project_version(),
|
||||
)
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"skip_on_jobname": ["azure", "macos", "msys2", "cygwin"]
|
||||
}
|
||||
Reference in New Issue
Block a user