Compare commits

..

No commits in common. "854781728220ec81224632792bfa119efaef8860" and "2a5ce6c36f08f85b3fe5dd262eea46802b740e71" have entirely different histories.

10 changed files with 47 additions and 31 deletions

View File

@ -116,7 +116,7 @@ jobs:
- name: Build - name: Build
run: | run: |
cd /__w/portproton-repo cd /__w/portproton-repo
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git git clone https://github.com/Boria138/PortProtonQt.git
cd /__w/portproton-repo/PortProtonQt/build-aux cd /__w/portproton-repo/PortProtonQt/build-aux
chown user -R .. chown user -R ..
su user -c "yes '' | makepkg --noconfirm -s -p PKGBUILD-git" su user -c "yes '' | makepkg --noconfirm -s -p PKGBUILD-git"

View File

@ -73,7 +73,7 @@ jobs:
- name: Build - name: Build
run: | run: |
cd /__w/portproton-repo cd /__w/portproton-repo
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git git clone https://github.com/Boria138/PortProtonQt.git
cd /__w/portproton-repo/PortProtonQt/build-aux cd /__w/portproton-repo/PortProtonQt/build-aux
chown user -R .. chown user -R ..
su user -c "yes '' | makepkg --noconfirm -s" su user -c "yes '' | makepkg --noconfirm -s"

View File

