[packages/vapoursynth] - updated to 62
qboosh
qboosh at pld-linux.org
Sun Apr 23 22:32:30 CEST 2023
commit 7e3a81f08ea9b8ffe36b7fd0d070bb9e10a59b6d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 23 22:35:07 2023 +0200
- updated to 62
vapoursynth-sse2.patch | 26 +++++++++++++-------------
vapoursynth.spec | 17 ++++++++++-------
2 files changed, 23 insertions(+), 20 deletions(-)
---
diff --git a/vapoursynth.spec b/vapoursynth.spec
index 8825879..41fd6ec 100644
--- a/vapoursynth.spec
+++ b/vapoursynth.spec
@@ -11,18 +11,18 @@
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: 55
+Version: 62
Release: 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: 16d1e2806413ddd847728743638027f8
+Source0: https://github.com/vapoursynth/vapoursynth/archive/R%{version}/%{name}-R%{version}.tar.gz
+# Source0-md5: 0e820ade7563871b38363876f25bc704
Patch0: %{name}-sse2.patch
URL: http://www.vapoursynth.com/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.11
-BuildRequires: libstdc++-devel >= 6:4.8
+BuildRequires: libstdc++-devel >= 6:5
BuildRequires: libtool >= 2:2
%if %{with sse}
BuildRequires: nasm
@@ -33,8 +33,11 @@ BuildRequires: python3-devel >= 1:3.2
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.752
BuildRequires: sed >= 4.0
-%{?with_doc:BuildRequires: sphinx-pdg}
BuildRequires: zimg-devel >= 2.5
+%if %{with doc}
+BuildRequires: python3-sphinx_rtd_theme
+BuildRequires: sphinx-pdg-3
+%endif
%if %{with sse}
Requires: cpuinfo(sse2)
%endif
@@ -114,7 +117,7 @@ Dokumentacja do biblioteki VapourSynth.
%{__make}
%if %{with doc}
-%{__make} -C doc html
+sphinx-build-3 -b html doc doc/_build/html
%endif
%install
@@ -161,5 +164,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with doc}
%files doc
%defattr(644,root,root,755)
-%doc doc/_build/html/{_static,api,functions,*.html,*.js}
+%doc doc/_build/html/{_static,functions,*.html,*.js}
%endif
diff --git a/vapoursynth-sse2.patch b/vapoursynth-sse2.patch
index a5a8258..f0d2686 100644
--- a/vapoursynth-sse2.patch
+++ b/vapoursynth-sse2.patch
@@ -1,31 +1,31 @@
---- vapoursynth-R50/Makefile.am.orig 2020-07-06 20:53:20.109771817 +0200
-+++ vapoursynth-R50/Makefile.am 2020-07-06 20:53:23.166421924 +0200
-@@ -85,7 +85,7 @@
+--- vapoursynth-R62/Makefile.am.orig 2023-04-23 21:44:20.035726545 +0200
++++ vapoursynth-R62/Makefile.am 2023-04-23 21:48:53.884242981 +0200
+@@ -94,7 +94,7 @@ libvapoursynth_la_LIBADD = $(PTHREAD_LIB
if X86ASM
-noinst_LTLIBRARIES += libvapoursynth_avx2.la
+noinst_LTLIBRARIES += libvapoursynth_avx2.la libvapoursynth_sse2.la
- libvapoursynth_avx2_la_SOURCES = src/core/kernel/x86/generic_avx2.cpp \
- src/core/kernel/x86/merge_avx2.c \
-@@ -93,13 +93,18 @@
- libvapoursynth_avx2_la_CFLAGS = $(AM_CFLAGS) $(AVX2FLAGS)
+ libvapoursynth_avx2_la_SOURCES = src/core/kernel/x86/convolution_avx2.cpp \
+ src/core/kernel/x86/generic_avx2.cpp \
+@@ -104,15 +104,18 @@ libvapoursynth_avx2_la_CFLAGS = $(AM_CFL
libvapoursynth_avx2_la_CXXFLAGS = $(AM_CXXFLAGS) $(AVX2FLAGS)
--libvapoursynth_la_SOURCES += src/core/jitasm.h \
+ libvapoursynth_la_SOURCES += src/core/expr/jitasm.h \
+- src/core/expr/jitcompiler_x86.cpp \
++ src/core/expr/jitcompiler_x86.cpp
+libvapoursynth_sse2_la_SOURCES = \
+ src/core/kernel/x86/average_sse2.c \
+ src/core/kernel/x86/convolution_sse2.cpp \
src/core/kernel/x86/generic_sse2.cpp \
src/core/kernel/x86/merge_sse2.c \
src/core/kernel/x86/planestats_sse2.c \
src/core/kernel/x86/transpose_sse2.c
++libvapoursynth_sse2_la_CFLAGS = $(AM_CFLAGS) -msse2
++libvapoursynth_sse2_la_CXXFLAGS = $(AM_CXXFLAGS) -msse2
-libvapoursynth_la_LIBADD += libvapoursynth_avx2.la
-+libvapoursynth_sse2_la_CFLAGS = $(AM_CFLAGS) -msse2
-+libvapoursynth_sse2_la_CXXFLAGS = $(AM_CFLAGS) -msse2
-+
-+libvapoursynth_la_SOURCES += src/core/jitasm.h
-+
+libvapoursynth_la_LIBADD += libvapoursynth_avx2.la libvapoursynth_sse2.la
endif # X86ASM
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth.git/commitdiff/7e3a81f08ea9b8ffe36b7fd0d070bb9e10a59b6d
More information about the pld-cvs-commit
mailing list