summaryrefslogtreecommitdiff
path: root/ext/jack/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jack/meson.build')
-rw-r--r--ext/jack/meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/jack/meson.build b/ext/jack/meson.build
new file mode 100644
index 000000000..1a98a05df
--- /dev/null
+++ b/ext/jack/meson.build
@@ -0,0 +1,20 @@
+jack_sources = [
+ 'gstjackaudioclient.c',
+ 'gstjackaudiosink.c',
+ 'gstjackaudiosrc.c',
+ 'gstjack.c',
+ 'gstjackutil.c',
+]
+
+libjack_dep = dependency('jack', version : '>= 1.9.7', required : false)
+
+if libjack_dep.found()
+ gstjack = library('gstjack',
+ jack_sources,
+ c_args : gst_plugins_good_args + ['-DHAVE_JACK_1_9_7'],
+ include_directories : [configinc, libsinc],
+ dependencies : [gst_dep, gstbase_dep, gstaudio_dep, libjack_dep],
+ install : true,
+ install_dir : plugins_install_dir,
+ )
+endif