Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philippe Normand
gst-plugins-bad
Commits
347d7328
Commit
347d7328
authored
Oct 08, 2018
by
Tim-Philipp Müller
🐠
Browse files
meson: build more examples
See
gstreamer/gst-plugins-bad#576
parent
4de06ea1
Changes
10
Hide whitespace changes
Inline
Side-by-side
tests/examples/audiomixmatrix/meson.build
0 → 100644
View file @
347d7328
executable('test-audiomixmatrix', 'test-audiomixmatrix.c',
include_directories : [configinc],
dependencies : gst_dep,
c_args : gst_plugins_bad_args,
install: false)
tests/examples/avsamplesink/meson.build
0 → 100644
View file @
347d7328
if ['darwin', 'ios'].contains(host_system)
avfoundation_dep = dependency('appleframeworks', modules : ['AVFoundation'], required : get_option('examples'))
quartzcore_dep = dependency('appleframeworks', modules : ['QuartzCore'], required : get_option('examples'))
corefoundation_dep = dependency('appleframeworks', modules : ['CoreFoundation'], required : get_option('examples'))
cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : get_option('examples'))
if quartzcore_dep.found() and avfoundation_dep.found() and corefoundation_dep.found() and cocoa_dep.found()
executable('avsamplesink', 'main.m',
include_directories : [configinc],
dependencies : [gst_dep, avfoundation_dep, quartzcore_dep, corefoundation_dep, cocoa_dep],
c_args : gst_plugins_bad_args,
install: false)
endif
endif
tests/examples/camerabin2/meson.build
0 → 100644
View file @
347d7328
gtk_dep = dependency('gtk+-3.0', required : get_option('examples'))
gdk_x11_dep = dependency('gdk-x11-3.0', required : get_option('examples'))
if gtk_dep.found() and gdk_x11_dep.found()
camera2_args = [
'-DGST_USE_UNSTABLE_API',
'-DCAMERA_APPS_UIDIR="@0@"'.format(meson.current_source_dir()),
cc.get_supported_link_arguments('-fvisibility=default'),
]
gmodule_export_dep = dependency('gmodule-export-2.0')
executable('gst-camera2', 'gst-camera2.c',
include_directories : [configinc],
dependencies : [gstphotography_dep, gtk_dep, gdk_x11_dep, gst_dep, gstvideo_dep, gstpbutils_dep, gmodule_export_dep],
c_args : gst_plugins_bad_args + camera2_args,
install: false)
endif
x11_dep = dependency('x11', required : get_option('examples'))
if x11_dep.found()
executable('gst-camerabin2-test', 'gst-camerabin2-test.c',
include_directories : [configinc],
dependencies : [gstphotography_dep, x11_dep, gst_dep, gstvideo_dep, gstpbutils_dep],
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
install: false)
endif
tests/examples/codecparsers/meson.build
0 → 100644
View file @
347d7328
executable('parse-jpeg', 'parse-jpeg.c',
include_directories : [configinc],
dependencies : [gstcodecparsers_dep, gst_dep],
c_args : gst_plugins_bad_args,
install: false)
executable('parse-vp8', 'parse-vp8.c',
include_directories : [configinc],
dependencies : [gstcodecparsers_dep, gst_dep],
c_args : gst_plugins_bad_args,
install: false)
tests/examples/directfb/meson.build
0 → 100644
View file @
347d7328
if directfb_dep.found()
executable('gstdfb', 'gstdfb.c',
include_directories : [configinc],
dependencies : [gst_dep, directfb_dep, libm],
c_args : gst_plugins_bad_args,
install: false)
endif
tests/examples/meson.build
View file @
347d7328
# FIXME - Add other missing examples!
#
subdir('audiomixmatrix')
#
subdir('avsamplesink')
#
subdir('camerabin2')
#
subdir('codecparsers')
subdir('audiomixmatrix')
subdir('avsamplesink')
subdir('camerabin2')
subdir('codecparsers')
subdir('compositor')
#
subdir('directfb')
subdir('directfb')
#subdir('ipcpipeline')
subdir('mpegts')
#
subdir('mxf')
subdir('mxf')
#subdir('opencv')
#
subdir('uvch264')
subdir('uvch264')
subdir('waylandsink')
subdir('webrtc')
...
...
tests/examples/mxf/meson.build
0 → 100644
View file @
347d7328
if gtk_dep.found()
executable('mxfdemux-structure', 'mxfdemux-structure.c',
include_directories : [configinc],
dependencies: [gst_dep, gtk_dep],
c_args : gst_plugins_bad_args,
install: false)
endif
tests/examples/uvch264/meson.build
0 → 100644
View file @
347d7328
if gtk_dep.found() and gdk_x11_dep.found()
test_uvch264_args = [
'-DGST_USE_UNSTABLE_API',
cc.get_supported_link_arguments('-fvisibility=default'),
]
gmodule_export_dep = dependency('gmodule-export-2.0')
executable('test-uvch264', 'test-uvch264.c',
include_directories : [configinc],
dependencies : [gtk_dep, gdk_x11_dep, gst_dep, gstvideo_dep, gmodule_export_dep],
c_args : gst_plugins_bad_args + test_uvch264_args,
install: false)
endif
tests/icles/meson.build
0 → 100644
View file @
347d7328
if not get_option('soundtouch').disabled() and soundtouch_dep.found()
executable('pitch-test', 'pitch-test.c',
include_directories: [configinc],
dependencies: [glib_dep, gst_dep, gstcontroller_dep],
install: false)
endif
tests/meson.build
View file @
347d7328
...
...
@@ -6,4 +6,5 @@ if host_system != 'windows'
endif
if not get_option('examples').disabled()
subdir('examples')
subdir('icles')
endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment