summaryrefslogtreecommitdiff
path: root/ext/shout2/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shout2/meson.build')
-rw-r--r--ext/shout2/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/shout2/meson.build b/ext/shout2/meson.build
new file mode 100644
index 000000000..ae7795882
--- /dev/null
+++ b/ext/shout2/meson.build
@@ -0,0 +1,14 @@
+shout2_sources = ['gstshout2.c']
+
+shout2_dep = dependency('shout', version : '>= 2.0', required : false)
+
+if shout2_dep.found()
+ gstshout2 = library('gstshout2',
+ shout2_sources,
+ c_args : gst_plugins_good_args,
+ include_directories : [configinc, libsinc],
+ dependencies : [gstbase_dep, shout2_dep],
+ install : true,
+ install_dir : plugins_install_dir,
+ )
+endif