[packages/vapoursynth-plugin-bestsource] - updated to R8 (later require ffmpeg 7)
qboosh
qboosh at pld-linux.org
Fri Jun 6 20:17:10 CEST 2025
commit 2c86e37cb9abbfbc8114d332e952ef0b38075b5a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jun 6 20:03:52 2025 +0200
- updated to R8 (later require ffmpeg 7)
bestsource-system-libp2p.patch | 28 ++++++++++++++--------------
vapoursynth-plugin-bestsource.spec | 7 ++++---
2 files changed, 18 insertions(+), 17 deletions(-)
---
diff --git a/vapoursynth-plugin-bestsource.spec b/vapoursynth-plugin-bestsource.spec
index 2930d39..1ae606e 100644
--- a/vapoursynth-plugin-bestsource.spec
+++ b/vapoursynth-plugin-bestsource.spec
@@ -5,13 +5,14 @@
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
-Version: 4
+# >= 9 requires ffmpeg 7+
+Version: 8
Release: 1
License: MIT
Group: Libraries
#Source0Download: https://github.com/vapoursynth/bestsource/releases
Source0: https://github.com/vapoursynth/bestsource/archive/R%{version}/bestsource-R%{version}.tar.gz
-# Source0-md5: 32c350818744d5bc395e6ff90c4070c7
+# Source0-md5: 827740eaa706533f587e154b37d509aa
Patch0: bestsource-system-libp2p.patch
Patch1: bestsource-system-AviSynthPlus.patch
URL: https://github.com/vapoursynth/bestsource
@@ -19,7 +20,7 @@ BuildRequires: AviSynthPlus-devel
# libavcodec >= 60.31.0, libavformat >= 60.16.0, libavutil >= 58.29.0
BuildRequires: ffmpeg-devel >= 6.0
BuildRequires: libp2p-devel >= 0-0.20240415
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:7
BuildRequires: meson >= 0.53.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
diff --git a/bestsource-system-libp2p.patch b/bestsource-system-libp2p.patch
index a9e9f44..b7843e9 100644
--- a/bestsource-system-libp2p.patch
+++ b/bestsource-system-libp2p.patch
@@ -1,16 +1,16 @@
---- bestsource-R4/meson.build.orig 2024-05-27 06:22:09.431214749 +0200
-+++ bestsource-R4/meson.build 2024-05-27 06:23:24.504374692 +0200
-@@ -29,38 +29,20 @@ plugin_sources = files(
+--- bestsource-R8/meson.build.orig 2024-10-19 18:00:53.000000000 +0200
++++ bestsource-R8/meson.build 2025-06-06 17:58:52.546182236 +0200
+@@ -29,38 +29,14 @@ plugin_sources = files(
'src/vapoursynth.cpp',
)
-libs = []
- p2p_args = []
-
- if host_machine.cpu_family().startswith('x86')
- p2p_args += ['-DP2P_SIMD']
- endif
-
+-p2p_args = []
+-
+-if host_machine.cpu_family().startswith('x86')
+- p2p_args += ['-DP2P_SIMD']
+-endif
+-
-libs += static_library('p2p_main',
- files(
- 'libp2p/p2p_api.cpp',
@@ -41,7 +41,7 @@
]
link_args = []
-@@ -73,7 +55,6 @@ libbestsource = library('libbestsource',
+@@ -73,7 +49,6 @@ libbestsource = library('libbestsource',
dependencies: deps,
install: true,
link_args: link_args,
@@ -49,11 +49,11 @@
name_prefix: '',
)
---- bestsource-R4/src/videosource.cpp.orig 2024-05-27 06:22:09.435468064 +0200
-+++ bestsource-R4/src/videosource.cpp 2024-05-27 06:24:13.798307667 +0200
-@@ -25,7 +25,7 @@
- #include <cassert>
+--- bestsource-R12/src/videosource.cpp.orig 2025-05-13 21:43:54.000000000 +0200
++++ bestsource-R12/src/videosource.cpp 2025-06-06 17:49:12.665990383 +0200
+@@ -26,7 +26,7 @@
#include <iterator>
+ #include <charconv>
-#include "../libp2p/p2p_api.h"
+#include <p2p_api.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth-plugin-bestsource.git/commitdiff/2c86e37cb9abbfbc8114d332e952ef0b38075b5a
More information about the pld-cvs-commit
mailing list