[packages/vapoursynth/DEVEL-55] - updated to 55; plugins moved to separate repositories/.specs

qboosh qboosh at pld-linux.org
Fri Apr 21 21:49:36 CEST 2023


commit 05c0e2f7b6a973b7cdb7fc8e71d847c051811341
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 21 21:52:14 2023 +0200

    - updated to 55; plugins moved to separate repositories/.specs

 vapoursynth.spec | 84 +++++---------------------------------------------------
 1 file changed, 7 insertions(+), 77 deletions(-)
---
diff --git a/vapoursynth.spec b/vapoursynth.spec
index 56ef8f3..9269acb 100644
--- a/vapoursynth.spec
+++ b/vapoursynth.spec
@@ -1,8 +1,6 @@
 #
 # Conditional build:
 %bcond_without	doc		# documentation
-%bcond_without	ffmpeg		# subtext plugin (libass+ffmpeg based)
-%bcond_with	im		# imwri plugin (requires ImageMagick with Q16 or Q32 and HDRI support)
 %bcond_with	sse		# use SSE/SSE2 instructions on x86 (no runtime detection)
 %bcond_without	static_libs	# static libraries
 #
@@ -13,21 +11,17 @@
 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:	54
-Release:	4
+Version:	55
+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:	b1710b4a8d28b70116d282082977d28b
+# Source0-md5:	16d1e2806413ddd847728743638027f8
 Patch0:		%{name}-sse2.patch
 URL:		http://www.vapoursynth.com/
-%{?with_im:BuildRequires:	ImageMagick-c++-devel >= 1:7}
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.11
-# libavcodec libavformat libavutil
-%{?with_ffmpeg:BuildRequires:	ffmpeg-devel}
-%{?with_ffmpeg:BuildRequires:	libass-devel}
 BuildRequires:	libstdc++-devel >= 6:4.8
 BuildRequires:	libtool >= 2:2
 %if %{with sse}
@@ -36,19 +30,17 @@ BuildRequires:	nasm
 BuildRequires:	pkgconfig
 BuildRequires:	python3-Cython
 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:	tesseract-devel >= 3
 BuildRequires:	zimg-devel >= 2.5
 %if %{with sse}
 Requires:	cpuinfo(sse2)
 %endif
 Requires:	python3-libs >= 1:3.2
 Requires:	zimg >= 2.5
-%if %{without im}
-Obsoletes:	vapoursynth-plugin-imwri < %{version}-%{release}
-%endif
+Obsoletes:	vapoursynth-plugin-imwri < 54-5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # non-function std::__once_call, std::__once_callable symbols
@@ -64,42 +56,6 @@ VapourSynth to aplikacja do obróbki obrazu. Albo wtyczka. Albo
 biblioteka. Trudno stwierdzić, ponieważ ma główną bibliotekę napisaną
 w C++ oraz moduł Pythona pozwalający na tworzenie skryptów do obrazu.
 
-%package plugin-imwri
-Summary:	Image reader/writer plugin for VapourSynth
-Summary(pl.UTF-8):	Wtyczka VapourSynth odczytująca i zapisują obrazy
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description plugin-imwri
-Image reader/writer plugin for VapourSynth.
-
-%description plugin-imwri -l pl.UTF-8
-Wtyczka VapourSynth odczytująca i zapisują obrazy.
-
-%package plugin-ocr
-Summary:	OCR plugin for VapourSynth
-Summary(pl.UTF-8):	Wtyczka OCR dla VapourSyntha
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description plugin-ocr
-OCR plugin for VapourSynth.
-
-%description plugin-ocr -l pl.UTF-8
-Wtyczka OCR dla VapourSyntha.
-
-%package plugin-subtext
-Summary:	Subtitle rendering plugin for VapourSynth
-Summary(pl.UTF-8):	Wtyczka VapourSynth nanosząca podpisy
-Group:		Libraries
-Requires:	%{name} = %{version}-%{release}
-
-%description plugin-subtext
-Subtitle rendering plugin for VapourSynth.
-
-%description plugin-subtext -l pl.UTF-8
-Wtyczka VapourSynth nanosząca podpisy.
-
 %package devel
 Summary:	Header files for VapourSynth libraries
 Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek VapourSynth
@@ -165,6 +121,7 @@ Dokumentacja do biblioteki VapourSynth.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/vapoursynth
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -172,8 +129,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm}	$RPM_BUILD_ROOT%{py3_sitedir}/vapoursynth.la
 # obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvapoursynth*.la
-# dlopened modules
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/vapoursynth/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -190,31 +145,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libvapoursynth-script.so.0
 %attr(755,root,root) %{py3_sitedir}/vapoursynth.so
 %dir %{_libdir}/vapoursynth
-%attr(755,root,root) %{_libdir}/vapoursynth/libeedi3.so
-%attr(755,root,root) %{_libdir}/vapoursynth/libmiscfilters.so
-%attr(755,root,root) %{_libdir}/vapoursynth/libmorpho.so
-%attr(755,root,root) %{_libdir}/vapoursynth/libremovegrain.so
-%attr(755,root,root) %{_libdir}/vapoursynth/libvinverse.so
-%attr(755,root,root) %{_libdir}/vapoursynth/libvivtc.so
-
-%if %{with im}
-%files plugin-imwri
-%defattr(644,root,root,755)
-# R: ImageMagick-c++ >= 1:7
-%attr(755,root,root) %{_libdir}/vapoursynth/libimwri.so
-%endif
-
-%files plugin-ocr
-%defattr(644,root,root,755)
-# R: tesseract
-%attr(755,root,root) %{_libdir}/vapoursynth/libocr.so
-
-%if %{with ffmpeg}
-%files plugin-subtext
-%defattr(644,root,root,755)
-# R: libass ffmpeg
-%attr(755,root,root) %{_libdir}/vapoursynth/libsubtext.so
-%endif
 
 %files devel
 %defattr(644,root,root,755)
@@ -233,5 +163,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files doc
 %defattr(644,root,root,755)
-%doc doc/_build/html/{_static,api,functions,plugins,*.html,*.js}
+%doc doc/_build/html/{_static,api,functions,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth.git/commitdiff/05c0e2f7b6a973b7cdb7fc8e71d847c051811341



More information about the pld-cvs-commit mailing list