summaryrefslogtreecommitdiff
path: root/ext/iqa
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-16 14:46:24 -0300
committerThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-17 13:25:40 -0300
commit2fb83ab641fa6922f78c0c9572f7935c5ef0fe14 (patch)
treec21f964c3e2b8ca0973c17df2fa8648bf4070770 /ext/iqa
parent087d9bc37606e98fc4413bfa2baa1d9e9efda9bf (diff)
downloadgstreamer-plugins-bad-2fb83ab641fa6922f78c0c9572f7935c5ef0fe14.tar.gz
iqa: Add meson build support
Diffstat (limited to 'ext/iqa')
-rw-r--r--ext/iqa/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/iqa/meson.build b/ext/iqa/meson.build
new file mode 100644
index 000000000..584b11dc4
--- /dev/null
+++ b/ext/iqa/meson.build
@@ -0,0 +1,14 @@
+dssim_dep = dependency('dssim', required : false,
+ fallback: ['dssim', 'dssim_dep'])
+
+if dssim_dep.found()
+ gstiqa = library('gstiqa',
+ 'iqa.c',
+ c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DHAVE_DSSIM'],
+ include_directories : [configinc],
+ dependencies : [gst_dep, gstbadvideo_dep, gstbadbase_dep, dssim_dep],
+ install : true,
+ install_dir : plugins_install_dir,
+ )
+endif
+