packages(flatpak): add flatpakrepo file generation

This commit is contained in:
2026-07-05 22:22:50 +03:00
parent 701bdebc88
commit c2f4658871
3 changed files with 17 additions and 2 deletions
+15
View File
@@ -155,6 +155,21 @@ jobs:
# Update summary and sign the repository # Update summary and sign the repository
flatpak build-update-repo --generate-static-deltas --gpg-sign=${{ steps.gpg.outputs.fingerprint }} pages-repo flatpak build-update-repo --generate-static-deltas --gpg-sign=${{ steps.gpg.outputs.fingerprint }} pages-repo
# Export GPG public key for manual import
gpg --export ${{ steps.gpg.outputs.fingerprint }} > pages-repo/pwsp.gpg
# Generate a .flatpakrepo file for easy installation
GPG_BASE64=$(gpg --export ${{ steps.gpg.outputs.fingerprint }} | base64 -w 0)
cat <<EOF > pages-repo/pwsp.flatpakrepo
[Flatpak Repo]
Title=PipeWire Soundpad
Url=https://arabianq.github.io/pipewire-soundpad/
Homepage=https://github.com/arabianq/pipewire-soundpad
Comment=PipeWire Soundpad Flatpak Repository
Description=Official repository for PWSP
GPGKey=\${GPG_BASE64}
EOF
- name: Deploy Flatpak Repo to GitHub Pages - name: Deploy Flatpak Repo to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
+1 -1
View File
@@ -33,7 +33,7 @@ Add our official OSTree repository and install the application:
```bash ```bash
# Add the repository # Add the repository
flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/ flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/pwsp.flatpakrepo
# Install the Stable version # Install the Stable version
flatpak install arabianq-repo ru.arabianq.pwsp//stable flatpak install arabianq-repo ru.arabianq.pwsp//stable
+1 -1
View File
@@ -33,7 +33,7 @@
```bash ```bash
# Добавьте репозиторий # Добавьте репозиторий
flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/ flatpak remote-add --if-not-exists arabianq-repo https://arabianq.github.io/pipewire-soundpad/pwsp.flatpakrepo
# Установите стабильную (Stable) версию # Установите стабильную (Stable) версию
flatpak install arabianq-repo ru.arabianq.pwsp//stable flatpak install arabianq-repo ru.arabianq.pwsp//stable