From ab7baea75bd59872586eb7b3b487f28930b2635c Mon Sep 17 00:00:00 2001 From: Francesco Conti Date: Mon, 30 Nov 2020 12:44:17 +0100 Subject: [PATCH] Add meson header installation files Make it easier to integrate AMF with build systems like JHBuild --- amf/meson.build | 1 + amf/public/include/meson.build | 55 ++++++++++++++++++++++++++++++++++ amf/public/meson.build | 1 + meson.build | 6 ++++ 4 files changed, 63 insertions(+) create mode 100644 amf/meson.build create mode 100644 amf/public/include/meson.build create mode 100644 amf/public/meson.build create mode 100644 meson.build diff --git a/amf/meson.build b/amf/meson.build new file mode 100644 index 00000000..672251aa --- /dev/null +++ b/amf/meson.build @@ -0,0 +1 @@ +subdir('public') \ No newline at end of file diff --git a/amf/public/include/meson.build b/amf/public/include/meson.build new file mode 100644 index 00000000..26a65af3 --- /dev/null +++ b/amf/public/include/meson.build @@ -0,0 +1,55 @@ +headers_components = files( + 'components/Ambisonic2SRenderer.h', + 'components/AudioCapture.h', + 'components/Capture.h', + 'components/ChromaKey.h', + 'components/ColorSpace.h', + 'components/Component.h', + 'components/ComponentCaps.h', + 'components/CursorCapture.h', + 'components/DisplayCapture.h', + 'components/FFMPEGAudioConverter.h', + 'components/FFMPEGAudioDecoder.h', + 'components/FFMPEGAudioEncoder.h', + 'components/FFMPEGComponents.h', + 'components/FFMPEGFileDemuxer.h', + 'components/FFMPEGFileMuxer.h', + 'components/FFMPEGVideoDecoder.h', + 'components/MediaSource.h', + 'components/PreAnalysis.h', + 'components/PreProcessing.h', + 'components/VideoCapture.h', + 'components/VideoConverter.h', + 'components/VideoDecoderUVD.h', + 'components/VideoEncoderHEVC.h', + 'components/VideoEncoderVCE.h', + 'components/VideoStitch.h', + 'components/ZCamLiveStream.h', +) + +headers_core = files( + 'core/AudioBuffer.h', + 'core/Buffer.h', + 'core/Compute.h', + 'core/ComputeFactory.h', + 'core/Context.h', + 'core/CurrentTime.h', + 'core/Data.h', + 'core/Debug.h', + 'core/Dump.h', + 'core/Factory.h', + 'core/Interface.h', + 'core/Plane.h', + 'core/Platform.h', + 'core/PropertyStorage.h', + 'core/PropertyStorageEx.h', + 'core/Result.h', + 'core/Surface.h', + 'core/Trace.h', + 'core/Variant.h', + 'core/Version.h', + 'core/VulkanAMF.h', +) + +install_headers(headers_components, subdir: 'AMF/components') +install_headers(headers_core, subdir: 'AMF/core') \ No newline at end of file diff --git a/amf/public/meson.build b/amf/public/meson.build new file mode 100644 index 00000000..1e82fd34 --- /dev/null +++ b/amf/public/meson.build @@ -0,0 +1 @@ +subdir('include') \ No newline at end of file diff --git a/meson.build b/meson.build new file mode 100644 index 00000000..cb828b6a --- /dev/null +++ b/meson.build @@ -0,0 +1,6 @@ +project( + 'AMF', 'c', + version : '1.4.16.1' +) + +subdir('amf')