2023-12-23 08:33:07 +01:00
|
|
|
id: com.quexten.Goldwarden
|
|
|
|
runtime: org.gnome.Platform
|
|
|
|
runtime-version: '45'
|
|
|
|
sdk: org.gnome.Sdk
|
|
|
|
command: main.py
|
|
|
|
finish-args:
|
2023-12-26 20:49:47 +01:00
|
|
|
# Allow network access for sync
|
2023-12-23 08:33:07 +01:00
|
|
|
- --share=network
|
2023-12-26 20:49:47 +01:00
|
|
|
|
|
|
|
# GUI
|
|
|
|
- --share=ipc
|
2023-12-23 08:33:07 +01:00
|
|
|
- --socket=wayland
|
|
|
|
- --socket=fallback-x11
|
2023-12-23 13:24:46 +01:00
|
|
|
- --device=dri
|
2023-12-26 20:49:47 +01:00
|
|
|
|
|
|
|
# Lock on screensave
|
|
|
|
- --talk-name=org.gnome.ScreenSaver
|
|
|
|
- --talk-name=org.freedesktop.ScreenSaver
|
|
|
|
|
|
|
|
# Home directory access to setup browser ipc
|
|
|
|
- --filesystem=home
|
|
|
|
# pinentry & approval
|
|
|
|
- --talk-name=org.gnome.keyring.SystemPrompter
|
|
|
|
# biometric / user password auth
|
|
|
|
- --system-talk-name=org.freedesktop.PolicyKit1
|
2023-12-23 08:33:07 +01:00
|
|
|
modules:
|
2023-12-26 22:58:24 +01:00
|
|
|
- ./ui/python3-requirements.json
|
|
|
|
- name: wl-clipboard
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- meson setup build && cd build && ninja
|
|
|
|
- install -D build/src/wl-copy /app/bin/wl-copy
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://github.com/bugaevc/wl-clipboard.git
|
|
|
|
- name: goldwarden-ui
|
2023-12-23 08:33:07 +01:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- install -D main.py /app/bin/main.py
|
2023-12-26 22:58:24 +01:00
|
|
|
- cp -R ./ /app/bin
|
2023-12-23 08:33:07 +01:00
|
|
|
- install -D com.quexten.Goldwarden.desktop /app/share/applications/com.quexten.Goldwarden.desktop
|
|
|
|
- install -D goldwarden.svg /app/share/icons/hicolor/scalable/apps/com.quexten.Goldwarden.svg
|
|
|
|
sources:
|
|
|
|
- type: dir
|
2023-12-26 22:58:24 +01:00
|
|
|
path: ui
|
|
|
|
- name: goldwarden
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- install -D goldwarden /app/bin/goldwarden
|
|
|
|
sources:
|
|
|
|
- type: file
|
|
|
|
path: goldwarden
|