Skip to content

Commit 3a91cb1

Browse files
elboulangeroford-prefect
authored andcommitted
meson: Install vala apis
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
1 parent 0db18ba commit 3a91cb1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ if pulsedspdir == ''
6464
join_paths(libdir, 'pulseaudio')
6565
endif
6666

67+
vapidir = join_paths(datadir, 'vala', 'vapi')
68+
6769
bashcompletiondir = get_option('bashcompletiondir')
6870
if bashcompletiondir == ''
6971
bash_completion_dep = dependency('bash-completion', required : false)
@@ -441,6 +443,7 @@ endif
441443
subdir('shell-completion/bash')
442444
subdir('shell-completion/zsh')
443445
subdir('src')
446+
subdir('vala')
444447

445448
############################################################
446449

vala/meson.build

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
vala_apis = [
2+
'libpulse',
3+
'libpulse-mainloop-glib',
4+
'libpulse-simple',
5+
]
6+
7+
foreach api : vala_apis
8+
install_data(api + '.deps', api + '.vapi',
9+
install_dir : vapidir)
10+
endforeach

0 commit comments

Comments
 (0)