forked from Boria138/PortProtonQt
		
	chore: replace github to git.linux-gaming.ru
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
		| @@ -116,7 +116,7 @@ jobs: | ||||
|       - name: Build | ||||
|         run: | | ||||
|           cd /__w/portproton-repo | ||||
|           git clone https://github.com/Boria138/PortProtonQt.git | ||||
|           git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git | ||||
|           cd /__w/portproton-repo/PortProtonQt/build-aux | ||||
|           chown user -R .. | ||||
|           su user -c "yes '' | makepkg --noconfirm -s -p PKGBUILD-git" | ||||
|   | ||||
| @@ -73,7 +73,7 @@ jobs: | ||||
|       - name: Build | ||||
|         run: | | ||||
|           cd /__w/portproton-repo | ||||
|           git clone https://github.com/Boria138/PortProtonQt.git | ||||
|           git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git | ||||
|           cd /__w/portproton-repo/PortProtonQt/build-aux | ||||
|           chown user -R .. | ||||
|           su user -c "yes '' | makepkg --noconfirm -s" | ||||
|   | ||||
| @@ -3,12 +3,12 @@ pkgver=0.1.1 | ||||
| pkgrel=1 | ||||
| pkgdesc="A modern GUI for PortProton project." | ||||
| arch=('any') | ||||
| url="https://github.com/Boria138/PortProtonQt" | ||||
| license=('MIT') | ||||
| url="https://git.linux-gaming.ru/Boria138/PortProtonQt" | ||||
| license=('GPL-3.0') | ||||
| 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') | ||||
| makedepends=('python-'{'build','installer','setuptools','wheel'}) | ||||
| source=("git+https://github.com/Boria138/PortProtonQt.git#tag=$pkgver") | ||||
| source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt#tag=$pkgver") | ||||
| sha256sums=('SKIP') | ||||
|  | ||||
| build() { | ||||
|   | ||||
| @@ -3,12 +3,12 @@ pkgver=. | ||||
| pkgrel=1 | ||||
| pkgdesc="A modern GUI for PortProton project.(developerment build)" | ||||
| arch=('any') | ||||
| url="https://github.com/Boria138/PortProtonQt" | ||||
| license=('MIT') | ||||
| url="https://git.linux-gaming.ru/Boria138/PortProtonQt" | ||||
| license=('GPL-3.0') | ||||
| 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') | ||||
| makedepends=('python-'{'build','installer','setuptools','wheel'}) | ||||
| source=("git+https://github.com/Boria138/PortProtonQt") | ||||
| source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt.git") | ||||
| sha256sums=('SKIP') | ||||
|  | ||||
| pkgver() { | ||||
|   | ||||
| @@ -10,8 +10,8 @@ Version:        %{pypi_version} | ||||
| Release:        %{rel_build} | ||||
| Summary:        A modern GUI for PortProton project (devel build) | ||||
|  | ||||
| License:        MIT | ||||
| URL:            https://github.com/Boria138/PortProtonQt | ||||
| License:        GPL-3.0 | ||||
| URL:            https://git.linux-gaming.ru/Boria138/PortProtonQt | ||||
| BuildArch:      noarch | ||||
|  | ||||
| BuildRequires:  python3-devel | ||||
| @@ -49,7 +49,7 @@ 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 | ||||
| git clone https://github.com/Boria138/PortProtonQt | ||||
| git clone https://git.linux-gaming.ru/Boria138/PortProtonQt.git | ||||
|  | ||||
| %build | ||||
| cd %{oname} | ||||
|   | ||||
| @@ -7,8 +7,8 @@ Version:        %{pypi_version} | ||||
| Release:        1%{?dist} | ||||
| Summary:        A modern GUI for PortProton project | ||||
|  | ||||
| License:        MIT | ||||
| URL:            https://github.com/Boria138/PortProtonQt | ||||
| License:        GPL-3.0 | ||||
| URL:            https://git.linux-gaming.ru/Boria138/PortProtonQt | ||||
| BuildArch:      noarch | ||||
|  | ||||
| BuildRequires:  python3-devel | ||||
| @@ -46,7 +46,7 @@ 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 | ||||
| git clone https://github.com/Boria138/PortProtonQt | ||||
| git clone https://git.linux-gaming.ru/Boria138/PortProtonQt | ||||
| cd %{oname} | ||||
| git checkout %{pypi_version} | ||||
|  | ||||
|   | ||||
| @@ -12,7 +12,6 @@ ARCH_PKGBUILD = BASE_DIR / "build-aux" / "PKGBUILD" | ||||
| FEDORA_SPEC = BASE_DIR / "build-aux" / "fedora.spec" | ||||
| PYPROJECT = BASE_DIR / "pyproject.toml" | ||||
| APP_PY = BASE_DIR / "portprotonqt" / "app.py" | ||||
| GITHUB_WORKFLOW = BASE_DIR / ".github" / "workflows" / "build.yml" | ||||
| GITEA_WORKFLOW = BASE_DIR / ".gitea" / "workflows" / "build.yml" | ||||
|  | ||||
| def bump_appimage(path: Path, old: str, new: str) -> bool: | ||||
| @@ -87,7 +86,7 @@ def bump_app_py(path: Path, old: str, new: str) -> bool: | ||||
|  | ||||
| def bump_workflow(path: Path, old: str, new: str) -> bool: | ||||
|     """ | ||||
|     Update VERSION in GitHub or Gitea Actions workflow | ||||
|     Update VERSION in Gitea Actions workflow | ||||
|     """ | ||||
|     if not path.exists(): | ||||
|         return False | ||||
| @@ -112,7 +111,6 @@ def main(): | ||||
|         (FEDORA_SPEC, bump_fedora), | ||||
|         (PYPROJECT, bump_pyproject), | ||||
|         (APP_PY, bump_app_py), | ||||
|         (GITHUB_WORKFLOW, bump_workflow), | ||||
|         (GITEA_WORKFLOW, bump_workflow) | ||||
|     ] | ||||
|  | ||||
|   | ||||
| @@ -3,20 +3,18 @@ set -e | ||||
|  | ||||
| timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | ||||
|  | ||||
| AUTHOR_EMAIL=${INPUT_AUTHOR_EMAIL:-'gitea-actions@users.noreply.gitea.com'} | ||||
| AUTHOR_NAME=${INPUT_AUTHOR_NAME:-'Gitea Actions'} | ||||
| MESSAGE=${INPUT_MESSAGE:-"chore: update steam apps list ${timestamp}"} | ||||
| AUTHOR_EMAIL='gitea-actions@users.noreply.gitea.com' | ||||
| AUTHOR_NAME='Gitea Actions' | ||||
| MESSAGE="chore: update steam apps list ${timestamp}" | ||||
| BRANCH=main | ||||
|  | ||||
| INPUT_DIRECTORY=${INPUT_DIRECTORY:-'.'} | ||||
|  | ||||
| echo "Push to branch $INPUT_BRANCH" | ||||
| echo "Push to branch $BRANCH" | ||||
| [ -z "${GITEA_TOKEN}" ] && { | ||||
|     echo 'Missing input "gitea_token: bcde86030adcb863b8ff96f994ecf248ced607e4".' | ||||
|     exit 1 | ||||
| } | ||||
|  | ||||
| cd "${INPUT_DIRECTORY}" | ||||
| cd "." | ||||
|  | ||||
| remote_repo="https://${GITEA_ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER}/${GITEA_REPOSITORY}.git" | ||||
|  | ||||
|   | ||||
| @@ -311,8 +311,7 @@ def load_steam_apps_async(callback: Callable[[list], None]): | ||||
|             callback([]) | ||||
|     else: | ||||
|         app_list_url = ( | ||||
|             "https://raw.githubusercontent.com/Boria138/PortProtonQt/" | ||||
|             "refs/heads/main/data/games_appid.tar.xz" | ||||
|             "https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/games_appid.tar.xz" | ||||
|         ) | ||||
|         downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) | ||||
|  | ||||
| @@ -457,8 +456,7 @@ def load_weanticheatyet_data_async(callback: Callable[[list], None]): | ||||
|             callback([]) | ||||
|     else: | ||||
|         app_list_url = ( | ||||
|             "https://raw.githubusercontent.com/Boria138/PortProtonQt/" | ||||
|             "refs/heads/main/data/anticheat_games.tar.xz" | ||||
|             "https://git.linux-gaming.ru/Boria138/PortProtonQt/raw/branch/main/data/anticheat_games.tar.xz" | ||||
|         ) | ||||
|         downloader.download_async(app_list_url, cache_tar, timeout=5, callback=process_tar) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user