6.1.0-alt1

- Initial build
This commit is contained in:
Maxim Slipenko 2024-12-26 13:42:31 +03:00
parent 7a2d048cfa
commit 82c396583e
4 changed files with 109 additions and 0 deletions

7
.gear/rules Normal file
View File

@ -0,0 +1,7 @@
tar: v@version@:.
tar: h264bitstream:. name=h264bitstream
tar: moonlight-common-c:. name=moonlight-common-c
tar: qmdnsengine:. name=qmdnsengine
tar: libsoundio:. name=libsoundio
tar: SDL_GameControllerDB:. name=SDL_GameControllerDB
tar: moonlight-common-c-enet:. name=moonlight-common-c-enet

7
.gear/tags/list Normal file
View File

@ -0,0 +1,7 @@
f786e94c7b2f943e24e65d7d74deb539b827fc84 v6.1.0
34f3c58afa3c47b6cf0a49308a68cbf89c5e0bff h264bitstream
8599b6042a4ba27749b0f94134dd614b4328a9bc moonlight-common-c
b7a5a9f225d5e14b39f9fd1f905c4f505cf2ee99 qmdnsengine
34bbab80bd4034ba5080921b6ba6d61314126310 libsoundio
e5a5fa2ac6e645d72c619ea99520a3a4586ee005 SDL_GameControllerDB
bbf71856bb144729af4ed08af6bc2f5826a96db5 moonlight-common-c-enet

21
.gear/upstream/remotes Normal file
View File

@ -0,0 +1,21 @@
[remote "upstream"]
url = https://github.com/moonlight-stream/moonlight-qt.git
fetch = +refs/heads/*:refs/remotes/upstream/*
[remote "upstream-qmdnsengine"]
url = https://github.com/cgutman/qmdnsengine.git
fetch = +refs/heads/*:refs/remotes/upstream-qmdnsengine/*
[remote "upstream-h264bitstream"]
url = https://github.com/aizvorski/h264bitstream.git
fetch = +refs/heads/*:refs/remotes/upstream-h264bitstream/*
[remote "upstream-moonlight-common-c"]
url = https://github.com/moonlight-stream/moonlight-common-c.git
fetch = +refs/heads/*:refs/remotes/upstream-moonlight-common-c/*
[remote "upstream-SDL_GameControllerDB"]
url = https://github.com/gabomdq/SDL_GameControllerDB.git
fetch = +refs/heads/*:refs/remotes/upstream-SDL_GameControllerDB/*
[remote "upstream-libsoundio"]
url = https://github.com/cgutman/libsoundio.git
fetch = +refs/heads/*:refs/remotes/upstream-libsoundio/*
[remote "upstream-moonlight-common-c-enet"]
url = https://github.com/cgutman/enet
fetch = +refs/heads/*:refs/remotes/upstream-moonlight-common-c-enet/*

74
moonlight-qt.spec Normal file
View File

@ -0,0 +1,74 @@
Name: moonlight-qt
Version: 6.1.0
Release: alt1
Summary: GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
License: GPL-3.0
Group: Other
Url: https://moonlight-stream.org/
Source0: %name-%version.tar
Source100: moonlight-common-c.tar
Source101: h264bitstream.tar
Source102: qmdnsengine.tar
Source103: libsoundio.tar
Source104: SDL_GameControllerDB.tar
Source105: moonlight-common-c-enet.tar
BuildRequires(pre): rpm-macros-qt6
BuildRequires: qt6-tools
BuildRequires: qt6-base-devel qt6-declarative-devel qt6-svg-devel
BuildRequires: libSDL2_ttf-devel
BuildRequires: libopus-devel
BuildRequires: ffmpeg
BuildRequires: libEGL-devel
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: libswscale-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libavcodec-devel
Requires: libqt6-qmlworkerscript
Requires: libqt6-quickcontrols2material
Requires: libqt6-quickcontrols2basic
Requires: libqt6-quicklayouts
%description
%summary
%prep
%setup
mkdir -p moonlight-common-c/moonlight-common-c
mkdir -p h264bitstream/h264bitstream
mkdir -p qmdnsengine/qmdnsengine
mkdir -p soundio/libsoundio
mkdir -p app/SDL_GameControllerDB
tar -xf %SOURCE100 -C moonlight-common-c/moonlight-common-c --strip-components 1
tar -xf %SOURCE101 -C h264bitstream/h264bitstream --strip-components 1
tar -xf %SOURCE102 -C qmdnsengine/qmdnsengine --strip-components 1
tar -xf %SOURCE103 -C soundio/libsoundio --strip-components 1
tar -xf %SOURCE104 -C app/SDL_GameControllerDB --strip-components 1
mkdir -p moonlight-common-c/moonlight-common-c/enet
tar -xf %SOURCE105 -C moonlight-common-c/moonlight-common-c/enet --strip-components 1
%build
%qmake_qt6 moonlight-qt.pro PREFIX=%prefix
%make_build
%install
%makeinstall INSTALL_ROOT=%buildroot
%files
%doc *.md
%_bindir/*
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*
%_datadir/metainfo/*
%changelog
* Tue Dec 24 2024 Maxim Slipenko <maks1ms@altlinux.org> 6.1.0-alt1
- Initial build