chore(build): added Debian
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -8,6 +8,37 @@ env:
|
|||||||
PACKAGE: "portprotonqt"
|
PACKAGE: "portprotonqt"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build-deb:
|
||||||
|
name: Build Debian Package
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y build-essential git python3-dev python3-pip python3-build \
|
||||||
|
python3-installer python3-wheel debhelper dh-python \
|
||||||
|
devscripts python3-all bash-completion pybuild-plugin-pyproject python3-setuptools
|
||||||
|
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: https://gitea.com/actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
|
|
||||||
|
- name: Build Debian package
|
||||||
|
run: |
|
||||||
|
# Copy the debian directory to the root for proper packaging
|
||||||
|
cp -r build-aux/debian .
|
||||||
|
|
||||||
|
# Build the package
|
||||||
|
dpkg-buildpackage -us -uc -b
|
||||||
|
|
||||||
|
mv ../*.deb .
|
||||||
|
|
||||||
|
- name: Upload Debian package
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: PortProtonQt-Debian
|
||||||
|
path: "*.deb"
|
||||||
|
|
||||||
build-appimage:
|
build-appimage:
|
||||||
name: Build AppImage
|
name: Build AppImage
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
@@ -147,9 +147,38 @@ jobs:
|
|||||||
name: PortProtonQt-RPM-Fedora-${{ matrix.fedora_version }}
|
name: PortProtonQt-RPM-Fedora-${{ matrix.fedora_version }}
|
||||||
path: /home/rpmbuild/RPMS/**/*.rpm
|
path: /home/rpmbuild/RPMS/**/*.rpm
|
||||||
|
|
||||||
|
build-deb:
|
||||||
|
name: Build Debian Package
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y build-essential git python3-dev python3-pip python3-build \
|
||||||
|
python3-installer python3-wheel debhelper dh-python \
|
||||||
|
devscripts python3-all bash-completion pybuild-plugin-pyproject python3-setuptools
|
||||||
|
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build Debian package
|
||||||
|
run: |
|
||||||
|
# Copy the debian directory to the root for proper packaging
|
||||||
|
cp -r build-aux/debian .
|
||||||
|
|
||||||
|
# Build the package
|
||||||
|
dpkg-buildpackage -us -uc -b
|
||||||
|
|
||||||
|
- name: Upload Debian package
|
||||||
|
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: PortProtonQt-Debian
|
||||||
|
path: "*.deb"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Create and Publish Release
|
name: Create and Publish Release
|
||||||
needs: [build-appimage, build-arch, build-fedora]
|
needs: [build-appimage, build-arch, build-fedora, build-deb]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
- uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ source .venv/bin/activate
|
|||||||
|
|
||||||
### Установка (release)
|
### Установка (release)
|
||||||
|
|
||||||
Выберите подходящий пакет для вашей системы или AppImage.
|
Выберите подходящий пакет для вашей системы (deb, rpm, arch) или AppImage.
|
||||||
|
|
||||||
Запуск производится по команде portprotonqt или по ярлыку в меню
|
Запуск производится по команде portprotonqt или по ярлыку в меню
|
||||||
|
|
||||||
|
|||||||
5
build-aux/debian/changelog
Normal file
5
build-aux/debian/changelog
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
portprotonqt (0.1.9-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release for Debian packaging
|
||||||
|
|
||||||
|
-- Boris Yumankulov <boria138@altlinux.org> Wed, 03 Dec 2025 12:00:00 +0000
|
||||||
46
build-aux/debian/control
Normal file
46
build-aux/debian/control
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
Source: portprotonqt
|
||||||
|
Section: python
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Boris Yumankulov <boria138@altlinux.org>
|
||||||
|
Build-Depends: debhelper-compat (= 13),
|
||||||
|
dh-python,
|
||||||
|
python3-all,
|
||||||
|
pybuild-plugin-pyproject,
|
||||||
|
python3-setuptools,
|
||||||
|
python3-build,
|
||||||
|
python3-installer
|
||||||
|
Standards-Version: 4.6.0
|
||||||
|
Homepage: https://git.linux-gaming.ru/Boria138/PortProtonQt
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
X-Python3-Version: >= 3.10
|
||||||
|
|
||||||
|
Package: portprotonqt
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${python3:Depends}, ${misc:Depends},
|
||||||
|
python3-babel,
|
||||||
|
python3-beautifulsoup4,
|
||||||
|
python3-evdev,
|
||||||
|
python3-icoextract,
|
||||||
|
python3-numpy,
|
||||||
|
python3-orjson,
|
||||||
|
python3-pillow,
|
||||||
|
python3-psutil,
|
||||||
|
python3-pyside6,
|
||||||
|
python3-pyudev,
|
||||||
|
python3-rapidfuzz,
|
||||||
|
python3-requests,
|
||||||
|
python3-tqdm,
|
||||||
|
python3-vdf,
|
||||||
|
python3-websocket-client,
|
||||||
|
perl-image-exiftool,
|
||||||
|
xdg-utils,
|
||||||
|
cabextract,
|
||||||
|
curl,
|
||||||
|
gzip,
|
||||||
|
unzip,
|
||||||
|
unrar
|
||||||
|
Description: Modern GUI for managing and launching games from 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.
|
||||||
24
build-aux/debian/copyright
Normal file
24
build-aux/debian/copyright
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: PortProtonQt
|
||||||
|
Source: https://git.linux-gaming.ru/Boria138/PortProtonQt
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2023-2025 Boria138, BlackSnaker, Mikhail Tergoev(Castro-Fidel)
|
||||||
|
License: GPL-3.0+
|
||||||
|
|
||||||
|
License: GPL-3.0+
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
.
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GPL-3.0+ license
|
||||||
|
can be found in /usr/share/common-licenses/GPL-3.
|
||||||
17
build-aux/debian/rules
Executable file
17
build-aux/debian/rules
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export PYBUILD_NAME=portprotonqt
|
||||||
|
export PYBUILD_SYSTEM=pyproject
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with python3 --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
dh_auto_build --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install --buildsystem=pybuild
|
||||||
|
install -d debian/portprotonqt/usr/share
|
||||||
|
install -d debian/portprotonqt/usr/lib
|
||||||
|
cp -r build-aux/share/* debian/portprotonqt/usr/share/
|
||||||
|
cp -r build-aux/lib/* debian/portprotonqt/usr/lib/
|
||||||
1
build-aux/debian/source/format
Normal file
1
build-aux/debian/source/format
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
6
build-aux/debian/source/options
Normal file
6
build-aux/debian/source/options
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
compression = "gzip"
|
||||||
|
tar-ignore = "dev-scripts"
|
||||||
|
tar-ignore = ".*"
|
||||||
|
tar-ignore = "__pycache__"
|
||||||
|
tar-ignore = "build-aux"
|
||||||
|
tar-ignore = "data"
|
||||||
Reference in New Issue
Block a user