fdkaac: Add meson.build
authorSebastian Dröge <sebastian@centricular.com>
Wed, 2 Nov 2016 18:14:23 +0000 (20:14 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 2 Nov 2016 18:14:23 +0000 (20:14 +0200)
ext/fdkaac/meson.build [new file with mode: 0644]
ext/meson.build

diff --git a/ext/fdkaac/meson.build b/ext/fdkaac/meson.build
new file mode 100644 (file)
index 0000000..e38b7cf
--- /dev/null
@@ -0,0 +1,12 @@
+fdkaac_dep = dependency('fdk-aac', required : false)
+
+if fdkaac_dep.found()
+  gstfdkaac = library('gstfdkaac',
+    ['plugin.c', 'gstfdkaacenc.c', 'gstfdkaacdec.c'],
+    c_args : gst_plugins_bad_args,
+    include_directories : [configinc],
+    dependencies : [gstaudio_dep, gstpbutils_dep, fdkaac_dep],
+    install : true,
+    install_dir : plugins_install_dir,
+  )
+endif
index eaebd80..6fdaa88 100644 (file)
@@ -12,6 +12,7 @@ subdir('dtls')
 subdir('dts')
 subdir('faac')
 subdir('faad')
+subdir('fdkaac')
 subdir('flite')
 subdir('fluidsynth')
 subdir('gl')