File vapoursynth-plugin-znedi3.spec of Package vapoursynth-plugin-znedi3
#
# spec file for package vapoursynth-plugin-znedi3
#
# 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/
#
Name: vapoursynth-plugin-znedi3
Version: 2.1+29.g47e7698
Release: 0
Summary: NNEDI3 filter for VapourSynth
License: GPL-2.0-or-later
URL: https://github.com/sekrit-twc/znedi3
Source0: vapoursynth-znedi3-%{version}.tar.zst
BuildRequires: c++_compiler
BuildRequires: pkgconfig
Conflicts: vapoursynth-plugin-nnedi3
%description
Field matching and decimation filters (inverse telecine).
Port of tritical's AviSynth plugins.
%prep
%autosetup -n vapoursynth-znedi3-%{version}
%build
%ifarch x86_64
%make_build X86=1
%else
%make_build
%endif
%install
install -Dm755 vsznedi3.so %{buildroot}%{_libdir}/vapoursynth/vsznedi3.so
install -Dm644 nnedi3_weights.bin %{buildroot}%{_libdir}/vapoursynth/nnedi3_weights.bin
%files
%doc readme.rst AUTHORS.txt
%license gpl2.txt
%{_libdir}/vapoursynth
%changelog