Private
Public Access
1
0

gtk: flatpak manifest

This commit is contained in:
2025-12-15 01:02:17 -08:00
parent 61c1b690ba
commit 6ccef24512
4 changed files with 52 additions and 0 deletions

2
gtk/.gitignore vendored
View File

@@ -1 +1,3 @@
build/ build/
flatpak-build/
.flatpak-builder/

View File

@@ -14,3 +14,10 @@ rpm:
deb: deb:
./dist/deb/build-deb.sh $(VER) ./dist/deb/build-deb.sh $(VER)
.PHONY: flatpak
flatpak:
flatpak-builder --force-clean flatpak-build flatpak/net.buzzert.kordophone.yml
.PHONY: flatpak-install
flatpak-install:
flatpak-builder --force-clean --user --install flatpak-build flatpak/net.buzzert.kordophone.yml

18
gtk/flatpak/README.md Normal file
View File

@@ -0,0 +1,18 @@
# Flatpak (GTK client)
This builds the GTK client as a Flatpak **assuming `kordophoned` is installed on the host**
and reachable on the **session bus** as `net.buzzert.kordophonecd`.
## Build
```bash
cd gtk
make flatpak
```
## Install (user)
```bash
cd gtk
make flatpak-install
```

View File

@@ -0,0 +1,25 @@
app-id: net.buzzert.kordophone
runtime: org.gnome.Platform
runtime-version: "48"
sdk: org.gnome.Sdk
command: kordophone
finish-args:
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --device=dri
# Talk to the host-installed daemon (option A).
- --socket=session-bus
- --talk-name=net.buzzert.kordophonecd
# libsecret (Secret Service) access for stored credentials.
- --talk-name=org.freedesktop.secrets
modules:
- name: kordophone
buildsystem: meson
config-opts:
- --prefix=/app
sources:
- type: dir
path: ..