@ -1,7 +1,7 @@
<div align="center"> <div align="center">
<img src="https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/data_from_portwine/img/gui/portproton.svg" width="64"> <img src="https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/data_from_portwine/img/gui/portproton.svg" width="64">
<h1 align="center">PortProtonQt</h1> <h1 align="center">PortProtonQt</h1>
<p align="center">Современный, удобный графический интерфейс, написанный с использованием PySide6(Qt6) и предназначенный для упрощения управления и запуска игр на различных платформах, включая PortProton, Steam и Epic Games Store.</p> <p align="center">Проект нацеленный на переписывание PortProton(PortWINE) на PySide</p>
</div> </div>
## В планах ## В планах
@ -28,7 +28,7 @@
- [X] Добавить в поиск экранную клавиатуру (Реализовавывать собственную клавиатуру слишком затратно, лучше положится на встроенную в DE клавиатуру malit в KDE, gjs-osk в GNOME,Squeekboard в phosh, стимовская в SteamOS и так далее) - [X] Добавить в поиск экранную клавиатуру (Реализовавывать собственную клавиатуру слишком затратно, лучше положится на встроенную в DE клавиатуру malit в KDE, gjs-osk в GNOME,Squeekboard в phosh, стимовская в SteamOS и так далее)
- [X] Добавить сортировку карточек по различным критериям (сейчас есть: недавние, кол-во наиграного времени, избранное или по алфавиту) - [X] Добавить сортировку карточек по различным критериям (сейчас есть: недавние, кол-во наиграного времени, избранное или по алфавиту)
- [X] Добавить индикацию запуска приложения - [X] Добавить индикацию запуска приложения
- [X] Достичь паритета функционала с Ingame - [X] Достичь паритета функционала с Ingame (кроме поддержки нативных игр)
- [ ] Достичь паритета функционала с PortProton - [ ] Достичь паритета функционала с PortProton
- [X] Добавить возможность изменения названия, описания и обложки через файлы .local/share/PortProtonQT/custom_data/exe_name/{desc,name,cover} - [X] Добавить возможность изменения названия, описания и обложки через файлы .local/share/PortProtonQT/custom_data/exe_name/{desc,name,cover}
- [X] Добавить встроенное переопределение имени, описания и обложки, например по пути portprotonqt/custom_data [Документация](documentation/metadata_override/) - [X] Добавить встроенное переопределение имени, описания и обложки, например по пути portprotonqt/custom_data [Документация](documentation/metadata_override/)
@ -57,7 +57,6 @@
- [X] Убрать жёсткую привязку путей на стрелочки QComboBox в styles.py - [X] Убрать жёсткую привязку путей на стрелочки QComboBox в styles.py
- [X] Исправить частичное применение тем на лету - [X] Исправить частичное применение тем на лету
- [X] Исправить наложение подписей скриншотов при первом перелистывание в полноэкранном режиме - [X] Исправить наложение подписей скриншотов при первом перелистывание в полноэкранном режиме
- [ ] Добавить GOG (?)
### Установка (debug) ### Установка (debug)
@ -92,6 +91,15 @@ pre-commit run --all-files
* [BlackSnaker](https://github.com/BlackSnaker) - Дизайнер - программист * [BlackSnaker](https://github.com/BlackSnaker) - Дизайнер - программист
* [Mikhail Tergoev(Castro-Fidel)](https://github.com/Castro-Fidel) - Автор оригинального проекта PortProton * [Mikhail Tergoev(Castro-Fidel)](https://github.com/Castro-Fidel) - Автор оригинального проекта PortProton
## Помощники (Контрибьюторы)
Спасибо всем, кто помогает в развитии проекта:
<a href="https://github.com/Boria138/PortProtonQt/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Boria138/PortProtonQt" />
</a>
> [!WARNING] > [!WARNING]
> Проект находится на стадии WIP (work in progress) корректная работоспособность не гарантирована > Проект находится на стадии WIP (work in progress) корректная работоспособность не гарантирована

View File

@ -1,14 +1,14 @@
pkgname=portprotonqt pkgname=portprotonqt
pkgver=0.1.1 pkgver=0.1.1
pkgrel=1 pkgrel=1
pkgdesc="Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store" pkgdesc="A modern GUI for PortProton project."
arch=('any') arch=('any')
url="https://git.linux-gaming.ru/Boria138/PortProtonQt" url="https://github.com/Boria138/PortProtonQt"
license=('GPL-3.0') license=('MIT')
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson' depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils') 'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
makedepends=('python-'{'build','installer','setuptools','wheel'}) makedepends=('python-'{'build','installer','setuptools','wheel'})
source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt#tag=$pkgver") source=("git+https://github.com/Boria138/PortProtonQt.git#tag=$pkgver")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {

View File

@ -1,14 +1,14 @@
pkgname=portprotonqt-git pkgname=portprotonqt-git
pkgver=. pkgver=.
pkgrel=1 pkgrel=1
pkgdesc="Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store.(developerment build)" pkgdesc="A modern GUI for PortProton project.(developerment build)"
arch=('any') arch=('any')
url="https://git.linux-gaming.ru/Boria138/PortProtonQt" url="https://github.com/Boria138/PortProtonQt"
license=('GPL-3.0') license=('MIT')
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson' depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils') 'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
makedepends=('python-'{'build','installer','setuptools','wheel'}) makedepends=('python-'{'build','installer','setuptools','wheel'})
source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt.git") source=("git+https://github.com/Boria138/PortProtonQt")
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {

View File

@ -8,10 +8,10 @@
Name: python-%{pypi_name}-git Name: python-%{pypi_name}-git
Version: %{pypi_version} Version: %{pypi_version}
Release: %{rel_build} Release: %{rel_build}
Summary: Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store (development build) Summary: A modern GUI for PortProton project (devel build)
License: GPL-3.0 License: MIT
URL: https://git.linux-gaming.ru/Boria138/PortProtonQt URL: https://github.com/Boria138/PortProtonQt
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -45,10 +45,11 @@ Requires: perl-Image-ExifTool
Requires: xdg-utils Requires: xdg-utils
%description -n python3-%{pypi_name}-git %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. PortProtonQt is a modern graphical user interface for the PortProton project,
designed to simplify the management and launching of games using Wine and Proton.
%prep %prep
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git git clone https://github.com/Boria138/PortProtonQt
%build %build
cd %{oname} cd %{oname}

View File

@ -5,10 +5,10 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: %{pypi_version} Version: %{pypi_version}
Release: 1%{?dist} Release: 1%{?dist}
Summary: Modern GUI for managing and launching games from PortProton, Steam, and Epic Games Store Summary: A modern GUI for PortProton project
License: GPL-3.0 License: MIT
URL: https://git.linux-gaming.ru/Boria138/PortProtonQt URL: https://github.com/Boria138/PortProtonQt
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
@ -42,10 +42,11 @@ Requires: perl-Image-ExifTool
Requires: xdg-utils Requires: xdg-utils
%description -n python3-%{pypi_name} %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. PortProtonQt is a modern graphical user interface for the PortProton project,
designed to simplify the management and launching of games using Wine and Proton.
%prep %prep
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt git clone https://github.com/Boria138/PortProtonQt
cd %{oname} cd %{oname}
git checkout %{pypi_version} git checkout %{pypi_version}

View File

@ -12,6 +12,7 @@ ARCH_PKGBUILD = BASE_DIR / "build-aux" / "PKGBUILD"
FEDORA_SPEC = BASE_DIR / "build-aux" / "fedora.spec" FEDORA_SPEC = BASE_DIR / "build-aux" / "fedora.spec"
PYPROJECT = BASE_DIR / "pyproject.toml" PYPROJECT = BASE_DIR / "pyproject.toml"
APP_PY = BASE_DIR / "portprotonqt" / "app.py" APP_PY = BASE_DIR / "portprotonqt" / "app.py"
GITHUB_WORKFLOW = BASE_DIR / ".github" / "workflows" / "build.yml"
GITEA_WORKFLOW = BASE_DIR / ".gitea" / "workflows" / "build.yml" GITEA_WORKFLOW = BASE_DIR / ".gitea" / "workflows" / "build.yml"
def bump_appimage(path: Path, old: str, new: str) -> bool: def bump_appimage(path: Path, old: str, new: str) -> bool:
@ -86,7 +87,7 @@ def bump_app_py(path: Path, old: str, new: str) -> bool:
def bump_workflow(path: Path, old: str, new: str) -> bool: def bump_workflow(path: Path, old: str, new: str) -> bool:
""" """
Update VERSION in Gitea Actions workflow Update VERSION in GitHub or Gitea Actions workflow
""" """
if not path.exists(): if not path.exists():
return False return False
@ -111,6 +112,7 @@ def main():
(FEDORA_SPEC, bump_fedora), (FEDORA_SPEC, bump_fedora),
(PYPROJECT, bump_pyproject), (PYPROJECT, bump_pyproject),
(APP_PY, bump_app_py), (APP_PY, bump_app_py),
(GITHUB_WORKFLOW, bump_workflow),
(GITEA_WORKFLOW, bump_workflow) (GITEA_WORKFLOW, bump_workflow)
] ]

