commit 132d5831ed799bf0f8865fa3dad15c42046a7b6e
Author: Jan Rękorajski <[email protected]>
Date:   Sun Nov 3 16:39:22 2019 +0100

    - fix building with python 3.8
    - rel 3

 pitivi.spec      |  4 +++-
 python-3.8.patch | 12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/pitivi.spec b/pitivi.spec
index 2493016..48069de 100644
--- a/pitivi.spec
+++ b/pitivi.spec
@@ -2,11 +2,12 @@ Summary:      Non-linear video editor
 Summary(pl.UTF-8):     Nieliniowy edytor filmów
 Name:          pitivi
 Version:       0.999
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         X11/Applications/Multimedia
 Source0:       
http://ftp.gnome.org/pub/GNOME/sources/pitivi/0.999/%{name}-%{version}.tar.xz
 # Source0-md5: 5f321c64dc20086f0f6737b42e73f557
+Patch0:                python-3.8.patch
 URL:           http://www.pitivi.org/
 BuildRequires: cairo-devel
 BuildRequires: gettext-tools
@@ -55,6 +56,7 @@ PiTiVi jest programem do edycji wideo używającym GStreamera.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3,/usr/bin/python3,' bin/pitivi.in
 
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644
index 0000000..77bf5e7
--- /dev/null
+++ b/python-3.8.patch
@@ -0,0 +1,12 @@
+--- pitivi-0.999/meson.build~  2018-08-29 09:05:21.000000000 -0500
++++ pitivi-0.999/meson.build   2019-06-11 10:04:02.636744751 -0500
+@@ -61,7 +61,8 @@
+     dependencies: [gst_dep, python_dep, pycairo_dep, cairo_dep],
+     name_prefix : '',
+     install: true,
+-    install_dir: get_option('libdir') + '/pitivi/python/pitivi/timeline')
++    install_dir: get_option('libdir') + '/pitivi/python/pitivi/timeline',
++    link_args : '-lpython3.8')
+ 
+ pitivi_install_dir = get_option('libdir') + '/pitivi/python/'
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pitivi.git/commitdiff/132d5831ed799bf0f8865fa3dad15c42046a7b6e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to