meson: Mark files as files()

Making it more robust and future proof

And fix issues that it creates

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1093>
This commit is contained in:
Thibault Saunier 2020-06-27 00:37:39 -04:00
parent 0e576127a5
commit e2dd28a753
29 changed files with 173 additions and 179 deletions

View File

@ -49,12 +49,7 @@ foreach f: excludes
'validate', 'gst', 'validate', f)] 'validate', 'gst', 'validate', f)]
endforeach endforeach
validate_sources = [] validate_sources = gstvalidate_headers + gstvalidate_sources
foreach f: gstvalidate_headers + gstvalidate_sources
validate_sources += [join_paths(meson.current_source_dir(), '..',
'validate', 'gst', 'validate', f)]
endforeach
hotdoc = import('hotdoc') hotdoc = import('hotdoc')
plugins_doc = [] plugins_doc = []
libs_doc = [hotdoc.generate_doc('gst-devtools', libs_doc = [hotdoc.generate_doc('gst-devtools',

View File

@ -1,4 +1,4 @@
gstvalidate_sources = [ gstvalidate_sources = files(
'gst-validate-reporter.c', 'gst-validate-reporter.c',
'gst-validate-mockdecryptor.c', 'gst-validate-mockdecryptor.c',
'gst-validate-monitor.c', 'gst-validate-monitor.c',
@ -20,9 +20,9 @@ gstvalidate_sources = [
'flow/gstvalidateflow.c', 'flow/gstvalidateflow.c',
'flow/formatting.c', 'flow/formatting.c',
'validate.c', 'validate.c',
] )
gstvalidate_headers = [ gstvalidate_headers = files(
'validate.h', 'validate.h',
'validate-prelude.h', 'validate-prelude.h',
'gst-validate-types.h', 'gst-validate-types.h',
@ -44,7 +44,7 @@ gstvalidate_headers = [
'gst-validate-scenario.h', 'gst-validate-scenario.h',
'gst-validate-utils.h', 'gst-validate-utils.h',
'gst-validate-media-info.h' 'gst-validate-media-info.h'
] )
install_headers(gstvalidate_headers, subdir : 'gstreamer-1.0/gst/validate') install_headers(gstvalidate_headers, subdir : 'gstreamer-1.0/gst/validate')

View File

@ -1,5 +1,5 @@
badaudio_sources = ['gstnonstreamaudiodecoder.c', 'gstplanaraudioadapter.c'] badaudio_sources = files('gstnonstreamaudiodecoder.c', 'gstplanaraudioadapter.c')
badaudio_headers = ['gstnonstreamaudiodecoder.h', 'audio-bad-prelude.h', 'gstplanaraudioadapter.h'] badaudio_headers = files('gstnonstreamaudiodecoder.h', 'audio-bad-prelude.h', 'gstplanaraudioadapter.h')
install_headers(badaudio_headers, subdir : 'gstreamer-1.0/gst/audio') install_headers(badaudio_headers, subdir : 'gstreamer-1.0/gst/audio')

View File

@ -1,14 +1,14 @@
camerabin_sources = [ camerabin_sources = files(
'gstcamerabin-enum.c', 'gstcamerabin-enum.c',
'gstcamerabinpreview.c', 'gstcamerabinpreview.c',
'gstbasecamerasrc.c', 'gstbasecamerasrc.c',
] )
camerabin_headers = [ camerabin_headers = files(
'basecamerabinsrc-prelude.h', 'basecamerabinsrc-prelude.h',
'gstcamerabin-enum.h', 'gstcamerabin-enum.h',
'gstcamerabinpreview.h', 'gstcamerabinpreview.h',
'gstbasecamerasrc.h', 'gstbasecamerasrc.h',
] )
install_headers(camerabin_headers, subdir : 'gstreamer-1.0/gst/basecamerabinsrc') install_headers(camerabin_headers, subdir : 'gstreamer-1.0/gst/basecamerabinsrc')
gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version, gstbasecamerabin = library('gstbasecamerabinsrc-' + api_version,

View File

@ -1,4 +1,4 @@
codecs_sources = files([ codecs_sources = files(
'gsth264decoder.c', 'gsth264decoder.c',
'gsth264picture.c', 'gsth264picture.c',
'gsth265decoder.c', 'gsth265decoder.c',
@ -12,9 +12,9 @@ codecs_sources = files([
'gstav1decoder.c', 'gstav1decoder.c',
'gstav1picture.c', 'gstav1picture.c',
'gstvp9statefulparser.c', 'gstvp9statefulparser.c',
]) )
codecs_headers = [ codecs_headers = files(
'gsth264decoder.h', 'gsth264decoder.h',
'gsth264picture.h', 'gsth264picture.h',
'gsth265decoder.h', 'gsth265decoder.h',
@ -28,7 +28,7 @@ codecs_headers = [
'gstav1decoder.h', 'gstav1decoder.h',
'gstav1picture.h', 'gstav1picture.h',
'gstvp9statefulparser.h', 'gstvp9statefulparser.h',
] )
cp_args = [ cp_args = [
'-DGST_USE_UNSTABLE_API', '-DGST_USE_UNSTABLE_API',

View File

@ -1,5 +1,5 @@
insert_sources = ['gstinsertbin.c'] insert_sources = files('gstinsertbin.c')
insert_headers = ['gstinsertbin.h'] insert_headers = files('gstinsertbin.h')
install_headers(insert_headers, subdir : 'gstreamer-1.0/gst/insertbin') install_headers(insert_headers, subdir : 'gstreamer-1.0/gst/insertbin')
gstinsertbin = library('gstinsertbin-' + api_version, gstinsertbin = library('gstinsertbin-' + api_version,

View File

@ -1,4 +1,4 @@
mpegts_sources = [ mpegts_sources = files(
'mpegts.c', 'mpegts.c',
'gstmpegtssection.c', 'gstmpegtssection.c',
'gstmpegtsdescriptor.c', 'gstmpegtsdescriptor.c',
@ -6,9 +6,9 @@ mpegts_sources = [
'gst-dvb-section.c', 'gst-dvb-section.c',
'gst-atsc-section.c', 'gst-atsc-section.c',
'gst-scte-section.c', 'gst-scte-section.c',
] )
mpegts_headers = [ mpegts_headers = files(
'gstmpegtssection.h', 'gstmpegtssection.h',
'gst-atsc-section.h', 'gst-atsc-section.h',
'gst-dvb-section.h', 'gst-dvb-section.h',
@ -20,7 +20,7 @@ mpegts_headers = [
'gst-isdb-descriptor.h', 'gst-isdb-descriptor.h',
'mpegts-prelude.h', 'mpegts-prelude.h',
'mpegts.h', 'mpegts.h',
] )
install_headers(mpegts_headers, subdir : 'gstreamer-1.0/gst/mpegts') install_headers(mpegts_headers, subdir : 'gstreamer-1.0/gst/mpegts')
mpegts_enums = gnome.mkenums_simple('gstmpegts-enumtypes', mpegts_enums = gnome.mkenums_simple('gstmpegts-enumtypes',

View File

@ -1,13 +1,13 @@
gstplay_sources = [ gstplay_sources = files(
'gstplay.c', 'gstplay.c',
'gstplay-signal-adapter.c', 'gstplay-signal-adapter.c',
'gstplay-video-renderer.c', 'gstplay-video-renderer.c',
'gstplay-media-info.c', 'gstplay-media-info.c',
'gstplay-video-overlay-video-renderer.c', 'gstplay-video-overlay-video-renderer.c',
'gstplay-visualization.c', 'gstplay-visualization.c',
] )
gstplay_headers = [ gstplay_headers = files(
'play.h', 'play.h',
'play-prelude.h', 'play-prelude.h',
'gstplay.h', 'gstplay.h',
@ -17,7 +17,7 @@ gstplay_headers = [
'gstplay-media-info.h', 'gstplay-media-info.h',
'gstplay-video-overlay-video-renderer.h', 'gstplay-video-overlay-video-renderer.h',
'gstplay-visualization.h', 'gstplay-visualization.h',
] )
install_headers(gstplay_headers, subdir : 'gstreamer-' + api_version + '/gst/play/') install_headers(gstplay_headers, subdir : 'gstreamer-' + api_version + '/gst/play/')

View File

@ -1,4 +1,4 @@
gstplayer_sources = [ gstplayer_sources = files([
'gstplayer.c', 'gstplayer.c',
'gstplayer-signal-dispatcher.c', 'gstplayer-signal-dispatcher.c',
'gstplayer-video-renderer.c', 'gstplayer-video-renderer.c',
@ -7,9 +7,9 @@ gstplayer_sources = [
'gstplayer-video-overlay-video-renderer.c', 'gstplayer-video-overlay-video-renderer.c',
'gstplayer-wrapped-video-renderer.c', 'gstplayer-wrapped-video-renderer.c',
'gstplayer-visualization.c', 'gstplayer-visualization.c',
] ])
gstplayer_headers = [ gstplayer_headers = files([
'player.h', 'player.h',
'player-prelude.h', 'player-prelude.h',
'gstplayer.h', 'gstplayer.h',
@ -20,7 +20,7 @@ gstplayer_headers = [
'gstplayer-g-main-context-signal-dispatcher.h', 'gstplayer-g-main-context-signal-dispatcher.h',
'gstplayer-video-overlay-video-renderer.h', 'gstplayer-video-overlay-video-renderer.h',
'gstplayer-visualization.h', 'gstplayer-visualization.h',
] ])
install_headers(gstplayer_headers, subdir : 'gstreamer-' + api_version + '/gst/player/') install_headers(gstplayer_headers, subdir : 'gstreamer-' + api_version + '/gst/player/')

View File

@ -5,7 +5,7 @@ if get_option('vulkan').disabled()
subdir_done() subdir_done()
endif endif
vulkan_sources = [ vulkan_sources = files(
'gstvkbuffermemory.c', 'gstvkbuffermemory.c',
'gstvkbufferpool.c', 'gstvkbufferpool.c',
'gstvkcommandbuffer.c', 'gstvkcommandbuffer.c',
@ -34,9 +34,9 @@ vulkan_sources = [
'gstvkvideofilter.c', 'gstvkvideofilter.c',
'gstvkutils.c', 'gstvkutils.c',
'gstvkwindow.c', 'gstvkwindow.c',
] )
vulkan_headers = [ vulkan_headers = files(
'gstvkapi.h', 'gstvkapi.h',
'gstvkbarrier.h', 'gstvkbarrier.h',
'gstvkbuffermemory.h', 'gstvkbuffermemory.h',
@ -70,7 +70,7 @@ vulkan_headers = [
'vulkan-prelude.h', 'vulkan-prelude.h',
'vulkan_fwd.h', 'vulkan_fwd.h',
'vulkan.h', 'vulkan.h',
] )
vulkan_priv_sources = [] vulkan_priv_sources = []
vulkan_xcb_sources = [] vulkan_xcb_sources = []
@ -154,17 +154,17 @@ xkbcommon_dep = dependency('xkbcommon', required : get_option('x11'))
xkbcommon_x11_dep = dependency('xkbcommon-x11', required : get_option('x11')) xkbcommon_x11_dep = dependency('xkbcommon-x11', required : get_option('x11'))
if xcb_dep.found() and xkbcommon_dep.found() and xkbcommon_x11_dep.found() and cc.has_header('vulkan/vulkan_xcb.h', dependencies : vulkan_dep) if xcb_dep.found() and xkbcommon_dep.found() and xkbcommon_x11_dep.found() and cc.has_header('vulkan/vulkan_xcb.h', dependencies : vulkan_dep)
vulkan_priv_sources += [ vulkan_priv_sources += files(
'xcb/gstvkwindow_xcb.c', 'xcb/gstvkwindow_xcb.c',
'xcb/xcb_event_source.c', 'xcb/xcb_event_source.c',
] )
vulkan_xcb_sources += [ vulkan_xcb_sources += files(
'xcb/gstvkdisplay_xcb.c', 'xcb/gstvkdisplay_xcb.c',
] )
vulkan_xcb_headers += [ vulkan_xcb_headers += files(
'xcb/xcb.h', 'xcb/xcb.h',
'xcb/gstvkdisplay_xcb.h' 'xcb/gstvkdisplay_xcb.h'
] )
optional_deps += [xcb_dep, xkbcommon_dep, xkbcommon_x11_dep] optional_deps += [xcb_dep, xkbcommon_dep, xkbcommon_x11_dep]
vulkan_windowing = true vulkan_windowing = true
@ -174,18 +174,18 @@ endif
wayland_client_dep = dependency('wayland-client', version : '>=1.4', required : get_option('wayland')) wayland_client_dep = dependency('wayland-client', version : '>=1.4', required : get_option('wayland'))
if wayland_client_dep.found() and cc.has_header('vulkan/vulkan_wayland.h', dependencies : vulkan_dep) if wayland_client_dep.found() and cc.has_header('vulkan/vulkan_wayland.h', dependencies : vulkan_dep)
vulkan_priv_sources += [ vulkan_priv_sources += files(
'wayland/gstvkdisplay_wayland.c', 'wayland/gstvkdisplay_wayland.c',
'wayland/gstvkwindow_wayland.c', 'wayland/gstvkwindow_wayland.c',
'wayland/wayland_event_source.c', 'wayland/wayland_event_source.c',
] )
vulkan_wayland_sources += [ vulkan_wayland_sources += files(
'wayland/gstvkdisplay_wayland.c', 'wayland/gstvkdisplay_wayland.c',
] )
vulkan_wayland_headers += [ vulkan_wayland_headers += files(
'wayland/wayland.h', 'wayland/wayland.h',
'wayland/gstvkdisplay_wayland.h' 'wayland/gstvkdisplay_wayland.h'
] )
optional_deps += wayland_client_dep optional_deps += wayland_client_dep
vulkan_windowing = true vulkan_windowing = true
@ -213,10 +213,10 @@ if host_system == 'darwin'
cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : get_option('vulkan')) cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : get_option('vulkan'))
if cocoa_dep.found() and cc.has_header('vulkan/vulkan_macos.h', dependencies : vulkan_dep) if cocoa_dep.found() and cc.has_header('vulkan/vulkan_macos.h', dependencies : vulkan_dep)
vulkan_priv_sources += [ vulkan_priv_sources += files(
'cocoa/gstvkdisplay_cocoa.m', 'cocoa/gstvkdisplay_cocoa.m',
'cocoa/gstvkwindow_cocoa.m', 'cocoa/gstvkwindow_cocoa.m',
] )
optional_deps += [cocoa_dep] optional_deps += [cocoa_dep]
vulkan_windowing = true vulkan_windowing = true
vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_COCOA', 1) vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_COCOA', 1)
@ -228,10 +228,10 @@ if host_system == 'ios'
uikit_dep = dependency('appleframeworks', modules : ['UIKit'], required : get_option('vulkan')) uikit_dep = dependency('appleframeworks', modules : ['UIKit'], required : get_option('vulkan'))
if uikit_dep.found() and cc.has_header('vulkan/vulkan_ios.h', dependencies : vulkan_dep) if uikit_dep.found() and cc.has_header('vulkan/vulkan_ios.h', dependencies : vulkan_dep)
vulkan_priv_sources += [ vulkan_priv_sources += files(
'ios/gstvkdisplay_ios.m', 'ios/gstvkdisplay_ios.m',
'ios/gstvkwindow_ios.m', 'ios/gstvkwindow_ios.m',
] )
optional_deps += [uikit_dep] optional_deps += [uikit_dep]
vulkan_windowing = true vulkan_windowing = true
vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_IOS', 1) vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_IOS', 1)
@ -254,10 +254,10 @@ endif
if host_system == 'android' if host_system == 'android'
if cc.has_header('vulkan/vulkan_android.h', dependencies : vulkan_dep) if cc.has_header('vulkan/vulkan_android.h', dependencies : vulkan_dep)
vulkan_priv_sources += [ vulkan_priv_sources += files(
'android/gstvkdisplay_android.c', 'android/gstvkdisplay_android.c',
'android/gstvkwindow_android.c', 'android/gstvkwindow_android.c',
] )
vulkan_windowing = true vulkan_windowing = true
vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_ANDROID', 1) vulkan_conf.set10('GST_VULKAN_HAVE_WINDOW_ANDROID', 1)
enabled_vulkan_winsys += ['android'] enabled_vulkan_winsys += ['android']

View File

@ -1,4 +1,4 @@
webrtc_sources = [ webrtc_sources = files([
'dtlstransport.c', 'dtlstransport.c',
'icetransport.c', 'icetransport.c',
'rtcsessiondescription.c', 'rtcsessiondescription.c',
@ -7,9 +7,9 @@ webrtc_sources = [
'rtptransceiver.c', 'rtptransceiver.c',
'datachannel.c', 'datachannel.c',
'sctptransport.c', 'sctptransport.c',
] ])
webrtc_headers = [ webrtc_headers = files([
'dtlstransport.h', 'dtlstransport.h',
'icetransport.h', 'icetransport.h',
'rtcsessiondescription.h', 'rtcsessiondescription.h',
@ -20,14 +20,14 @@ webrtc_headers = [
'webrtc_fwd.h', 'webrtc_fwd.h',
'webrtc.h', 'webrtc.h',
'sctptransport.h', 'sctptransport.h',
] ])
webrtc_enumtypes_headers = [ webrtc_enumtypes_headers = files([
'dtlstransport.h', 'dtlstransport.h',
'icetransport.h', 'icetransport.h',
'rtptransceiver.h', 'rtptransceiver.h',
'webrtc_fwd.h', 'webrtc_fwd.h',
] ])
webrtc_enums = gnome.mkenums_simple('webrtc-enumtypes', webrtc_enums = gnome.mkenums_simple('webrtc-enumtypes',
sources : webrtc_enumtypes_headers, sources : webrtc_enumtypes_headers,

View File

@ -1,13 +1,13 @@
gst_allocators_headers = [ gst_allocators_headers = files([
'allocators.h', 'allocators.h',
'allocators-prelude.h', 'allocators-prelude.h',
'gstfdmemory.h', 'gstfdmemory.h',
'gstphysmemory.h', 'gstphysmemory.h',
'gstdmabuf.h', 'gstdmabuf.h',
] ])
install_headers(gst_allocators_headers, subdir : 'gstreamer-1.0/gst/allocators/') install_headers(gst_allocators_headers, subdir : 'gstreamer-1.0/gst/allocators/')
gst_allocators_sources = [ 'gstdmabuf.c', 'gstfdmemory.c', 'gstphysmemory.c'] gst_allocators_sources = files([ 'gstdmabuf.c', 'gstfdmemory.c', 'gstphysmemory.c'])
gstallocators = library('gstallocators-@0@'.format(api_version), gstallocators = library('gstallocators-@0@'.format(api_version),
gst_allocators_sources, gst_allocators_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_ALLOCATORS'], c_args : gst_plugins_base_args + ['-DBUILDING_GST_ALLOCATORS'],

View File

@ -1,10 +1,10 @@
app_sources = ['gstappsrc.c', 'gstappsink.c'] app_sources = files(['gstappsrc.c', 'gstappsink.c'])
app_mkenum_headers = [ app_mkenum_headers = files([
'gstappsrc.h', 'gstappsrc.h',
] ])
app_headers = app_mkenum_headers + [ 'app.h', 'app-prelude.h', 'gstappsrc.h', 'gstappsink.h' ] app_headers = app_mkenum_headers + files([ 'app.h', 'app-prelude.h', 'gstappsrc.h', 'gstappsink.h' ])
install_headers(app_headers, subdir : 'gstreamer-1.0/gst/app/') install_headers(app_headers, subdir : 'gstreamer-1.0/gst/app/')
app_enums = gnome.mkenums_simple('app-enumtypes', app_enums = gnome.mkenums_simple('app-enumtypes',

View File

@ -1,4 +1,4 @@
audio_src= [ audio_src = files([
'audio.c', 'audio.c',
'audio-buffer.c', 'audio-buffer.c',
'audio-channel-mixer.c', 'audio-channel-mixer.c',
@ -24,9 +24,9 @@ audio_src= [
'gstaudioutilsprivate.c', 'gstaudioutilsprivate.c',
'streamvolume.c', 'streamvolume.c',
'gstaudiostreamalign.c', 'gstaudiostreamalign.c',
] ])
audio_mkenum_headers = [ audio_mkenum_headers = files([
'audio.h', 'audio.h',
'audio-format.h', 'audio-format.h',
'audio-channels.h', 'audio-channels.h',
@ -41,10 +41,10 @@ audio_mkenum_headers = [
'gstaudiocdsrc.h', 'gstaudiocdsrc.h',
'gstaudiobasesink.h', 'gstaudiobasesink.h',
'gstaudiostreamalign.h', 'gstaudiostreamalign.h',
] ])
# FIXME: check headers # FIXME: check headers
audio_headers = audio_mkenum_headers + [ audio_headers = audio_mkenum_headers + files([
'audio-prelude.h', 'audio-prelude.h',
'audio-buffer.h', 'audio-buffer.h',
'gstaudiobasesink.h', 'gstaudiobasesink.h',
@ -59,7 +59,7 @@ audio_headers = audio_mkenum_headers + [
'gstaudiosink.h', 'gstaudiosink.h',
'gstaudiosrc.h', 'gstaudiosrc.h',
'streamvolume.h', 'streamvolume.h',
] ])
install_headers(audio_headers, subdir : 'gstreamer-1.0/gst/audio/') install_headers(audio_headers, subdir : 'gstreamer-1.0/gst/audio/')
audio_enums = gnome.mkenums_simple('audio-enumtypes', audio_enums = gnome.mkenums_simple('audio-enumtypes',

View File

@ -5,7 +5,7 @@ if get_option('gl').disabled()
subdir_done() subdir_done()
endif endif
gl_sources = [ gl_sources = files([
'gstglapi.c', 'gstglapi.c',
'gstglbasefilter.c', 'gstglbasefilter.c',
'gstglbasememory.c', 'gstglbasememory.c',
@ -35,11 +35,11 @@ gl_sources = [
'gstglutils.c', 'gstglutils.c',
'gstglviewconvert.c', 'gstglviewconvert.c',
'gstglwindow.c', 'gstglwindow.c',
] ])
gl_priv_sources = [] gl_priv_sources = files([])
gir_gl_headers = [ gir_gl_headers = files([
'gl.h', 'gl.h',
'gl-prelude.h', 'gl-prelude.h',
'gstgl_enums.h', 'gstgl_enums.h',
@ -73,13 +73,13 @@ gir_gl_headers = [
'gstglutils.h', 'gstglutils.h',
'gstglviewconvert.h', 'gstglviewconvert.h',
'gstglwindow.h', 'gstglwindow.h',
] ])
gl_headers = gir_gl_headers + [ gl_headers = gir_gl_headers + files([
'gstglfuncs.h', 'gstglfuncs.h',
] ])
gl_prototype_headers = [ gl_prototype_headers = files([
'glprototypes/all_functions.h', 'glprototypes/all_functions.h',
'glprototypes/base.h', 'glprototypes/base.h',
'glprototypes/buffer_storage.h', 'glprototypes/buffer_storage.h',
@ -97,7 +97,7 @@ gl_prototype_headers = [
'glprototypes/shaders.h', 'glprototypes/shaders.h',
'glprototypes/sync.h', 'glprototypes/sync.h',
'glprototypes/vao.h', 'glprototypes/vao.h',
] ])
gl_x11_sources = [] gl_x11_sources = []
gl_x11_headers = [] gl_x11_headers = []
@ -530,22 +530,21 @@ if need_platform_egl != 'no'
endif endif
if egl_dep.found() if egl_dep.found()
gl_egl_sources += [ gl_egl_sources += files([
'egl/gstegl.c', 'egl/gstegl.c',
'egl/gsteglimage.c', 'egl/gsteglimage.c',
'egl/gstglcontext_egl.c', 'egl/gstglcontext_egl.c',
'egl/gstgldisplay_egl.c', 'egl/gstgldisplay_egl.c',
'egl/gstglmemoryegl.c', 'egl/gstglmemoryegl.c',
'egl/gstgldisplay_egl_device.c', 'egl/gstgldisplay_egl_device.c',
] ])
gl_egl_headers += [ gl_egl_headers += files([
'egl/egl.h',
'egl/gstegl.h', 'egl/gstegl.h',
'egl/gsteglimage.h', 'egl/gsteglimage.h',
'egl/gstgldisplay_egl.h', 'egl/gstgldisplay_egl.h',
'egl/gstglmemoryegl.h', 'egl/gstglmemoryegl.h',
'egl/gstgldisplay_egl_device.h', 'egl/gstgldisplay_egl_device.h',
] ])
gl_platform_deps += egl_dep gl_platform_deps += egl_dep
glconf.set10('GST_GL_HAVE_PLATFORM_EGL', 1) glconf.set10('GST_GL_HAVE_PLATFORM_EGL', 1)
@ -613,19 +612,19 @@ if need_win_wayland != 'no'
output: 'xdg-shell-client-protocol.c', output: 'xdg-shell-client-protocol.c',
) )
gl_wayland_sources += [ gl_wayland_sources += files([
'wayland/gstgldisplay_wayland.c', 'wayland/gstgldisplay_wayland.c',
] ])
gl_priv_sources += [ gl_priv_sources += files([
'wayland/gstglwindow_wayland_egl.c', 'wayland/gstglwindow_wayland_egl.c',
'wayland/wayland_event_source.c', 'wayland/wayland_event_source.c',
xdg_shell_header, xdg_shell_header,
xdg_shell_code, xdg_shell_code,
] ])
gl_wayland_headers += [ gl_wayland_headers += files([
'wayland/wayland.h', 'wayland/wayland.h',
'wayland/gstgldisplay_wayland.h' 'wayland/gstgldisplay_wayland.h'
] ])
glconf.set('GST_GL_HAVE_WINDOW_WAYLAND', 1) glconf.set('GST_GL_HAVE_WINDOW_WAYLAND', 1)
gl_winsys_deps += [wayland_client_dep, wayland_cursor_dep, wayland_egl_dep] gl_winsys_deps += [wayland_client_dep, wayland_cursor_dep, wayland_egl_dep]
enabled_gl_winsys += 'wayland' enabled_gl_winsys += 'wayland'
@ -653,26 +652,26 @@ endif
if need_win_x11 != 'no' if need_win_x11 != 'no'
xcb_dep = dependency('x11-xcb', required : false) xcb_dep = dependency('x11-xcb', required : false)
if x11_dep.found() and xcb_dep.found() if x11_dep.found() and xcb_dep.found()
gl_x11_sources += [ gl_x11_sources += files([
'x11/gstgldisplay_x11.c', 'x11/gstgldisplay_x11.c',
] ])
gl_priv_sources += [ gl_priv_sources += files([
'x11/gstglwindow_x11.c', 'x11/gstglwindow_x11.c',
'x11/xcb_event_source.c', 'x11/xcb_event_source.c',
] ])
gl_x11_headers += [ gl_x11_headers += files([
'x11/x11.h', 'x11/x11.h',
'x11/gstgldisplay_x11.h', 'x11/gstgldisplay_x11.h',
] ])
glconf.set('GST_GL_HAVE_WINDOW_X11', 1) glconf.set('GST_GL_HAVE_WINDOW_X11', 1)
gl_winsys_deps += [x11_dep, xcb_dep] gl_winsys_deps += [x11_dep, xcb_dep]
enabled_gl_winsys += 'x11' enabled_gl_winsys += 'x11'
if need_platform_glx != 'no' and glx_dep.found() and cc.has_function ('glXMakeCurrent', dependencies : glx_dep) if need_platform_glx != 'no' and glx_dep.found() and cc.has_function ('glXMakeCurrent', dependencies : glx_dep)
glconf.set('GST_GL_HAVE_PLATFORM_GLX', 1) glconf.set('GST_GL_HAVE_PLATFORM_GLX', 1)
gl_priv_sources += [ gl_priv_sources += files([
'x11/gstglcontext_glx.c', 'x11/gstglcontext_glx.c',
] ])
# GLX is in the opengl library on linux # GLX is in the opengl library on linux
gl_platform_deps += glx_dep gl_platform_deps += glx_dep
enabled_gl_platforms += 'glx' enabled_gl_platforms += 'glx'
@ -688,9 +687,9 @@ if need_win_dispmanx != 'no'
error('dispmanx requires the use of egl') error('dispmanx requires the use of egl')
endif endif
gl_priv_sources += [ gl_priv_sources += files([
'dispmanx/gstglwindow_dispmanx_egl.c' 'dispmanx/gstglwindow_dispmanx_egl.c'
] ])
glconf.set('GST_GL_HAVE_WINDOW_DISPMANX', 1) glconf.set('GST_GL_HAVE_WINDOW_DISPMANX', 1)
gl_winsys_deps += bcm_host_dep gl_winsys_deps += bcm_host_dep
@ -725,18 +724,18 @@ if host_system == 'windows' and need_win_win32 != 'no'
if have_wgl or have_egl_win32 if have_wgl or have_egl_win32
gl_includes += [compat_includes] gl_includes += [compat_includes]
gl_platform_deps += gdi_dep gl_platform_deps += gdi_dep
gl_priv_sources += [ gl_priv_sources += files([
'win32/gstglwindow_win32.c', 'win32/gstglwindow_win32.c',
] ])
enabled_gl_winsys += 'win32' enabled_gl_winsys += 'win32'
gl_winsys_deps += gdi_dep gl_winsys_deps += gdi_dep
glconf.set('GST_GL_HAVE_WINDOW_WIN32', 1) glconf.set('GST_GL_HAVE_WINDOW_WIN32', 1)
endif endif
if have_wgl if have_wgl
gl_priv_sources += [ gl_priv_sources += files([
'wgl/gstglcontext_wgl.c', 'wgl/gstglcontext_wgl.c',
] ])
enabled_gl_platforms += 'wgl' enabled_gl_platforms += 'wgl'
glconf.set('GST_GL_HAVE_PLATFORM_WGL', 1) glconf.set('GST_GL_HAVE_PLATFORM_WGL', 1)
endif endif
@ -757,9 +756,9 @@ if need_win_winrt != 'no' and host_system == 'windows'
if windows_graphics_h and windows_app_dep.found() and runtimeobject_lib.found() if windows_graphics_h and windows_app_dep.found() and runtimeobject_lib.found()
enabled_gl_winsys += 'winrt' enabled_gl_winsys += 'winrt'
glconf.set10('GST_GL_HAVE_WINDOW_WINRT', 1) glconf.set10('GST_GL_HAVE_WINDOW_WINRT', 1)
gl_priv_sources += [ gl_priv_sources += files([
'winrt/gstglwindow_winrt_egl.cpp' 'winrt/gstglwindow_winrt_egl.cpp'
] ])
gl_winsys_deps += runtimeobject_lib gl_winsys_deps += runtimeobject_lib
elif need_win_winrt == 'yes' elif need_win_winrt == 'yes'
error('WinRT is enabled, but headers/libraries were not found') error('WinRT is enabled, but headers/libraries were not found')
@ -809,12 +808,12 @@ if host_system == 'darwin'
if need_win_cocoa != 'no' if need_win_cocoa != 'no'
cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : false) cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : false)
if cocoa_dep.found() if cocoa_dep.found()
gl_priv_sources += [ gl_priv_sources += files([
'cocoa/gstglcaopengllayer.m', 'cocoa/gstglcaopengllayer.m',
'cocoa/gstglcontext_cocoa.m', 'cocoa/gstglcontext_cocoa.m',
'cocoa/gstgldisplay_cocoa.m', 'cocoa/gstgldisplay_cocoa.m',
'cocoa/gstglwindow_cocoa.m' 'cocoa/gstglwindow_cocoa.m'
] ])
gl_winsys_deps += cocoa_dep gl_winsys_deps += cocoa_dep
enabled_gl_winsys += 'cocoa' enabled_gl_winsys += 'cocoa'
glconf.set10('GST_GL_HAVE_WINDOW_COCOA', 1) glconf.set10('GST_GL_HAVE_WINDOW_COCOA', 1)
@ -856,10 +855,10 @@ if host_system == 'ios' and need_platform_eagl != 'no' and need_win_eagl != 'no'
quartzcore_dep, quartzcore_dep,
uikit_dep, uikit_dep,
] ]
gl_priv_sources += [ gl_priv_sources += files([
'eagl/gstglcontext_eagl.m', 'eagl/gstglcontext_eagl.m',
'eagl/gstglwindow_eagl.m', 'eagl/gstglwindow_eagl.m',
] ])
enabled_gl_winsys += 'eagl' enabled_gl_winsys += 'eagl'
enabled_gl_platforms += 'eagl' enabled_gl_platforms += 'eagl'
glconf.set('GST_GL_HAVE_WINDOW_EAGL', 1) glconf.set('GST_GL_HAVE_WINDOW_EAGL', 1)
@ -884,11 +883,11 @@ if need_win_gbm != 'no'
gbm_libdrm_dep = dependency('libdrm', version : '>= 2.4.55', required : false) gbm_libdrm_dep = dependency('libdrm', version : '>= 2.4.55', required : false)
gbm_dep = dependency('gbm', required : false) gbm_dep = dependency('gbm', required : false)
if egl_dep.found() and gbm_gudev_dep.found() and gbm_libdrm_dep.found() and gbm_dep.found() if egl_dep.found() and gbm_gudev_dep.found() and gbm_libdrm_dep.found() and gbm_dep.found()
gl_priv_sources += [ gl_priv_sources += files([
'gbm/gstgldisplay_gbm.c', 'gbm/gstgldisplay_gbm.c',
'gbm/gstgl_gbm_utils.c', 'gbm/gstgl_gbm_utils.c',
'gbm/gstglwindow_gbm_egl.c', 'gbm/gstglwindow_gbm_egl.c',
] ])
enabled_gl_winsys += 'gbm' enabled_gl_winsys += 'gbm'
gl_winsys_deps += [gbm_gudev_dep, gbm_libdrm_dep, gbm_dep] gl_winsys_deps += [gbm_gudev_dep, gbm_libdrm_dep, gbm_dep]
glconf.set('GST_GL_HAVE_WINDOW_GBM', 1) glconf.set('GST_GL_HAVE_WINDOW_GBM', 1)
@ -908,10 +907,10 @@ if need_platform_egl != 'no' and need_win_viv_fb != 'no'
enabled_gl_winsys += 'viv-fb' enabled_gl_winsys += 'viv-fb'
glconf.set10('GST_GL_HAVE_WINDOW_VIV_FB', 1) glconf.set10('GST_GL_HAVE_WINDOW_VIV_FB', 1)
glconf.set10('GST_GL_HAVE_VIV_DIRECTVIV', 1) glconf.set10('GST_GL_HAVE_VIV_DIRECTVIV', 1)
gl_priv_sources += [ gl_priv_sources += files([
'viv-fb/gstgldisplay_viv_fb.c', 'viv-fb/gstgldisplay_viv_fb.c',
'viv-fb/gstglwindow_viv_fb_egl.c', 'viv-fb/gstglwindow_viv_fb_egl.c',
] ])
gl_cpp_args += ['-DEGL_API_FB'] gl_cpp_args += ['-DEGL_API_FB']
endif endif
endif endif
@ -931,9 +930,9 @@ if host_system == 'android' and need_win_android != 'no' and need_platform_egl !
if gles2_dep.found() and egl_dep.found() if gles2_dep.found() and egl_dep.found()
enabled_gl_winsys += ['android'] enabled_gl_winsys += ['android']
glconf.set10('GST_GL_HAVE_WINDOW_ANDROID', 1) glconf.set10('GST_GL_HAVE_WINDOW_ANDROID', 1)
gl_priv_sources += [ gl_priv_sources += files([
'android/gstglwindow_android_egl.c' 'android/gstglwindow_android_egl.c'
] ])
endif endif
endif endif

View File

@ -1,4 +1,4 @@
pbutils_sources = [ pbutils_sources = files([
'gstpluginsbaseversion.c', 'gstpluginsbaseversion.c',
'pbutils.c', 'pbutils.c',
'codec-utils.c', 'codec-utils.c',
@ -10,7 +10,7 @@ pbutils_sources = [
'gstaudiovisualizer.c', 'gstaudiovisualizer.c',
'gstdiscoverer.c', 'gstdiscoverer.c',
'gstdiscoverer-types.c' 'gstdiscoverer-types.c'
] ])
pbconf = configuration_data() pbconf = configuration_data()
pbconf.set('PACKAGE_VERSION_MAJOR', gst_version_major) pbconf.set('PACKAGE_VERSION_MAJOR', gst_version_major)
@ -22,7 +22,7 @@ gst_pbutils_version_h = configure_file(input : 'gstpluginsbaseversion.h.in',
install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/pbutils'), install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/pbutils'),
configuration: pbconf) configuration: pbconf)
pbutils_headers = [ pbutils_headers = files([
'pbutils.h', 'pbutils.h',
'pbutils-prelude.h', 'pbutils-prelude.h',
'codec-utils.h', 'codec-utils.h',
@ -33,7 +33,7 @@ pbutils_headers = [
'missing-plugins.h', 'missing-plugins.h',
'gstdiscoverer.h', 'gstdiscoverer.h',
'gstaudiovisualizer.h', 'gstaudiovisualizer.h',
] ])
install_headers(pbutils_headers, subdir : 'gstreamer-1.0/gst/pbutils/') install_headers(pbutils_headers, subdir : 'gstreamer-1.0/gst/pbutils/')
pbutils_mkenum_headers = pbutils_headers pbutils_mkenum_headers = pbutils_headers

View File

@ -1,4 +1,4 @@
rtp_sources = [ rtp_sources = files([
'gstrtpbuffer.c', 'gstrtpbuffer.c',
'gstrtcpbuffer.c', 'gstrtcpbuffer.c',
'gstrtppayloads.c', 'gstrtppayloads.c',
@ -7,9 +7,9 @@ rtp_sources = [
'gstrtpbaseaudiopayload.c', 'gstrtpbaseaudiopayload.c',
'gstrtpbasepayload.c', 'gstrtpbasepayload.c',
'gstrtpbasedepayload.c' 'gstrtpbasedepayload.c'
] ])
rtp_headers = [ rtp_headers = files([
'gstrtcpbuffer.h', 'gstrtcpbuffer.h',
'gstrtpbaseaudiopayload.h', 'gstrtpbaseaudiopayload.h',
'gstrtpbasedepayload.h', 'gstrtpbasedepayload.h',
@ -21,7 +21,7 @@ rtp_headers = [
'gstrtppayloads.h', 'gstrtppayloads.h',
'rtp-prelude.h', 'rtp-prelude.h',
'rtp.h', 'rtp.h',
] ])
install_headers(rtp_headers, subdir : 'gstreamer-1.0/gst/rtp/') install_headers(rtp_headers, subdir : 'gstreamer-1.0/gst/rtp/')
rtp_enums = gnome.mkenums_simple('gstrtp-enumtypes', rtp_enums = gnome.mkenums_simple('gstrtp-enumtypes',

View File

@ -1,4 +1,4 @@
rtsp_sources = [ rtsp_sources = files([
'gstrtsptransport.c', 'gstrtsptransport.c',
'gstrtspurl.c', 'gstrtspurl.c',
'gstrtspmessage.c', 'gstrtspmessage.c',
@ -6,9 +6,9 @@ rtsp_sources = [
'gstrtspdefs.c', 'gstrtspdefs.c',
'gstrtspextension.c', 'gstrtspextension.c',
'gstrtsprange.c' 'gstrtsprange.c'
] ])
rtsp_headers = [ rtsp_headers = files([
'gstrtspconnection.h', 'gstrtspconnection.h',
'gstrtspdefs.h', 'gstrtspdefs.h',
'gstrtspextension.h', 'gstrtspextension.h',
@ -19,7 +19,7 @@ rtsp_headers = [
'gstrtspurl.h', 'gstrtspurl.h',
'rtsp-prelude.h', 'rtsp-prelude.h',
'rtsp.h', 'rtsp.h',
] ])
install_headers(rtsp_headers, subdir : 'gstreamer-1.0/gst/rtsp/') install_headers(rtsp_headers, subdir : 'gstreamer-1.0/gst/rtsp/')
rtsp_enums = gnome.mkenums_simple('gstrtsp-enumtypes', rtsp_enums = gnome.mkenums_simple('gstrtsp-enumtypes',

View File

@ -1,14 +1,14 @@
gst_sdp_headers = [ gst_sdp_headers = files([
'sdp.h', 'sdp.h',
'sdp-prelude.h', 'sdp-prelude.h',
'gstsdp.h', 'gstsdp.h',
'gstmikey.h', 'gstmikey.h',
'gstsdpmessage.h', 'gstsdpmessage.h',
] ])
install_headers(gst_sdp_headers, subdir : 'gstreamer-1.0/gst/sdp/') install_headers(gst_sdp_headers, subdir : 'gstreamer-1.0/gst/sdp/')
sdp_deps = [rtp_dep, gst_dep, gio_dep] sdp_deps = [rtp_dep, gst_dep, gio_dep]
gst_sdp_sources = ['gstsdpmessage.c', 'gstmikey.c'] gst_sdp_sources = files(['gstsdpmessage.c', 'gstmikey.c'])
gstsdp = library('gstsdp-@0@'.format(api_version), gstsdp = library('gstsdp-@0@'.format(api_version),
gst_sdp_sources, gst_sdp_sources,
c_args : gst_plugins_base_args + ['-DBUILDING_GST_SDP'], c_args : gst_plugins_base_args + ['-DBUILDING_GST_SDP'],

View File

@ -1,4 +1,4 @@
tag_sources = [ tag_sources = files([
'gstvorbistag.c', 'gstvorbistag.c',
'gstid3tag.c', 'gstid3tag.c',
'gstxmptag.c', 'gstxmptag.c',
@ -13,17 +13,17 @@ tag_sources = [
'id3v2frames.c', 'id3v2frames.c',
'xmpwriter.c', 'xmpwriter.c',
] ]
)
tag_mkenum_headers = [ tag_mkenum_headers = files([
'gsttagdemux.h', 'gsttagdemux.h',
'tag.h', 'tag.h',
] ])
tag_headers = tag_mkenum_headers + [ tag_headers = tag_mkenum_headers + files([
'gsttagmux.h', 'gsttagmux.h',
'xmpwriter.h', 'xmpwriter.h',
'tag-prelude.h', 'tag-prelude.h',
] ])
install_headers(tag_headers, subdir : 'gstreamer-1.0/gst/tag/') install_headers(tag_headers, subdir : 'gstreamer-1.0/gst/tag/')
tag_enums = gnome.mkenums_simple('tag-enumtypes', tag_enums = gnome.mkenums_simple('tag-enumtypes',

View File

@ -1,4 +1,4 @@
video_sources = [ video_sources = files([
'colorbalance.c', 'colorbalance.c',
'colorbalancechannel.c', 'colorbalancechannel.c',
'convertframe.c', 'convertframe.c',
@ -35,9 +35,9 @@ video_sources = [
'videodirection.c', 'videodirection.c',
'videoorientation.c', 'videoorientation.c',
'videooverlay.c', 'videooverlay.c',
] ])
video_headers = [ video_headers = files([
'colorbalance.h', 'colorbalance.h',
'colorbalancechannel.h', 'colorbalancechannel.h',
'gstvideoaffinetransformationmeta.h', 'gstvideoaffinetransformationmeta.h',
@ -73,7 +73,7 @@ video_headers = [
'video-blend.h', 'video-blend.h',
'video-overlay-composition.h', 'video-overlay-composition.h',
'video-multiview.h', 'video-multiview.h',
] ])
install_headers(video_headers, subdir : 'gstreamer-1.0/gst/video/') install_headers(video_headers, subdir : 'gstreamer-1.0/gst/video/')
video_mkenum_headers = [ video_mkenum_headers = [

View File

@ -39,7 +39,9 @@ libversion = '@0@.@1@.0'.format(soversion, curversion)
osxversion = curversion + 1 osxversion = curversion + 1
plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0') plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
static_build = get_option('default_library') == 'static'
plugins = [] plugins = []
libraries = {}
cc = meson.get_compiler('c') cc = meson.get_compiler('c')

View File

@ -1,4 +1,4 @@
rtsp_server_sources = [ rtsp_server_sources = files(
'rtsp-address-pool.c', 'rtsp-address-pool.c',
'rtsp-auth.c', 'rtsp-auth.c',
'rtsp-client.c', 'rtsp-client.c',
@ -23,9 +23,9 @@ rtsp_server_sources = [
'rtsp-onvif-client.c', 'rtsp-onvif-client.c',
'rtsp-onvif-media-factory.c', 'rtsp-onvif-media-factory.c',
'rtsp-onvif-media.c', 'rtsp-onvif-media.c',
] )
rtsp_server_headers = [ rtsp_server_headers = files(
'rtsp-auth.h', 'rtsp-auth.h',
'rtsp-address-pool.h', 'rtsp-address-pool.h',
'rtsp-context.h', 'rtsp-context.h',
@ -51,7 +51,7 @@ rtsp_server_headers = [
'rtsp-onvif-client.h', 'rtsp-onvif-client.h',
'rtsp-onvif-media-factory.h', 'rtsp-onvif-media-factory.h',
'rtsp-onvif-media.h', 'rtsp-onvif-media.h',
] )
install_headers(rtsp_server_headers, subdir : 'gstreamer-1.0/gst/rtsp-server') install_headers(rtsp_server_headers, subdir : 'gstreamer-1.0/gst/rtsp-server')

View File

@ -1,4 +1,4 @@
gst_sources = [ gst_sources = files([
'gst.c', 'gst.c',
'gstobject.c', 'gstobject.c',
'gstallocator.c', 'gstallocator.c',
@ -71,9 +71,9 @@ gst_sources = [
'gstutils.c', 'gstutils.c',
'gstvalue.c', 'gstvalue.c',
'gstparse.c', 'gstparse.c',
] ])
gst_headers = [ gst_headers = files([
'gst.h', 'gst.h',
'glib-compat.h', 'glib-compat.h',
'gstobject.h', 'gstobject.h',
@ -147,12 +147,12 @@ gst_headers = [
'gstregistry.h', 'gstregistry.h',
'gstparse.h', 'gstparse.h',
'math-compat.h', 'math-compat.h',
] ])
install_headers(gst_headers, subdir : 'gstreamer-1.0/gst') install_headers(gst_headers, subdir : 'gstreamer-1.0/gst')
gst_registry = get_option('registry') gst_registry = get_option('registry')
if gst_registry if gst_registry
gst_registry_sources = ['gstregistrybinary.c'] gst_registry_sources = files(['gstregistrybinary.c'])
else else
gst_registry_sources = [] gst_registry_sources = []
endif endif

View File

@ -1,4 +1,4 @@
gst_base_sources = [ gst_base_sources = files([
'gstadapter.c', 'gstadapter.c',
'gstaggregator.c', 'gstaggregator.c',
'gstbaseparse.c', 'gstbaseparse.c',
@ -15,9 +15,9 @@ gst_base_sources = [
'gstpushsrc.c', 'gstpushsrc.c',
'gstqueuearray.c', 'gstqueuearray.c',
'gsttypefindhelper.c', 'gsttypefindhelper.c',
] ])
gst_base_headers = [ gst_base_headers = files([
'base.h', 'base.h',
'base-prelude.h', 'base-prelude.h',
'gstadapter.h', 'gstadapter.h',
@ -36,9 +36,7 @@ gst_base_headers = [
'gstpushsrc.h', 'gstpushsrc.h',
'gstqueuearray.h', 'gstqueuearray.h',
'gsttypefindhelper.h', 'gsttypefindhelper.h',
] ])
gst_base_gen_sources = []
gst_base = library('gstbase-@0@'.format(apiversion), gst_base = library('gstbase-@0@'.format(apiversion),
gst_base_sources, gst_base_sources,

View File

@ -1,4 +1,4 @@
libcheck_files = [ libcheck_files = files([
'check.c', 'check.c',
'check_error.c', 'check_error.c',
'check_list.c', 'check_list.c',
@ -9,7 +9,7 @@ libcheck_files = [
'check_run.c', 'check_run.c',
'check_str.c', 'check_str.c',
'libcompat/libcompat.c' 'libcompat/libcompat.c'
] ])
if not cdata.has('HAVE_ALARM') if not cdata.has('HAVE_ALARM')
libcheck_files += ['libcompat/alarm.c'] libcheck_files += ['libcompat/alarm.c']
@ -41,11 +41,11 @@ endif
# FIXME: check that timer_create, timer_settime, timer_delete are in rt_lib # FIXME: check that timer_create, timer_settime, timer_delete are in rt_lib
if not rt_lib.found() if not rt_lib.found()
libcheck_files += [ libcheck_files += files([
'libcompat/timer_create.c', 'libcompat/timer_create.c',
'libcompat/timer_settime.c', 'libcompat/timer_settime.c',
'libcompat/timer_delete.c' 'libcompat/timer_delete.c'
] ])
endif endif
configure_file(input : 'check.h.in', configure_file(input : 'check.h.in',

View File

@ -1,11 +1,11 @@
gst_check_sources = [ gst_check_sources = files([
'gstbufferstraw.c', 'gstbufferstraw.c',
'gstcheck.c', 'gstcheck.c',
'gstconsistencychecker.c', 'gstconsistencychecker.c',
'gstharness.c', 'gstharness.c',
'gsttestclock.c', 'gsttestclock.c',
] ])
gst_check_headers = [ gst_check_headers = files([
'check.h', 'check.h',
'check-prelude.h', 'check-prelude.h',
'gstbufferstraw.h', 'gstbufferstraw.h',
@ -13,7 +13,7 @@ gst_check_headers = [
'gstconsistencychecker.h', 'gstconsistencychecker.h',
'gstharness.h', 'gstharness.h',
'gsttestclock.h', 'gsttestclock.h',
] ])
install_headers(gst_check_headers, subdir : 'gstreamer-1.0/gst/check/') install_headers(gst_check_headers, subdir : 'gstreamer-1.0/gst/check/')

View File

@ -1,4 +1,4 @@
gst_controller_sources = [ gst_controller_sources = files([
'gstargbcontrolbinding.c', 'gstargbcontrolbinding.c',
'gstdirectcontrolbinding.c', 'gstdirectcontrolbinding.c',
'gsttimedvaluecontrolsource.c', 'gsttimedvaluecontrolsource.c',
@ -6,14 +6,14 @@ gst_controller_sources = [
'gstproxycontrolbinding.c', 'gstproxycontrolbinding.c',
'gsttriggercontrolsource.c', 'gsttriggercontrolsource.c',
'gstlfocontrolsource.c', 'gstlfocontrolsource.c',
] ])
controller_mkenum_headers = [ controller_mkenum_headers = files([
'gstinterpolationcontrolsource.h', 'gstinterpolationcontrolsource.h',
'gstlfocontrolsource.h', 'gstlfocontrolsource.h',
] ])
gst_controller_headers = controller_mkenum_headers + [ gst_controller_headers = controller_mkenum_headers + files([
'gstargbcontrolbinding.h', 'gstargbcontrolbinding.h',
'gstdirectcontrolbinding.h', 'gstdirectcontrolbinding.h',
'gsttimedvaluecontrolsource.h', 'gsttimedvaluecontrolsource.h',
@ -23,7 +23,7 @@ gst_controller_headers = controller_mkenum_headers + [
'gstlfocontrolsource.h', 'gstlfocontrolsource.h',
'controller-prelude.h', 'controller-prelude.h',
'controller.h', 'controller.h',
] ])
install_headers(gst_controller_headers, subdir : 'gstreamer-1.0/gst/controller/') install_headers(gst_controller_headers, subdir : 'gstreamer-1.0/gst/controller/')
controller_enums = gnome.mkenums_simple('controller-enumtypes', controller_enums = gnome.mkenums_simple('controller-enumtypes',

View File

@ -1,4 +1,4 @@
gst_net_sources = [ gst_net_sources = files([
'gstnetaddressmeta.c', 'gstnetaddressmeta.c',
'gstnetclientclock.c', 'gstnetclientclock.c',
'gstnetcontrolmessagemeta.c', 'gstnetcontrolmessagemeta.c',
@ -7,9 +7,9 @@ gst_net_sources = [
'gstptpclock.c', 'gstptpclock.c',
'gstntppacket.c', 'gstntppacket.c',
'gstnetutils.c', 'gstnetutils.c',
] ])
gst_net_headers = [ gst_net_headers = files([
'gstnet.h', 'gstnet.h',
'gstnetaddressmeta.h', 'gstnetaddressmeta.h',
'gstnetclientclock.h', 'gstnetclientclock.h',
@ -20,7 +20,7 @@ gst_net_headers = [
'gstptpclock.h', 'gstptpclock.h',
'net-prelude.h', 'net-prelude.h',
'net.h', 'net.h',
] ])
install_headers(gst_net_headers, subdir : 'gstreamer-1.0/gst/net/') install_headers(gst_net_headers, subdir : 'gstreamer-1.0/gst/net/')
gst_net_gen_sources = [] gst_net_gen_sources = []