View File

@ -3,18 +3,20 @@ set -e
timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ") timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
AUTHOR_EMAIL='gitea-actions@users.noreply.gitea.com' AUTHOR_EMAIL=${INPUT_AUTHOR_EMAIL:-'gitea-actions@users.noreply.gitea.com'}
AUTHOR_NAME='Gitea Actions' AUTHOR_NAME=${INPUT_AUTHOR_NAME:-'Gitea Actions'}
MESSAGE="chore: update steam apps list ${timestamp}" MESSAGE=${INPUT_MESSAGE:-"chore: update steam apps list ${timestamp}"}
BRANCH=main BRANCH=main
echo "Push to branch $BRANCH" INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'}
echo "Push to branch $INPUT_BRANCH"
[ -z "${GITEA_TOKEN}" ] && { [ -z "${GITEA_TOKEN}" ] && {
echo 'Missing input "gitea_token: bcde86030adcb863b8ff96f994ecf248ced607e4".' echo 'Missing input "gitea_token: bcde86030adcb863b8ff96f994ecf248ced607e4".'
exit 1 exit 1
} }
cd "." cd "${INPUT_DIRECTORY}"
remote_repo="https://${GITEA_ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER}/${GITEA_REPOSITORY}.git" remote_repo="https://${GITEA_ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER}/${GITEA_REPOSITORY}.git"

View File

@ -311,7 +311,8 @@ def load_steam_apps_async(callback: Callable[[list], None]):
callback([]) callback([])
else: else:
app_list_url = ( app_list_url = (
"https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/games_appid.tar.xz" "https://raw.githubusercontent.com/Boria138/PortProtonQt/"
"refs/heads/main/data/games_appid.tar.xz"
) )
downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar)
@ -456,7 +457,8 @@ def load_weanticheatyet_data_async(callback: Callable[[list], None]):
callback([]) callback([])
else: else:
app_list_url = ( app_list_url = (
"https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/anticheat_games.tar.xz" "https://raw.githubusercontent.com/Boria138/PortProtonQt/"
"refs/heads/main/data/anticheat_games.tar.xz"
) )
downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar)