mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
meson:validate: Build validate plugins
This commit is contained in:
parent
74085a4460
commit
99ee2dc3bb
10 changed files with 45 additions and 9 deletions
|
@ -64,6 +64,7 @@ gio_dep = dependency('gio-2.0', version: glib_req)
|
|||
gmodule_dep = dependency('gmodule-2.0', version: glib_req)
|
||||
gtk_dep = dependency('gtk+-3.0', required: false)
|
||||
mathlib = cc.find_library('m', required : false)
|
||||
dl = cc.find_library('dl', required : false)
|
||||
json_dep = dependency('json-glib-1.0',
|
||||
fallback : ['json-glib', 'json_glib_dep'])
|
||||
|
||||
|
|
1
validate/gst-libs/gst/meson.build
Normal file
1
validate/gst-libs/gst/meson.build
Normal file
|
@ -0,0 +1 @@
|
|||
subdir('video')
|
8
validate/gst-libs/gst/video/meson.build
Normal file
8
validate/gst-libs/gst/video/meson.build
Normal file
|
@ -0,0 +1,8 @@
|
|||
cairo_dep = dependency('cairo', required: false)
|
||||
video = static_library(
|
||||
'gstvalidatevideo',
|
||||
'gstvalidatessim.c', 'gssim.c',
|
||||
include_directories : inc_dirs,
|
||||
dependencies : [gst_dep, gst_video_dep, glib_dep, cairo_dep, gio_dep,
|
||||
mathlib],
|
||||
)
|
2
validate/gst-libs/meson.build
Normal file
2
validate/gst-libs/meson.build
Normal file
|
@ -0,0 +1,2 @@
|
|||
subdir('gst')
|
||||
|
|
@ -16,11 +16,14 @@ configure_file(output : 'config.h', configuration : cdata)
|
|||
|
||||
vs_module_defs_dir = meson.current_source_dir() + '/win32/common/'
|
||||
|
||||
validate_plugins_install_dir = '@0@/gstreamer-1.0/validate'.format(get_option('libdir'))
|
||||
subdir('data')
|
||||
subdir('gst')
|
||||
subdir('gst-libs')
|
||||
subdir('launcher')
|
||||
subdir('tools')
|
||||
subdir('docs')
|
||||
subdir('pkgconfig')
|
||||
subdir('tests')
|
||||
subdir('plugins')
|
||||
#subdir('po')
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
shared_library('gstvalidatefaultinjection',
|
||||
'socket_interposer.c',
|
||||
include_directories : inc_dirs,
|
||||
dependencies : [gst_dep, glib_dep]
|
||||
)
|
||||
if dl.found()
|
||||
shared_library('gstvalidatefaultinjection',
|
||||
'socket_interposer.c',
|
||||
include_directories : inc_dirs,
|
||||
link_with: [gstvalidate],
|
||||
dependencies : [gst_dep, glib_dep, dl],
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
install : true,
|
||||
install_dir : validate_plugins_install_dir,
|
||||
)
|
||||
endif
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
shared_library('gstvalidategapplication',
|
||||
'gstvalidategapplication.c',
|
||||
install: true,
|
||||
install_dir: PLUGINDIR,
|
||||
include_directories : inc_dirs,
|
||||
dependencies : [gst_dep, glib_dep, gst_pbutils_dep],
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
install: true,
|
||||
install_dir: validate_plugins_install_dir,
|
||||
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gio_dep],
|
||||
link_with : [gstvalidate]
|
||||
)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
shared_library('gstvalidategtk', 'gstvalidategtk.c',
|
||||
install: true,
|
||||
install_dir: PLUGINDIR,
|
||||
include_directories : inc_dirs,
|
||||
dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gtk_dep],
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
install : true,
|
||||
install_dir : validate_plugins_install_dir,
|
||||
link_with : [gstvalidate])
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
subdir('fault_injection')
|
||||
subdir('gapplication')
|
||||
subdir('ssim')
|
||||
|
||||
if gtk_dep.found()
|
||||
subdir('gtk')
|
||||
|
|
11
validate/plugins/ssim/meson.build
Normal file
11
validate/plugins/ssim/meson.build
Normal file
|
@ -0,0 +1,11 @@
|
|||
if cairo_dep.found()
|
||||
shared_library('gstvalidatessim',
|
||||
'gstvalidatessim.c',
|
||||
include_directories : inc_dirs,
|
||||
link_with: [video, gstvalidate],
|
||||
dependencies : [gst_dep, gst_video_dep, glib_dep, cairo_dep],
|
||||
install : true,
|
||||
install_dir : validate_plugins_install_dir,
|
||||
c_args: ['-DHAVE_CONFIG_H'],
|
||||
)
|
||||
endif
|
Loading…
Reference in a new issue