File moonlight-qt.spec of Package moonlight-qt-qt6
#
# spec file for package moonlight-qt
#
# Copyright (c) 2023
#
# 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 http://bugs.opensuse.org/
#
Name: moonlight-qt
Version: 1690354740.841aecc
Release: 0
Summary: open source PC client for NVIDIA GameStream
License: GPL-3.0-or-later
URL: https://github.com/moonlight-stream/moonlight-qt
Source: %{name}-%{version}.tar.xz
BuildRequires: qt6-base-devel
BuildRequires: qt6-base-common-devel
BuildRequires: pkgconfig(libavcodec) >= 60.31.102
BuildRequires: pkgconfig(libavdevice) >= 60.3.100
BuildRequires: pkgconfig(libavfilter) >= 9.12.100
BuildRequires: pkgconfig(libavformat) >= 60.16.100
BuildRequires: pkgconfig(libavutil) >= 58.29.100
BuildRequires: qt6-quickcontrols2-devel
BuildRequires: qt6-quickcontrols2-private-devel
BuildRequires: update-desktop-files
BuildRequires: qt6-wayland-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(SDL2_ttf)
BuildRequires: pkgconfig(Qt6Platform)
BuildRequires: pkgconfig(Qt6Core)
BuildRequires: pkgconfig(Qt6Svg)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(alsa)
%description
Moonlight PC is an open source PC client for NVIDIA GameStream, as used by the NVIDIA Shield.
%prep
%autosetup -p1
%build
%qmake6 PREFIX=/usr
%make_build release
%install
%qmake6_install
%suse_update_desktop_file -n -r com.moonlight_stream.Moonlight Game Amusement
%files
%license LICENSE
%doc README.md
%{_bindir}/moonlight
%{_datadir}/applications/
%{_datadir}/icons/hicolor
%{_datadir}/icons/hicolor/scalable/apps/
%{_datadir}/metainfo/
%changelog