2017-08-29 18:25:18 +00:00
|
|
|
generated_sources = [
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/Asset.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/AssetAddedHandler.cs',
|
|
|
|
'GES/AssetLoadingHandler.cs',
|
|
|
|
'GES/AssetLoadingReturn.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/AssetRemovedHandler.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/AudioSource.cs',
|
|
|
|
'GES/AudioTestSource.cs',
|
|
|
|
'GES/AudioTrack.cs',
|
|
|
|
'GES/AudioTransition.cs',
|
|
|
|
'GES/AudioUriSource.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/BaseEffect.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/BaseEffectClip.cs',
|
|
|
|
'GES/BaseEffectTimeTranslationFunc.cs',
|
|
|
|
'GES/BaseTransitionClip.cs',
|
|
|
|
'GES/BaseXmlFormatter.cs',
|
|
|
|
'GES/ChildAddedHandler.cs',
|
|
|
|
'GES/ChildPropertyAddedHandler.cs',
|
|
|
|
'GES/ChildPropertyRemovedHandler.cs',
|
|
|
|
'GES/ChildRemovedHandler.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/ChildrenControlMode.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/Clip.cs',
|
|
|
|
'GES/ClipAddedHandler.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/ClipAsset.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/ClipRemovedHandler.cs',
|
|
|
|
'GES/CommandLineFormatter.cs',
|
|
|
|
'GES/Constants.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/Container.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/ControlBindingAddedHandler.cs',
|
|
|
|
'GES/ControlBindingRemovedHandler.cs',
|
|
|
|
'GES/CreateElementForGapFunc.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/CreateTrackElementFunc.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/CreateTrackElementsFunc.cs',
|
|
|
|
'GES/DeepNotifyHandler.cs',
|
|
|
|
'GES/Edge.cs',
|
|
|
|
'GES/EditMode.cs',
|
|
|
|
'GES/Effect.cs',
|
|
|
|
'GES/EffectAsset.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/EffectClip.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/Error.cs',
|
|
|
|
'GES/ExtractableAdapter.cs',
|
|
|
|
'GES/ExtractableCheckId.cs',
|
|
|
|
'GES/FillTrackElementFunc.cs',
|
|
|
|
'GES/Formatter.cs',
|
|
|
|
'GES/FormatterCanLoadURIMethod.cs',
|
|
|
|
'GES/FormatterLoadFromURIMethod.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/FormatterSaveToURIMethod.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/GESSharp.BaseEffectTimeTranslationFuncNative.cs',
|
|
|
|
'GES/GESSharp.CreateElementForGapFuncNative.cs',
|
|
|
|
'GES/GESSharp.CreateTrackElementFuncNative.cs',
|
|
|
|
'GES/GESSharp.CreateTrackElementsFuncNative.cs',
|
|
|
|
'GES/GESSharp.ExtractableCheckIdNative.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/GESSharp.FillTrackElementFuncNative.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/GESSharp.FormatterCanLoadURIMethodNative.cs',
|
|
|
|
'GES/GESSharp.FormatterLoadFromURIMethodNative.cs',
|
|
|
|
'GES/GESSharp.FormatterSaveToURIMethodNative.cs',
|
|
|
|
'GES/GESSharp.MetaForeachFuncNative.cs',
|
|
|
|
'GES/Global.cs',
|
|
|
|
'GES/Group.cs',
|
|
|
|
'GES/GroupAddedHandler.cs',
|
|
|
|
'GES/IExtractable.cs',
|
|
|
|
'GES/IMetaContainer.cs',
|
|
|
|
'GES/ImageSource.cs',
|
|
|
|
'GES/Layer.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/LayerAddedHandler.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/LayerRemovedHandler.cs',
|
|
|
|
'GES/LoadedHandler.cs',
|
|
|
|
'GES/LoadingHandler.cs',
|
|
|
|
'GES/Marker.cs',
|
|
|
|
'GES/MarkerAddedHandler.cs',
|
|
|
|
'GES/MarkerList.cs',
|
|
|
|
'GES/MarkerMovedHandler.cs',
|
|
|
|
'GES/MarkerRemovedHandler.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/MetaContainerAdapter.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/MetaFlag.cs',
|
|
|
|
'GES/MetaForeachFunc.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/MultiFileSource.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/NotifyMetaHandler.cs',
|
|
|
|
'GES/Operation.cs',
|
|
|
|
'GES/OperationClip.cs',
|
|
|
|
'GES/OverlayClip.cs',
|
|
|
|
'GES/Pipeline.cs',
|
|
|
|
'GES/PipelineFlags.cs',
|
|
|
|
'GES/PitiviFormatter.cs',
|
|
|
|
'GES/Project.cs',
|
2020-10-16 19:37:35 +00:00
|
|
|
'GES/SelectElementTrackHandler.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/SnappingEndedHandler.cs',
|
|
|
|
'GES/SnappingStartedHandler.cs',
|
|
|
|
'GES/Source.cs',
|
|
|
|
'GES/SourceClip.cs',
|
|
|
|
'GES/SourceClipAsset.cs',
|
|
|
|
'GES/TestClip.cs',
|
|
|
|
'GES/TextHAlign.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/TextOverlay.cs',
|
|
|
|
'GES/TextOverlayClip.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/TextVAlign.cs',
|
|
|
|
'GES/Timeline.cs',
|
|
|
|
'GES/TimelineElement.cs',
|
|
|
|
'GES/TitleClip.cs',
|
|
|
|
'GES/TitleSource.cs',
|
|
|
|
'GES/Track.cs',
|
|
|
|
'GES/TrackAddedHandler.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/TrackElement.cs',
|
|
|
|
'GES/TrackElementAddedHandler.cs',
|
|
|
|
'GES/TrackElementAsset.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/TrackElementRemovedHandler.cs',
|
|
|
|
'GES/TrackRemovedHandler.cs',
|
|
|
|
'GES/TrackType.cs',
|
|
|
|
'GES/Transition.cs',
|
|
|
|
'GES/TransitionClip.cs',
|
|
|
|
'GES/UriClip.cs',
|
|
|
|
'GES/UriClipAsset.cs',
|
2020-10-16 19:37:35 +00:00
|
|
|
'GES/UriSource.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/UriSourceAsset.cs',
|
|
|
|
'GES/VideoSource.cs',
|
|
|
|
'GES/VideoStandardTransitionType.cs',
|
2018-03-12 00:39:46 +00:00
|
|
|
'GES/VideoTestPattern.cs',
|
2020-06-18 01:14:24 +00:00
|
|
|
'GES/VideoTestSource.cs',
|
|
|
|
'GES/VideoTrack.cs',
|
|
|
|
'GES/VideoTransition.cs',
|
|
|
|
'GES/VideoUriSource.cs',
|
|
|
|
'GES/XmlFormatter.cs',
|
|
|
|
'GLib/GLibSharp.AsyncReadyCallbackNative.cs',
|
|
|
|
'GtkSharp/ObjectManager.cs',
|
2017-08-29 18:25:18 +00:00
|
|
|
]
|
|
|
|
|
2018-01-29 18:56:49 +00:00
|
|
|
run_target('update_ges_code',
|
2017-08-29 18:25:18 +00:00
|
|
|
command: [
|
|
|
|
generate_api,
|
2018-01-29 18:56:49 +00:00
|
|
|
'--api-raw', raw_api_fname,
|
2017-08-29 18:25:18 +00:00
|
|
|
'--gapi-fixup', gapi_fixup,
|
2017-10-04 19:02:53 +00:00
|
|
|
'--metadata', metadata,
|
2017-08-29 18:25:18 +00:00
|
|
|
'--gapi-codegen', gapi_codegen,
|
|
|
|
'--extra-includes=' + glib_api_includes,
|
|
|
|
'--extra-includes=' + gio_api_includes,
|
|
|
|
'--extra-includes=' + gst_api_includes,
|
2018-01-29 18:56:49 +00:00
|
|
|
'--out', meson.current_source_dir(),
|
2017-08-29 18:25:18 +00:00
|
|
|
'--files', ';'.join(generated_sources),
|
|
|
|
'--assembly-name', pkg,
|
2017-10-11 21:47:35 +00:00
|
|
|
'--abi-includes', 'ges/ges.h',
|
2017-10-04 19:02:53 +00:00
|
|
|
'--abi-cs-usings', 'Gst,Gst.Video,Gst.Sdp,Gst.Tags,Gst.Rtsp,Gst.PbUtils,Gst.Net,Gst.FFT,Gst.Controller,Gst.Base,Gst.Audio,Gst.App,GES',
|
2017-08-29 18:25:18 +00:00
|
|
|
],
|
2018-01-29 18:56:49 +00:00
|
|
|
)
|
2017-10-04 19:02:53 +00:00
|
|
|
|
2018-01-29 18:56:49 +00:00
|
|
|
ges_generate_files = files(generated_sources)
|
2017-10-04 19:02:53 +00:00
|
|
|
|
2018-01-29 18:56:49 +00:00
|
|
|
c_abi = files(pkg + '-abi.c')
|
|
|
|
cs_abi = files(pkg + '-abi.cs')
|
2017-09-20 20:22:17 +00:00
|
|
|
gapis += [join_paths(meson.current_build_dir(), pkg + '-api.xml')]
|
2020-10-16 19:37:35 +00:00
|
|
|
gapis_deps = []
|