gstreamer/gst-libs/gst/transcoder/meson.build

45 lines
1.4 KiB
Meson
Raw Normal View History

2015-12-03 11:32:05 +00:00
sources = files(['gsttranscoder.c'])
headers = files(['gsttranscoder.h', 'transcoder-prelude.h'])
install_headers(headers, subdir : 'gstreamer-' + api_version + '/gst/transcoder')
gst_transcoder = library('gsttranscoder-' + api_version,
sources,
install: true,
include_directories : [configinc, libsinc],
dependencies: [gst_dep, gstpbutils_dep],
c_args: gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_TRANSCODER'],
soversion : soversion,
)
2018-04-07 20:33:47 +00:00
pkgconfig.generate(gst_transcoder,
libraries : [gst_dep, gstbase_dep],
variables : pkgconfig_variables,
subdirs : pkgconfig_subdirs,
name : 'gstreamer-transcoder-1.0',
description : 'High level API for transcoding using GStreamer',
)
2015-12-03 11:32:05 +00:00
if build_gir
transcoder_gir = gnome.generate_gir(gst_transcoder,
sources : sources + headers,
nsversion : api_version,
namespace : 'GstTranscoder',
identifier_prefix : 'Gst',
symbol_prefix : 'gst_',
includes : ['GObject-2.0',
'Gst-' + api_version,
'GstPbutils-' + api_version],
dependencies: [gst_dep, gstpbutils_dep],
install : true,
extra_args : gir_init_section
2015-12-03 11:32:05 +00:00
)
endif
gst_transcoder_dep = declare_dependency(link_with: gst_transcoder,
dependencies : [gst_dep, gstpbutils_dep],
include_directories : [libsinc]
2018-04-07 20:33:47 +00:00
)
meson.override_dependency('gstreamer-transcoder-1.0', gst_transcoder_dep)