Compare commits

..

56 commits

Author SHA1 Message Date
Simone Caronni
e341dc574e Fix build on ppc64le 2026-08-10 11:48:34 +02:00
Simone Caronni
2838510604 Add missing patch 2026-08-10 11:27:54 +02:00
Simone Caronni
d7291116c4 Update to R79, switch to Python build that invokes meson 2026-08-10 11:21:10 +02:00
Python Maint
35508c85c5 Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:16:19 +02:00
Fedora Release Engineering
cc9743f437 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:22:04 +00:00
Python Maint
cc283b39cf Rebuilt for Python 3.15 2026-06-03 22:49:51 +02:00
Simone Caronni
049d7e69f5 Update to R73 2026-02-18 09:45:39 +01:00
Fedora Release Engineering
c1fc16f567 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:47:15 +00:00
Simone Caronni
49d9c76a88 Update to version R72, reset library version according to packaging guidelines. 2025-10-26 18:38:28 +01:00
Fedora Release Engineering
0b86d4ae26 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:58:00 +00:00
Python Maint
5cffe93226 Rebuilt for Python 3.14 2025-06-02 22:55:37 +02:00
Simone Caronni
3af34ce8ae Tools require pyhton library (#2290426) 2025-04-26 09:06:10 +02:00
Simone Caronni
a037a96f31 Drop installing tox test requirements 2025-04-20 12:03:48 +02:00
Simone Caronni
dfae774360 Update to version R71 2025-04-20 11:53:07 +02:00
Simone Caronni
b4ea3fe31e Convert to %autorelease and %autochangelog
[skip changelog]
2025-04-20 11:49:18 +02:00
Simone Caronni
62b0585e08 Fix tests 2025-04-20 11:49:11 +02:00
Simone Caronni
18c6cabf1f Update changelog 2025-01-29 10:42:54 +01:00
Simone Caronni
cb5277e507 Fix python libraries build 2025-01-29 10:42:26 +01:00
Simone Caronni
40151ad653 Update to 70, clean up SPEC file 2025-01-29 10:02:44 +01:00
Fedora Release Engineering
cf34cf42fa Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:06:54 +00:00
Miroslav Suchý
2d52193d0e convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 22:37:15 +02:00
Fedora Release Engineering
adff72d708 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:34:32 +00:00
Python Maint
9b0c53c44d Rebuilt for Python 3.13 2024-06-07 09:51:41 +02:00
Simone Caronni
908cc71d3a Update to R68 2024-05-22 08:54:03 +02:00
Fedora Release Engineering
bbaa813951 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:30:04 +00:00
Simone Caronni
75add59a46 Update to R65 2023-11-02 09:30:32 +01:00
Simone Caronni
3a9788a381 Add comment to README.md 2023-11-02 09:22:05 +01:00
Fedora Release Engineering
d59332c771 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:25:29 +00:00
Python Maint
e4e1c44fc6 Rebuilt for Python 3.12 2023-07-01 11:45:44 +02:00
Simone Caronni
59cac9b8cb Update to R63 2023-06-30 08:47:59 +02:00
Python Maint
65d9274358 Rebuilt for Python 3.12 2023-06-13 21:38:46 +02:00
Fedora Release Engineering
0567d37b37 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:06:46 +00:00
Fedora Release Engineering
372eff27aa Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:41:29 +00:00
Python Maint
9f61fd63e5 Rebuilt for Python 3.11 2022-06-13 16:03:41 +02:00
Simone Caronni
94fc7f1e26 Update to R58 2022-05-25 15:11:23 +02:00
Sandro Mani
cff5b16a82 Rebuild for tesseract-5.1.0 2022-03-10 00:19:17 +01:00
Simone Caronni
398c322573 Update to 0.57, obsolete plugins 2022-03-02 11:15:35 +01:00
Fedora Release Engineering
06cb1fa1b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:48:00 +00:00
Sandro Mani
cf159cae5d Rebuild (tesseract) 2021-12-19 18:58:55 +01:00
Sandro Mani
0e9e174624 Rebuild (tesseract) 2021-12-14 14:31:30 +01:00
Fedora Release Engineering
1ce9e4d893 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:18:42 +00:00
Python Maint
1b1cffb050 Rebuilt for Python 3.10 2021-06-04 21:19:08 +02:00
Jonathan Wakely
417dd17531 Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-30 19:40:34 +01:00
Simone Caronni
cdbbdd5b25 Update sources 2021-03-23 15:31:00 +01:00
Simone Caronni
5cfca1ca8f Update to R51, allow building for other archs beside x86 2021-03-23 15:10:05 +01:00
Fedora Release Engineering
be02be5507 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:54:56 +00:00
Tom Stellard
1991e0f599 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:34:55 +00:00
Jeff Law
92baa573a3 Fix missing #includes for gcc-11 2020-10-17 11:22:29 -06:00
Fedora Release Engineering
32e61f72b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:33:21 +00:00
Miro Hrončok
2648d175fa Rebuilt for Python 3.9 2020-05-26 03:54:16 +02:00
Simone Caronni
cdc0af2309 Fix broken dependency 2020-03-07 09:18:01 +01:00
Simone Caronni
d9bfdd6610 Update changelog 2020-02-29 17:23:56 +01:00
Simone Caronni
b21b5be7ad Require python3 for building 2020-02-29 17:22:00 +01:00
Simone Caronni
2d74286a22 ExclusiveArch for i686 and x86_64 2020-02-29 17:08:42 +01:00
Simone Caronni
c5540be3d5 Add review patch from Artem 2020-02-29 16:57:11 +01:00
Simone Caronni
8f1ae30cbf First import 2020-02-29 16:55:42 +01:00
7 changed files with 183 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.tar.gz

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# vapoursynth
The vapoursynth package.

View file

@ -1 +0,0 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (vapoursynth-R79.tar.gz) = 8e28a9ff72e5f0c891deeffd0ac0d38a654519910b2227414b8750c74a6198a6811d2271bd447b085a86b82665d38a5fe4fceb55b7537a13d72b2c87deba86fd

View file

@ -0,0 +1,14 @@
--- vapoursynth-R79/src/core/float16_helper.h 2026-08-07 10:48:01.000000000 +0200
+++ vapoursynth-R79/src/core/float16_helper.h 2026-08-10 11:44:16.851849594 +0200
@@ -31,7 +31,10 @@
// Without hardware support the compiler emits __truncsfhf2 / __extendhfsf2
// soft-float builtins, which are not linked under clang-cl + lld-link -- so
// there we fall back to explicit bit manipulation instead.
-#if (defined(__clang__) || defined(__GNUC__)) && (defined(__F16C__) || (!defined(__x86_64__) && !defined(__i386__)))
+// Not every non-x86 target has the type at all: PowerPC has no _Float16, and
+// the compiler rejects it outright. __FLT16_MANT_DIG__ is predefined only
+// where _Float16 is actually available, so test for that as well.
+#if (defined(__clang__) || defined(__GNUC__)) && defined(__FLT16_MANT_DIG__) && (defined(__F16C__) || (!defined(__x86_64__) && !defined(__i386__)))
# define VS_HAVE_NATIVE_FLOAT16 1
#else
# define VS_HAVE_NATIVE_FLOAT16 0

View file

@ -0,0 +1,10 @@
--- vapoursynth-R79/meson.build 2026-08-07 10:48:01.000000000 +0200
+++ vapoursynth-R79/meson.build 2026-08-10 10:52:07.764950878 +0200
@@ -267,6 +267,7 @@ libvsscript = library('vsscript',
include_directories: incdir,
install: true,
install_dir: install_dir,
+ soversion: '0',
)
vsscript_dep = declare_dependency(

154
vapoursynth.spec Normal file
View file

@ -0,0 +1,154 @@
Name: vapoursynth
Version: 79
Release: %autorelease
Summary: Video processing framework with simplicity in mind
License: LGPL-2.1-only
URL: http://www.vapoursynth.com
Source0: https://github.com/%{name}/%{name}/archive/R%{version}/%{name}-R%{version}.tar.gz
# Restore soversion that was dropped when libvapoursynth-script was renamed to libvsscript.
Patch0: %{name}-vsscript-soversion.patch
# Check for _Float16 instead of assuming that everything not x86 provides it.
Patch1: %{name}-float16-native-check.patch
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: pkgconfig(zimg)
BuildRequires: python3-devel
BuildRequires: python3-pytest
# Since R79 upstream installs the whole runtime -- the core library, the filter
# plugins, vspipe, the headers and the pkg-config file -- inside the Python
# package directory, and VSCore locates libvapoursynthfilters and the
# third-party plugin directory relative to libvapoursynth.so via dladdr().
# The libraries, vspipe and the plugin directory therefore have to stay there;
# see %%install for the FHS entry points layered on top.
%global vsdir %{python3_sitearch}/%{name}
%description
VapourSynth is an application for video manipulation. Or a plugin. Or a library.
Its hard to tell because it has a core library written in C++ and a Python
module to allow video scripts to be created.
%package libs
Summary: VapourSynth's core library with a C++ API
Obsoletes: lib%{name} < %{version}-%{release}
Provides: lib%{name} == %{version}-%{release}
Obsoletes: %{name}-plugins < %{version}-%{release}
Provides: %{name}-plugins == %{version}-%{release}
%description libs
VapourSynth's core library with a C++ API.
%package -n python3-%{name}
Summary: Python interface for VapourSynth
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description -n python3-%{name}
Python interface for VapourSynth/VSSCript.
%package devel
Summary: Development files for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
Development files for %{name}.
%package tools
Summary: Extra tools for VapourSynth
Requires: python3-vapoursynth%{?_isa} = %{version}-%{release}
%description tools
This package contains the vspipe tool for interfacing with VapourSynth.
%prep
%autosetup -p1 -n %{name}-R%{version}
%generate_buildrequires
%pyproject_buildrequires -R
%build
# CPython 3.15 gained a platform specific stable ABI suffix
# (.abi3-x86_64-linux-gnu.so) which meson-python 0.20 does not recognise as
# abi3, so it refuses to build the wheel. Nothing is gained from the limited
# API in a distribution build against a single Python version, so turn it off.
%pyproject_wheel -C setup-args=-Dpython.allow_limited_api=false
%install
%pyproject_install
%pyproject_save_files -l %{name}
# Let RPM pick up docs in the files section.
rm -fr %{buildroot}%{_docdir}/%{name}
# Third-party plugins are auto-loaded from next to the core library.
mkdir -p %{buildroot}%{vsdir}/plugins
# Headers belong in the usual place.
mkdir -p %{buildroot}%{_includedir}/%{name}
mv %{buildroot}%{vsdir}/include/*.h %{buildroot}%{_includedir}/%{name}/
rmdir %{buildroot}%{vsdir}/include
# Upstream's vapoursynth.pc resolves everything relative to ${pcfiledir}, which
# no longer works once the file sits in %%{_libdir}/pkgconfig, and it ships no
# Libs: at all. Write it out instead.
rm -fr %{buildroot}%{vsdir}/pkgconfig
mkdir -p %{buildroot}%{_libdir}/pkgconfig
cat > %{buildroot}%{_libdir}/pkgconfig/%{name}.pc <<EOF
prefix=%{_prefix}
libdir=%{_libdir}
includedir=%{_includedir}/%{name}
Name: vapoursynth
Description: A frameserver for the 21st century
Version: %{version}
Cflags: -I\${includedir}
Libs: -L\${libdir} -lvapoursynth
EOF
# Make the libraries linkable and resolvable the normal way.
mkdir -p %{buildroot}%{_libdir}
for lib in $(cd %{buildroot}%{vsdir} && ls libvapoursynth.so.* libvsscript.so.*); do
ln -s %{vsdir}/${lib} %{buildroot}%{_libdir}/${lib}
ln -s ${lib} %{buildroot}%{_libdir}/${lib%%.so.*}.so
done
# The core library, its filter plugins and vspipe live inside the Python
# package directory but are packaged in the -libs and -tools subpackages.
sed -i -e '\#/%{name}/lib.*\.so#d' \
-e '\#/%{name}/vspipe$#d' \
-e '\#/%{name}/include#d' \
-e '\#/%{name}/pkgconfig#d' \
-e '\#^%%dir %{vsdir}$#d' \
%{pyproject_files}
%check
%pytest
%files libs
%doc ChangeLog
%license COPYING.LESSER
%dir %{vsdir}
%dir %{vsdir}/plugins
%{vsdir}/lib%{name}.so.*
%{vsdir}/lib%{name}filters*.so
%{vsdir}/libvsscript.so.*
%{_libdir}/lib%{name}.so.*
%{_libdir}/libvsscript.so.*
%files devel
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/libvsscript.so
%{_libdir}/pkgconfig/%{name}.pc
%files tools
%{_bindir}/%{name}
%{_bindir}/vspipe
%{vsdir}/vspipe
%files -n python3-%{name} -f %{pyproject_files}
%changelog
%autochangelog