1 |
Name: orion |
2 |
Version: 1.6.6 |
3 |
Release: %mkrel 1 |
4 |
Summary: Seek and watch streams on Twitch |
5 |
Group: Video/Players |
6 |
License: GPLv3+ |
7 |
URL: https://github.com/alamminsalo/orion |
8 |
Source0: https://github.com/alamminsalo/orion/archive/%{version}/%{name}-%{version}.tar.gz |
9 |
Patch0: orion-1.6.6-fdr-Add-AppStream-data-file.patch |
10 |
Patch1: orion-1.6.6-fdr-Use-of-a-custom-prefix-for-installation.patch |
11 |
BuildRequires: pkgconfig(Qt5QuickControls2) |
12 |
BuildRequires: pkgconfig(Qt5Svg) |
13 |
BuildRequires: pkgconfig(Qt5WebEngine) |
14 |
BuildRequires: pkgconfig(Qt5Multimedia) |
15 |
BuildRequires: pkgconfig(appstream-glib) |
16 |
BuildRequires: desktop-file-utils |
17 |
Requires: hicolor-icon-theme |
18 |
Requires: qtquickcontrols5 |
19 |
|
20 |
%description |
21 |
A desktop client for Twitch.tv. |
22 |
|
23 |
|
24 |
%prep |
25 |
%autosetup -p1 -n %{name}-%{version} |
26 |
|
27 |
%build |
28 |
mkdir build |
29 |
cd build |
30 |
%{qmake_qt5} ../ "CONFIG+=multimedia" |
31 |
%make_build |
32 |
|
33 |
%install |
34 |
cd build |
35 |
%make_install INSTALL_ROOT=%{buildroot} |
36 |
|
37 |
%check |
38 |
desktop-file-validate %{buildroot}%{_datadir}/applications/Orion.desktop |
39 |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/Orion.appdata.xml |
40 |
|
41 |
%files |
42 |
%{_bindir}/orion |
43 |
%{_datadir}/metainfo/Orion.appdata.xml |
44 |
%{_datadir}/applications/Orion.desktop |
45 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg |
46 |
%license COPYING LICENSE.txt |
47 |
|