File d2vwitch.spec of Package d2vwitch

#
# spec file for package d2vwitch
#
# 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:           d2vwitch
Version:        5+5.gf002376
Release:        0
Summary:        D2V creator
License:        ISC AND LGPL-2.1-only
URL:            https://github.com/dubhater/D2VWitch
Source0:        D2VWitch-%{version}.tar.zst
Patch0:         ffmpeg-7.patch
BuildRequires:  c++_compiler
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(libavcodec)
BuildRequires:  pkgconfig(libavformat)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(vapoursynth)
Requires:       vapoursynth-plugin-d2vsource
BuildSystem:    meson

%description
D2V Witch indexes various video streams and writes D2V files.
These can be used with the VapourSynth plugin d2vsource.

Supported container formats:

MPEG elementary streams
MPEG program streams (aka DVD)
MPEG transport streams (aka Blu-ray and TV captures)
PVA streams.
Supported video codecs:

MPEG 1
MPEG 2

The executable is both a console application and a graphical one.
The graphical interface is shown if the command line parameters
passed are all recognised by Qt, or if there are no command line
parameters.

%files
%doc readme.rst changes.rst
%{_bindir}/d2vwitch

%changelog
openSUSE Build Service is sponsored by