2024-05-04 02:46:04 +02:00
|
|
|
id: com.quexten.Goldwarden
|
|
|
|
runtime: org.gnome.Platform
|
|
|
|
runtime-version: '45'
|
|
|
|
sdk: org.gnome.Sdk
|
|
|
|
command: goldwarden_ui_main.py
|
|
|
|
finish-args:
|
|
|
|
# Allow network access for sync
|
|
|
|
- --share=network
|
|
|
|
|
|
|
|
# GUI
|
|
|
|
- --share=ipc
|
|
|
|
- --socket=wayland
|
|
|
|
- --socket=fallback-x11
|
|
|
|
- --device=dri
|
|
|
|
|
|
|
|
# Lock on screensave
|
|
|
|
- --talk-name=org.gnome.ScreenSaver
|
|
|
|
- --talk-name=org.freedesktop.ScreenSaver
|
|
|
|
|
|
|
|
# Lock on idle
|
|
|
|
- --talk-name=org.gnome.Mutter.IdleMonitor
|
|
|
|
|
|
|
|
# pinentry & approval
|
|
|
|
- --talk-name=org.gnome.keyring.SystemPrompter
|
|
|
|
# biometric / user password auth
|
|
|
|
- --system-talk-name=org.freedesktop.PolicyKit1
|
|
|
|
modules:
|
|
|
|
- name: "blueprint-compiler"
|
|
|
|
buildsystem: meson
|
|
|
|
cleanup: ['*']
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.gnome.org/jwestman/blueprint-compiler
|
|
|
|
tag: v0.12.0
|
2024-05-04 02:52:17 +02:00
|
|
|
- ../gui/python3-requirements.json
|
2024-05-04 02:46:04 +02:00
|
|
|
- name: goldwarden-python-ui
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- mkdir -p /app/bin
|
2024-05-04 03:21:01 +02:00
|
|
|
- cp -R ./* /app/bin
|
2024-05-04 02:46:04 +02:00
|
|
|
- chmod +x /app/bin/goldwarden_ui_main.py
|
2024-05-04 03:29:09 +02: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
|
|
|
|
- install -Dm644 ./com.quexten.Goldwarden.metainfo.xml -t /app/share/metainfo/
|
2024-05-04 02:46:04 +02:00
|
|
|
- blueprint-compiler batch-compile /app/bin/src/gui/.templates/ /app/bin/src/gui/ /app/bin/src/gui/*.blp
|
|
|
|
sources:
|
|
|
|
- type: dir
|
2024-05-04 02:52:17 +02:00
|
|
|
path: ../gui/
|
2024-05-04 02:46:04 +02:00
|
|
|
- name: goldwarden-core-daemon
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- install -D goldwarden /app/bin/goldwarden
|
|
|
|
sources:
|
|
|
|
- type: file
|
2024-05-04 03:13:37 +02:00
|
|
|
path: ../goldwarden
|