[packages/vapoursynth-plugin-bestsource] - updated dependencies, cleanup, explicit enable_gpu setting

qboosh qboosh at pld-linux.org
Sat Nov 21 19:54:45 CET 2026


commit d0be42c64fd0baf95af442c286a96463e6bdcf36
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 21 19:54:47 2026 +0100

    - updated dependencies, cleanup, explicit enable_gpu setting

 vapoursynth-plugin-bestsource.spec | 64 +++++++++++---------------------------
 1 file changed, 18 insertions(+), 46 deletions(-)
---
diff --git a/vapoursynth-plugin-bestsource.spec b/vapoursynth-plugin-bestsource.spec
index dd7db02..ea65d17 100644
--- a/vapoursynth-plugin-bestsource.spec
+++ b/vapoursynth-plugin-bestsource.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with	vulkan	# Vulkan+glslang for GPU decoding (ffmpeg 9.1)
+
 Summary:	Vapoursynth plugin to access audio and video via FFmpeg library
 Summary(pl.UTF-8):	Wtyczka Vapoursynth pozwalająca na dostęp do dźwięku i obrazu poprzez bibliotekę FFmpeg
 Name:		vapoursynth-plugin-bestsource
@@ -12,16 +16,22 @@ Patch0:		bestsource-system-libp2p.patch
 Patch1:		bestsource-system-AviSynthPlus.patch
 URL:		https://github.com/vapoursynth/bestsource
 BuildRequires:	AviSynthPlus-devel
-BuildRequires:	ffmpeg-devel >= 6.0
+%{?with_vulkan:BuildRequires:	Vulkan-Headers >= 1.4}
+# libavcodec >= 63.1.0, libavformat >= 63.1.0, libavutil >= 61.1.0 [61.6.0 for GPU]
+BuildRequires:	ffmpeg-devel >= 9.0
+%{?with_vulkan:BuildRequires:	ffmpeg-devel >= 9.1}
+# glslangValidator
+%{?with_vulkan:BuildRequires:	glslang}
 BuildRequires:	libp2p-devel >= 0-0.20240415
 BuildRequires:	libstdc++-devel >= 6:7
-BuildRequires:	meson >= 0.53.0
+BuildRequires:	meson >= 1.2.3
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
+BuildRequires:	python3 >= 1:3.12
 BuildRequires:	rpmbuild(macros) >= 2.042
-BuildRequires:	vapoursynth-devel >= 55
+BuildRequires:	vapoursynth-devel >= 80
 BuildRequires:	xxHash-devel
-Requires:	vapoursynth >= 55
+Requires:	vapoursynth%{?_isa} >= 80
 Obsoletes:	vapoursynth-plugin-bestaudiosource < 2
 Obsoletes:	bestsource < 23
 Obsoletes:	bestsource-devel < 23
@@ -35,52 +45,14 @@ Vapoursynth plugin to access audio and video via FFmpeg library.
 Wtyczka Vapoursynth pozwalająca na dostęp do dźwięku i obrazu poprzez
 bibliotekę FFmpeg.
 
-%package -n bestsource
-Summary:	Super great audio/video source and FFmpeg wrapper
-Summary(pl.UTF-8):	Bardzo uniwersalne źródło dźwięku/obrazu i opakowanie FFmpeg
-Group:		Libraries
-Requires:	ffmpeg-libs >= 6.0.0
-Requires:	libp2p >= 0-0.20240415
-
-%description -n bestsource
-Super great audio/video source and FFmpeg wrapper.
-
-%description -n bestsource -l pl.UTF-8
-Bardzo uniwersalne źródło dźwięku/obrazu i opakowanie FFmpeg.
-
-%package -n bestsource-devel
-Summary:	Header files for bestsource library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki bestsource
-Group:		Development/Libraries
-Requires:	bestsource = %{version}-%{release}
-Requires:	ffmpeg-devel >= 6.0
-Requires:	xxHash-devel
-
-%description -n bestsource-devel
-Header files for bestsource library.
-
-%description -n bestsource-devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki bestsource.
-
-%package -n bestsource-static
-Summary:	Static bestsource library
-Summary(pl.UTF-8):	Statyczna biblioteka bestsource
-Group:		Development/Libraries
-Requires:	bestsource-devel = %{version}-%{release}
-
-%description -n bestsource-static
-Static bestsource library.
-
-%description -n bestsource-static -l pl.UTF-8
-Statyczna biblioteka bestsource.
-
 %prep
 %setup -q -n bestsource-R%{version}
 %patch -P0 -p1
 %patch -P1 -p1
 
 %build
-%meson
+%meson \
+	-Denable_gpu=%{__enabled_disabled vulkan}
 
 %meson_build
 
@@ -94,5 +66,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md
-%attr(755,root,root) %{py3_sitedir}/vapoursynth/plugins/libbestsource.so
+%doc LICENSE README.md
+%{py3_sitedir}/vapoursynth/plugins/libbestsource.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth-plugin-bestsource.git/commitdiff/d0be42c64fd0baf95af442c286a96463e6bdcf36



More information about the pld-cvs-commit mailing list