Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 749032
Collapse All | Expand All

(-)a/meson.build (-3 / +10 lines)
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',
(-)a/meson_options.txt (-2 / +2 lines)
Lines 1-2 Link Here
1
option('disable-help', type : 'boolean', value : false)
2
option('build-gst', type : 'boolean', value : false)
1
option('build-gst', type : 'boolean', value : false)
3
- 
2
option('disable-help', type : 'boolean', value : false)
3
option('python', type : 'string', value : 'python3')

Return to bug 749032