From 82c396583e508216715423b1a4727109c43ca9dc Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Thu, 26 Dec 2024 13:42:31 +0300 Subject: [PATCH] 6.1.0-alt1 - Initial build --- .gear/rules | 7 ++++ .gear/tags/list | 7 ++++ .gear/upstream/remotes | 21 ++++++++++++ moonlight-qt.spec | 74 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 .gear/rules create mode 100644 .gear/tags/list create mode 100644 .gear/upstream/remotes create mode 100644 moonlight-qt.spec diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 00000000..dee22400 --- /dev/null +++ b/.gear/rules @@ -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 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 00000000..6dbb6efc --- /dev/null +++ b/.gear/tags/list @@ -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 diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes new file mode 100644 index 00000000..27cebf07 --- /dev/null +++ b/.gear/upstream/remotes @@ -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/* \ No newline at end of file diff --git a/moonlight-qt.spec b/moonlight-qt.spec new file mode 100644 index 00000000..ef162a6f --- /dev/null +++ b/moonlight-qt.spec @@ -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 6.1.0-alt1 +- Initial build +