Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 679338 Details for
Bug 749032
media-video/pitivi-2020.09 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Support Python 3.8
0a3cc054a2c20b59f5aaaaa307de3c9af3c0d270.patch (text/plain), 1.76 KB, created by
poncho
on 2020-12-23 17:59:01 UTC
(
hide
)
Description:
Support Python 3.8
Filename:
MIME Type:
Creator:
poncho
Created:
2020-12-23 17:59:01 UTC
Size:
1.76 KB
patch
obsolete
>From 0a3cc054a2c20b59f5aaaaa307de3c9af3c0d270 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Alexandru=20B=C4=83lu=C8=9B?= <alexandru.balut@gmail.com> >Date: Tue, 28 Jan 2020 22:34:40 +0100 >Subject: [PATCH] meson: Support Python 3.8 > >To link to Python we need to use python-3.8-embed. >--- > meson.build | 13 ++++++++++--- > meson_options.txt | 3 ++- > 2 files changed, 12 insertions(+), 4 deletions(-) > >diff --git a/meson.build b/meson.build >index 0885329f4..060ab47a1 100644 >--- a/meson.build >+++ b/meson.build >@@ -1,9 +1,16 @@ >-project('pitivi', 'c', version : '1.90.0.1', meson_version : '>= 0.41.0') >+project('pitivi', 'c', version : '1.90.0.1', meson_version : '>= 0.46.0') > host_system = host_machine.system() > >-python = find_program('python3') >+pymod = import('python') >+python = pymod.find_installation(get_option('python')) >+pythonver = python.language_version() >+# Workaround for https://github.com/mesonbuild/meson/issues/5629 >+# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 >+python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>= 3.3', required: false) >+if not python_dep.found() >+ python_dep = python.dependency('python3', version: '>= 3.3') >+endif > >-python_dep = dependency('python3', version : '>= 3.3') > if get_option('build-gst') > subproject('gst-build', default_options: ['enable_python=true', > 'disable_gstreamer_sharp=true', 'disable_rtsp_server=true', >diff --git a/meson_options.txt b/meson_options.txt >index c6590dd12..7d6bad293 100644 >--- a/meson_options.txt >+++ b/meson_options.txt >@@ -1,2 +1,3 @@ >-option('disable-help', type : 'boolean', value : false) > option('build-gst', type : 'boolean', value : false) >+option('disable-help', type : 'boolean', value : false) >+option('python', type : 'string', value : 'python3') >-- >GitLab >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 749032
: 679338