mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 08:42:32 +00:00
39 lines
1.3 KiB
Meson
39 lines
1.3 KiB
Meson
pkg = 'gst-editing-services'
|
|
raw_api_fname = join_paths(meson.current_source_dir(), pkg + '-api.raw')
|
|
metadata_fname = join_paths(meson.current_source_dir(), pkg + '.metadata')
|
|
snk = join_paths(meson.current_source_dir(), '../', meson.project_name() + '.snk')
|
|
|
|
glueincludes = 'ges/ges.h'
|
|
gluefile = join_paths(meson.current_build_dir(), 'generate.c')
|
|
|
|
sources = [
|
|
't.cs'
|
|
]
|
|
|
|
subdir('generated')
|
|
|
|
# Install with gacutil_install.py from gtk-sharp.
|
|
ges_sharp = library(pkg + '-sharp', source_gen, sources,
|
|
cs_args: ['-nowarn:169', '-nowarn:108', '-nowarn:114', '-unsafe',
|
|
'-keyfile:' + snk],
|
|
link_with: gst_sharp,
|
|
dependencies: [glib_sharp_dep, gio_sharp_dep])
|
|
|
|
gluegen = custom_target(pkg + 'gluegen',
|
|
input: raw_api_fname,
|
|
output: 'generate.c',
|
|
command: [generate_api, '--fakeglue'],
|
|
depends: [source_gen])
|
|
|
|
library('gessharpglue-1.0.0', gluegen, dependencies: gst_deps + [ges_dep])
|
|
|
|
ges_sharp_dep = declare_dependency(dependencies: [glib_sharp_dep, gio_sharp_dep, gst_sharp_dep,
|
|
ges_dep], link_with: ges_sharp)
|
|
meson.add_install_script(gacutil_install, meson.project_name(), gst_sharp.full_path())
|
|
|
|
configure_file(
|
|
input: pkg + '-sharp.dll.config',
|
|
output: pkg + '-sharp.dll.config',
|
|
configuration: configuration_data())
|
|
|
|
|