File vapoursynth-plugin-vszip.spec of Package vapoursynth-plugin-vszip
#
# spec file for package vapoursynth-plugin-vszip
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%ifarch x86_64
%define _zig_cpu x86_64_v3
%endif
%define _zig_advanced_options --global-cache-dir vendor
%define _zig_project_options -Dtarget=%{_zig_target} -Dcpu=%{_zig_cpu} -Doptimize=ReleaseFast
Name: vapoursynth-plugin-vszip
Version: 10+1.g89b2da2
Release: 0
Summary: VapourSynth Zig Image Process
License: MIT
URL: https://github.com/dnjulek/vapoursynth-zip
Source0: vapoursynth-zip-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: zig-rpm-macros zig
BuildRequires: pkgconfig
BuildRequires: pkgconfig(vapoursynth)
%description
VapourSynth plugin providing the following filters:
* AdaptiveBinarize: based on OpenCV's Adaptive Thresholding.
* Bilateral: A faster version of VapourSynth-Bilateral.
* BoxBlur: A faster version of std.BoxBlur.
* Checkmate: Spatial and temporal dot crawl reducer from AviSynth.
* CLAHE: Contrast Limited Adaptive Histogram Equalization from OpenCV.
* ColorMap: A port of the OpenCV ColorMap.
* CombMask: Port of CombMask from AviSynth.
* CombMaskMT: Port of MTCombMask from AviSynth.
* ImageRead: Load image using Zig Image library.
* Limiter: A faster version of core.std.Limiter.
* LimitFilter: Performs a soft-limiting between two clips to limit
the difference of filtering while avoiding artifacts.
* PackRGB: Planar to interleaved RGB filter.
* PlaneAverage: Vapoursynth PlaneStats with threshold.
* PlaneMinMax: Vapoursynth PlaneStats with threshold.
* RFS: Replace frames plugin.
* SSIMULACRA2: Image metric SSIMULACRA2.
* XPSNR: Image metric XPSNR.
%prep
%autosetup -p1 -a1 -n vapoursynth-zip-%{version}
%build
%zig_build
%install
%zig_install --prefix-lib-dir %{_libdir}/vapoursynth
%files
%license LICENSE
%doc README.md
%{_libdir}/vapoursynth
%changelog