File olive.spec of Package olive

#
# spec file for package olive
#
# Copyright (c) 2020 SUSE LLC
#
# 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:           olive
Version:        0.1.2
Release:        0
Summary:        A non-linear video editor
License:        GPL-3.0
URL:            https://olivevideoeditor.org/
Source:         %{name}-%{version}.tar.xz
#
BuildRequires:  Mesa-devel
BuildRequires:  cmake
BuildRequires:  hicolor-icon-theme
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  cmake(Qt5)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Concurrent)
BuildRequires:  cmake(Qt5LinguistTools)
BuildRequires:  cmake(Qt5Multimedia)
BuildRequires:  cmake(Qt5OpenGL)
BuildRequires:  cmake(Qt5Svg)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  OpenImageIO
BuildRequires:  OpenImageIO-devel
BuildRequires:  pkgconfig(OpenColorIO)
BuildRequires:  pkgconfig(OpenEXR)
BuildRequires:  pkgconfig(frei0r)
BuildRequires:  pkgconfig(libavcodec)
BuildRequires:  pkgconfig(libavfilter)
BuildRequires:  pkgconfig(libavformat)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(libswresample)
BuildRequires:  pkgconfig(libswscale)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  pkgconfig(portaudio-2.0)
#
Requires:       OpenImageIO

%description
Olive is a free non-linear video editor aiming to provide a fully-featured
alternative to high-end professional video editing software.

%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license LICENSE
%doc README.md
%{_bindir}/olive-editor
%{_datadir}/applications/org.olivevideoeditor.Olive.desktop
%{_datadir}/icons/hicolor/*/apps/org.olivevideoeditor.Olive.png
%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.olive-project.png
%{_datadir}/metainfo/org.olivevideoeditor.Olive.appdata.xml
%{_datadir}/mime/packages/org.olivevideoeditor.Olive.xml

%changelog
openSUSE Build Service is sponsored by