File bestsource.spec of Package bestsource
#
# spec file for package bestsource
#
# 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: bestsource
Version: 14+1.g4d868f9
Release: 0
Summary: Audio/video source and FFmpeg wrapper for VapourSynth
License: MIT
URL: https://github.com/vapoursynth/bestsource
Source0: bestsource-%{version}.tar.zst
BuildRequires: c++_compiler
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libavcodec) >= 61.19.0
BuildRequires: pkgconfig(libavformat) >= 61.7.0
BuildRequires: pkgconfig(libavutil) >= 59.39.0
BuildRequires: pkgconfig(libxxhash)
BuildRequires: pkgconfig(vapoursynth)
BuildSystem: meson
%description
BestSource (abbreviated as BS) is a wrapper library around FFmpeg
that ensures always sample and frame accurate access to audio and
video with good seeking performance for everything except some lossy
audio formats.
It can be used as either a C++ library directly or through the
combined VapourSynth and Avisynth+ plugin that's included.
%package devel
Summary: Development files for BestSource
%description devel
BestSource (abbreviated as BS) is a wrapper library around FFmpeg
that ensures always sample and frame accurate access to audio and
video with good seeking performance for everything except some lossy
audio formats.
It can be used as either a C++ library directly or through the
combined VapourSynth and Avisynth+ plugin that's included.
This package contains the C++ library and associated headers.
%package -n vapoursynth-plugin-bestsource
Summary: BestSource VapourSynth plugin
%description -n vapoursynth-plugin-bestsource
BestSource (abbreviated as BS) is a wrapper library around FFmpeg
that ensures always sample and frame accurate access to audio and
video with good seeking performance for everything except some lossy
audio formats.
It can be used as either a C++ library directly or through the
combined VapourSynth and Avisynth+ plugin that's included.
This package contains the VapourSynth plugin.
%files devel
%license LICENSE
%doc README.md
%{_libdir}/libbestsource.so
%{_libdir}/pkgconfig/bestsource.pc
%{_includedir}/bestsource
%files -n vapoursynth-plugin-bestsource
%license LICENSE
%doc README.md
%{_libdir}/vapoursynth
%changelog