gst-examples: Stop using deprecated python3 module
Also specify a minimum meson version, and remove the license entry. It's incorrect, since there are various licenses for the examples. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8753>
This commit is contained in:
parent
48cbdf73a5
commit
92e91c25b5
@ -1,4 +1,6 @@
|
||||
project('gst-examples', 'c', version : '1.27.0.1', license : 'LGPL')
|
||||
project('gst-examples', 'c',
|
||||
version : '1.27.0.1',
|
||||
meson_version : '>=1.0')
|
||||
|
||||
static_build = get_option('default_library') == 'static'
|
||||
cc = meson.get_compiler('c')
|
||||
|
@ -14,12 +14,12 @@ endif
|
||||
|
||||
libgstwebrtcnice_dep = dependency('gstreamer-webrtc-nice-1.0', version : gst_req)
|
||||
|
||||
py3_mod = import('python3')
|
||||
py3 = py3_mod.find_python()
|
||||
pymod = import('python')
|
||||
py3 = pymod.find_installation('python3')
|
||||
|
||||
py3_version = py3_mod.language_version()
|
||||
py3_version = py3.language_version()
|
||||
if py3_version.version_compare('< 3.6')
|
||||
error('Could not find a sufficient python version required: 3.6, found {}'.format(py3_version))
|
||||
error('Could not find a sufficient python version required: 3.6, found {}'.format(py3_version))
|
||||
endif
|
||||
|
||||
subdir('multiparty-sendrecv')
|
||||
|
Loading…
x
Reference in New Issue
Block a user