[packages/vapoursynth] - up to 47.2 - fix building with python 3.8
baggins
baggins at pld-linux.org
Wed Oct 30 00:33:47 CET 2019
commit cc0f3fb6c7e73abeed5c27c577defe072f5d9781
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 30 00:32:08 2019 +0100
- up to 47.2
- fix building with python 3.8
python-3.8.patch | 20 ++++++++++++++++++++
vapoursynth.spec | 8 +++++---
2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/vapoursynth.spec b/vapoursynth.spec
index a04c1f1..77dfe25 100644
--- a/vapoursynth.spec
+++ b/vapoursynth.spec
@@ -13,14 +13,15 @@
Summary: A video processing framework with simplicity in mind
Summary(pl.UTF-8): Szkielet do przetwarzania obrazu stworzony z myślą o prostocie
Name: vapoursynth
-Version: 46
-Release: 2
+Version: 47.2
+Release: 0.1
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/vapoursynth/vapoursynth/releases
Source0: https://github.com/vapoursynth/vapoursynth/archive/R%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ba1eea3aef6678fd9801f5246e48b9fd
+# Source0-md5: 14425426a841d34d303620537b19eee3
Patch0: %{name}-genericarch.patch
+Patch1: python-3.8.patch
URL: http://www.vapoursynth.com/
%{?with_im:BuildRequires: ImageMagick-c++-devel >= 1:7}
BuildRequires: autoconf >= 2.50
@@ -142,6 +143,7 @@ Dokumentacja do biblioteki VapourSynth.
%prep
%setup -q -n %{name}-R%{version}
%patch0 -p1
+%patch1 -p1
%if %{without sse}
%{__sed} -i -e 's/"-mfpmath=sse -msse2"/""/' configure.ac
diff --git a/python-3.8.patch b/python-3.8.patch
new file mode 100644
index 0000000..fcae7ca
--- /dev/null
+++ b/python-3.8.patch
@@ -0,0 +1,20 @@
+--- vapoursynth-R47.2/configure.ac~ 2019-08-15 21:01:45.000000000 +0200
++++ vapoursynth-R47.2/configure.ac 2019-10-30 00:23:01.770277122 +0100
+@@ -232,7 +232,7 @@
+ [
+ AM_PATH_PYTHON([3])
+
+- PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION])
++ PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION-embed])
+
+ AC_CONFIG_FILES([pc/vapoursynth-script.pc])
+ ]
+@@ -290,7 +290,7 @@
+
+ AS_IF(
+ [test -z "$PYTHON3_LIBS"],
+- [PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION])]
++ [PKG_CHECK_MODULES([PYTHON3], [python-$PYTHON_VERSION-embed])]
+ )
+
+ AS_CASE(
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth.git/commitdiff/cc0f3fb6c7e73abeed5c27c577defe072f5d9781
More information about the pld-cvs-commit
mailing list