Lines 1-9
Link Here
|
1 |
project('pitivi', 'c', version : '1.90.0.1', meson_version : '>= 0.41.0') |
1 |
project('pitivi', 'c', version : '1.90.0.1', meson_version : '>= 0.46.0') |
2 |
host_system = host_machine.system() |
2 |
host_system = host_machine.system() |
3 |
|
3 |
|
4 |
python = find_program('python3') |
4 |
pymod = import('python') |
|
|
5 |
python = pymod.find_installation(get_option('python')) |
6 |
pythonver = python.language_version() |
7 |
# Workaround for https://github.com/mesonbuild/meson/issues/5629 |
8 |
# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 |
9 |
python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>= 3.3', required: false) |
10 |
if not python_dep.found() |
11 |
python_dep = python.dependency('python3', version: '>= 3.3') |
12 |
endif |
5 |
|
13 |
|
6 |
python_dep = dependency('python3', version : '>= 3.3') |
|
|
7 |
if get_option('build-gst') |
14 |
if get_option('build-gst') |
8 |
subproject('gst-build', default_options: ['enable_python=true', |
15 |
subproject('gst-build', default_options: ['enable_python=true', |
9 |
'disable_gstreamer_sharp=true', 'disable_rtsp_server=true', |
16 |
'disable_gstreamer_sharp=true', 'disable_rtsp_server=true', |