2023-12-23 08:33:07 +01:00
|
|
|
id: com.quexten.Goldwarden
|
|
|
|
runtime: org.gnome.Platform
|
|
|
|
runtime-version: '45'
|
|
|
|
sdk: org.gnome.Sdk
|
2024-02-09 15:47:20 +01:00
|
|
|
command: goldwarden_ui_main.py
|
2023-12-23 08:33:07 +01:00
|
|
|
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
|
|
|
|
|
2024-02-09 22:51:37 +01:00
|
|
|
# Lock on idle
|
|
|
|
- --talk-name=org.gnome.Mutter.IdleMonitor
|
|
|
|
|
2023-12-26 20:49:47 +01:00
|
|
|
# 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:
|
2024-05-03 22:16:48 +02:00
|
|
|
- name: "blueprint-compiler"
|
|
|
|
buildsystem: meson
|
|
|
|
cleanup: ['*']
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.gnome.org/jwestman/blueprint-compiler
|
|
|
|
tag: v0.12.0
|
2024-02-09 15:47:20 +01:00
|
|
|
- ./gui/python3-requirements.json
|
2023-12-27 21:25:26 +01:00
|
|
|
- name: goldwarden-python-ui
|
2023-12-23 08:33:07 +01:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2024-02-17 13:43:40 +01:00
|
|
|
- mkdir -p /app/bin
|
2024-02-09 15:47:20 +01:00
|
|
|
- cp -R ./gui/* /app/bin
|
|
|
|
- chmod +x /app/bin/goldwarden_ui_main.py
|
|
|
|
- install -D ./gui/com.quexten.Goldwarden.desktop /app/share/applications/com.quexten.Goldwarden.desktop
|
|
|
|
- install -D ./gui/goldwarden.svg /app/share/icons/hicolor/scalable/apps/com.quexten.Goldwarden.svg
|
|
|
|
- install -Dm644 ./gui/com.quexten.Goldwarden.metainfo.xml -t /app/share/metainfo/
|
2024-05-03 22:16:48 +02:00
|
|
|
- blueprint-compiler batch-compile /app/bin/src/gui/.templates/ /app/bin/src/gui/ /app/bin/src/gui/*.blp
|
2023-12-23 08:33:07 +01:00
|
|
|
sources:
|
2023-12-30 01:35:36 +01:00
|
|
|
- type: dir
|
|
|
|
path: ./
|
2023-12-27 21:25:26 +01:00
|
|
|
- name: goldwarden-core-daemon
|
2023-12-26 22:58:24 +01:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2024-02-09 22:51:37 +01:00
|
|
|
- install -D goldwarden /app/bin/goldwarden
|
2023-12-26 22:58:24 +01:00
|
|
|
sources:
|
|
|
|
- type: file
|
2024-01-19 05:14:47 +01:00
|
|
|
path: ./goldwarden
|