2022-01-25 23:02:49 +00:00
|
|
|
pysources = ['Gst.py', 'GstPbutils.py', 'GstVideo.py', 'GstAudio.py']
|
2016-09-05 14:30:43 +00:00
|
|
|
install_data(pysources,
|
2022-03-11 23:08:14 +00:00
|
|
|
install_dir: pygi_override_dir,
|
|
|
|
install_tag: 'python-runtime')
|
2016-09-05 14:30:43 +00:00
|
|
|
|
2018-05-14 08:05:15 +00:00
|
|
|
gstpython = python.extension_module('_gi_gst',
|
2016-09-05 14:30:43 +00:00
|
|
|
sources: ['gstmodule.c'],
|
|
|
|
install: true,
|
|
|
|
install_dir : pygi_override_dir,
|
2022-09-12 13:46:43 +00:00
|
|
|
install_tag: 'python-runtime',
|
2018-05-14 08:05:15 +00:00
|
|
|
include_directories : [configinc],
|
2016-09-05 14:30:43 +00:00
|
|
|
dependencies : [gst_dep, python_dep, pygobject_dep])
|
2022-02-21 16:37:26 +00:00
|
|
|
|
|
|
|
env = environment()
|
|
|
|
env.prepend('_GI_OVERRIDES_PATH', [
|
|
|
|
meson.current_source_dir(),
|
|
|
|
meson.current_build_dir()
|
|
|
|
])
|
|
|
|
meson.add_devenv(env)
|