fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace App {
|
||||
public static int main(string[] args) {
|
||||
var mixer = new Mixer();
|
||||
print("Current volume is %u\n", mixer.get_volume());
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
project('mixed dependence', 'vala', 'c')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
deps = [dependency('glib-2.0'), dependency('gobject-2.0'),
|
||||
# Should be ignored, see https://github.com/mesonbuild/meson/issues/1939
|
||||
cc.find_library('z')]
|
||||
|
||||
mixer = static_library('mixer', 'mixer.vala', 'mixer-glue.c',
|
||||
dependencies : deps)
|
||||
|
||||
app = executable('app', 'app.vala',
|
||||
link_with : mixer,
|
||||
dependencies : deps)
|
||||
|
||||
test('valamixeddependencetest', app)
|
||||
@@ -0,0 +1,5 @@
|
||||
#include "mixer.h"
|
||||
|
||||
guint mixer_get_volume(Mixer *mixer) {
|
||||
return 11;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class Mixer : Object {
|
||||
public extern uint get_volume();
|
||||
}
|
||||
Reference in New Issue
Block a user