From 3e493571528b6791d93b60cda7fac5d4f2204684 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Sat, 7 Jun 2025 19:02:24 +0500 Subject: [PATCH] feat(build): add appstream metainfo files Signed-off-by: Boris Yumankulov --- README.md | 3 +- build-aux/fedora-git.spec | 6 +- build-aux/fedora.spec | 6 +- .../ru.linux_gaming.PortProtonQt.metainfo.xml | 61 +++++++++++++++++++ 4 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 build-aux/share/metainfo/ru.linux_gaming.PortProtonQt.metainfo.xml diff --git a/README.md b/README.md index 87e3dcb..598d136 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## В планах - [X] Адаптировать структуру проекта для поддержки инструментов сборки -- [ ] Добавить возможность управление с геймпада +- [X] Добавить возможность управление с геймпада - [ ] Добавить возможность управление с тачскрина - [X] Добавить возможность управление с мыши и клавиатуры - [X] Добавить систему тем [Документация](documentation/theme_guide) @@ -16,6 +16,7 @@ - [ ] Продумать систему вкладок вместо той что есть сейчас - [ ] Добавить Gamescope сессию на подобие той что есть в SteamOS - [ ] Написать адаптивный дизайн (За эталон берём SteamDeck с разрешением 1280х800) +- [ ] Переделать скриншоты для соответсвия [гайдлайнам Flathub](https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/quality-guidelines#screenshots) - [X] Брать описание и названия игр с базы данных Steam - [X] Брать обложки для игр со SteamGridDB или CDN Steam - [X] Оптимизировать работу со SteamApi что бы ускорить время запуска diff --git a/build-aux/fedora-git.spec b/build-aux/fedora-git.spec index 3eace5a..feb0d77 100644 --- a/build-aux/fedora-git.spec +++ b/build-aux/fedora-git.spec @@ -45,7 +45,7 @@ Requires: perl-Image-ExifTool Requires: xdg-utils %description -n python3-%{pypi_name}-git -PortProtonQt is a modern, user-friendly graphical interface designed to streamline the management and launching of games across multiple platforms, including PortProton, Steam, and Epic Games Store. +This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup. %prep git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git @@ -62,6 +62,8 @@ cp -r build-aux/share %{buildroot}/usr/ %files -n python3-%{pypi_name}-git -f %{pyproject_files} %{_bindir}/%{pypi_name} -%{_datadir}/* +%{_datadir}/icons/hicolor/scalable/apps/ru.linux_gaming.PortProtonQt.svg +%{_metainfodir}/ru.linux_gaming.PortProtonQt.metainfo.xml +%{_datadir}/applications/ru.linux_gaming.PortProtonQt.desktop %changelog diff --git a/build-aux/fedora.spec b/build-aux/fedora.spec index 24c5f1c..ba26d25 100644 --- a/build-aux/fedora.spec +++ b/build-aux/fedora.spec @@ -42,7 +42,7 @@ Requires: perl-Image-ExifTool Requires: xdg-utils %description -n python3-%{pypi_name} -PortProtonQt is a modern, user-friendly graphical interface designed to streamline the management and launching of games across multiple platforms, including PortProton, Steam, and Epic Games Store. +This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup. %prep git clone https://git.linux-gaming.ru/Boria138/PortProtonQt @@ -61,6 +61,8 @@ cp -r build-aux/share %{buildroot}/usr/ %files -n python3-%{pypi_name} -f %{pyproject_files} %{_bindir}/%{pypi_name} -%{_datadir}/* +%{_datadir}/icons/hicolor/scalable/apps/ru.linux_gaming.PortProtonQt.svg +%{_metainfodir}/ru.linux_gaming.PortProtonQt.metainfo.xml +%{_datadir}/applications/ru.linux_gaming.PortProtonQt.desktop %changelog diff --git a/build-aux/share/metainfo/ru.linux_gaming.PortProtonQt.metainfo.xml b/build-aux/share/metainfo/ru.linux_gaming.PortProtonQt.metainfo.xml new file mode 100644 index 0000000..42af19e --- /dev/null +++ b/build-aux/share/metainfo/ru.linux_gaming.PortProtonQt.metainfo.xml @@ -0,0 +1,61 @@ + + + PortProtonQt + ru.linux_gaming.PortProtonQt + CC0-1.0 + GPL-3.0-or-later + Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store + Современный графический интерфейс для управления и запуска игр из PortProton, Steam и Epic Games Store + +

This application provides a sleek, intuitive graphical interface for managing and launching games from PortProton, Steam, and Epic Games Store. It consolidates your game libraries into a single, user-friendly hub for seamless navigation and organization. Its lightweight structure and cross-platform support deliver a cohesive gaming experience, eliminating the need for multiple launchers. Unique PortProton integration enhances Linux gaming, enabling effortless play of Windows-based titles with minimal setup.

+
+ ru.linux_gaming.PortProtonQt.desktop + + Boria138 + + + keyboard + pointing + touch + gamepad + + + #007AFF + #09BEC8 + + + Game + Utility + + https://git.linux-gaming.ru/Boria138/PortProtonQt + https://git.linux-gaming.ru/Boria138/PortProtonQt/issues + + + https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/portprotonqt/themes/standart/images/screenshots/%D0%91%D0%B8%D0%B1%D0%BB%D0%B8%D0%BE%D1%82%D0%B5%D0%BA%D0%B0.png + Library + Библиотека + + + https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/portprotonqt/themes/standart/images/screenshots/%D0%9A%D0%B0%D1%80%D1%82%D0%BE%D1%87%D0%BA%D0%B0.png + Card detail page + Детали игры + + + https://git.linux-gaming.ru/Boria138/PortProtonQt/src/commit/9c4ad0b7bacac08849aff9036561de7b88a9bad2/portprotonqt/themes/standart/images/screenshots/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B8.png + Settings + Настройки + + + + wine + proton + steam + windows + epic games store + egs + qt + portproton + games + + +