File vapoursynth-plugin-nlm-ispc.spec of Package vapoursynth-plugin-nlm-ispc

#
# spec file for package vapoursynth-plugin-nlm-ispc
#
# 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-nlm-ispc
Version:        2+3.g9580d1a
Release:        0
Summary:        CPU-based implementation of the NLMeans denoising algorithm
License:        GPL-3.0-only
URL:            https://github.com/AmusementClub/vs-nlm-ispc
Source0:        vapoursynth-nlm-ispc-%{version}.tar.zst
BuildRequires:  c++_compiler
BuildRequires:  libboost_filesystem-devel
BuildRequires:  ispc cmake
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(vapoursynth)
BuildSystem:    cmake
BuildOption:    -D CMAKE_ISPC_INSTRUCTION_SETS="sse2-i32x4;avx1-i32x4;avx2-i32x8"
BuildOption:    -D CMAKE_ISPC_FLAGS="--opt=fast-math"

%description
Nlm-ispc is a CPU-based implementation of the NLMeans denoising
algorithm.

%files
%doc README.md
%license LICENSE
%{_libdir}/vapoursynth

%changelog
openSUSE Build Service is sponsored by