File orion.spec of Package orion

# spec file for package orion
# 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

Name:           orion
Version:        1.6.7+git~20200218
Release:        0
Summary:        Twitch stream client using Qt
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Video/Players
Source:         %{name}-%{version}.tar.xz
Patch0:         0001-Add-a-local-qthelper.hpp-copy.patch
BuildRequires:  gcc
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core) >= 5.6
BuildRequires:  pkgconfig(Qt5DBus) >= 5.6
BuildRequires:  pkgconfig(Qt5OpenGL) >= 5.6
BuildRequires:  pkgconfig(Qt5Quick) >= 5.6
BuildRequires:  pkgconfig(Qt5QuickControls2) >= 5.6
BuildRequires:  pkgconfig(Qt5Svg) >= 5.6
BuildRequires:  pkgconfig(mpv)
#Required for working gui
Requires:       libqt5-qtgraphicaleffects
Requires:       libqt5-qtquickcontrols
Requires:       libqt5-qtquickcontrols2
Recommends:     gstreamer-plugins-libav

QML/C++-written desktop client for

%setup -q
%patch0 -p1

#enforce package versioning in GUI
sed -i 's|v$$VERSION|v%{version}-%{release}|g'



%license COPYING LICENSE.txt
%attr(755,root,root) %{_bindir}/%{name}
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps

openSUSE Build Service is sponsored by