From 78e73cd3597661051d0c44e3e43c383fd96f0e79 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 23 Aug 2017 16:34:39 +1000 Subject: [PATCH] meson: build allocators library --- gst-libs/gst/allocators/meson.build | 24 ++++++++++++++++++++++++ gst-libs/gst/meson.build | 1 + 2 files changed, 25 insertions(+) create mode 100644 gst-libs/gst/allocators/meson.build diff --git a/gst-libs/gst/allocators/meson.build b/gst-libs/gst/allocators/meson.build new file mode 100644 index 0000000000..447bc80f81 --- /dev/null +++ b/gst-libs/gst/allocators/meson.build @@ -0,0 +1,24 @@ +badallocators_sources = [ + 'gstphysmemory.c', +] + +badallocators_headers = [ + 'badallocators.h', + 'gstphysmemory.h', +] + +install_headers(badallocators_headers, subdir : 'gstreamer-1.0/gst/allocators') + +gstbadallocators = library('gstbadallocators-' + api_version, + badallocators_sources, + c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], + include_directories : [configinc, libsinc], + version : libversion, + soversion : soversion, + install : true, + dependencies : [gst_dep] +) + +gstbadallocators_dep = declare_dependency(link_with : gstbadallocators, + include_directories : [libsinc], + dependencies : [gst_dep]) diff --git a/gst-libs/gst/meson.build b/gst-libs/gst/meson.build index 847b5a5a7f..890e9abdbf 100644 --- a/gst-libs/gst/meson.build +++ b/gst-libs/gst/meson.build @@ -1,6 +1,7 @@ subdir('base') subdir('uridownloader') +subdir('allocators') subdir('adaptivedemux') subdir('audio') subdir('basecamerabinsrc')