2023-12-23 10:33:07 +03:00
|
|
|
id: com.quexten.Goldwarden
|
|
|
|
runtime: org.gnome.Platform
|
|
|
|
runtime-version: '45'
|
|
|
|
sdk: org.gnome.Sdk
|
|
|
|
command: main.py
|
|
|
|
finish-args:
|
2023-12-26 22:49:47 +03:00
|
|
|
# Allow network access for sync
|
2023-12-23 10:33:07 +03:00
|
|
|
- --share=network
|
2023-12-26 22:49:47 +03:00
|
|
|
|
|
|
|
# GUI
|
|
|
|
- --share=ipc
|
2023-12-23 10:33:07 +03:00
|
|
|
- --socket=wayland
|
|
|
|
- --socket=fallback-x11
|
2023-12-23 15:24:46 +03:00
|
|
|
- --device=dri
|
2023-12-26 22:49:47 +03:00
|
|
|
|
|
|
|
# Lock on screensave
|
|
|
|
- --talk-name=org.gnome.ScreenSaver
|
|
|
|
- --talk-name=org.freedesktop.ScreenSaver
|
|
|
|
|
2023-12-28 16:15:16 +03:00
|
|
|
# Notifications
|
|
|
|
- --talk-name=org.freedesktop.Notifications
|
|
|
|
|
|
|
|
# Home directory access to setup browser ipc, can posibly restrict this further if requried by listing each browser's nativehost directory separately
|
2023-12-26 22:49:47 +03:00
|
|
|
- --filesystem=home
|
2023-12-28 16:15:16 +03:00
|
|
|
|
2023-12-26 22:49:47 +03:00
|
|
|
# pinentry & approval
|
|
|
|
- --talk-name=org.gnome.keyring.SystemPrompter
|
|
|
|
# biometric / user password auth
|
|
|
|
- --system-talk-name=org.freedesktop.PolicyKit1
|
2023-12-23 10:33:07 +03:00
|
|
|
modules:
|
2023-12-27 00:58:24 +03: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
|
2023-12-27 05:31:33 +03:00
|
|
|
tag: v2.2.1
|
2023-12-27 23:25:26 +03:00
|
|
|
- name: goldwarden-python-ui
|
2023-12-23 10:33:07 +03:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2023-12-27 23:25:26 +03:00
|
|
|
- cp -R ./ui/* /app/bin
|
|
|
|
- chmod +x /app/bin/main.py
|
2023-12-27 05:50:39 +03:00
|
|
|
- install -D ./ui/com.quexten.Goldwarden.desktop /app/share/applications/com.quexten.Goldwarden.desktop
|
|
|
|
- install -D ./ui/goldwarden.svg /app/share/icons/hicolor/scalable/apps/com.quexten.Goldwarden.svg
|
2023-12-28 15:56:46 +03:00
|
|
|
- install -Dm644 ./ui/com.quexten.Goldwarden.metainfo.xml -t /app/share/metainfo/
|
2023-12-23 10:33:07 +03:00
|
|
|
sources:
|
2023-12-27 05:50:39 +03:00
|
|
|
- type: archive
|
2023-12-28 15:56:46 +03:00
|
|
|
url: https://github.com/quexten/goldwarden/archive/refs/tags/v0.2.3.tar.gz
|
2023-12-28 16:11:58 +03:00
|
|
|
sha256: cec00e4990ab002bd78cb7578ade3af5a75fb04172e31d23ad2a0cd8baee8e98
|
2023-12-27 23:25:26 +03:00
|
|
|
- name: goldwarden-core-daemon
|
2023-12-27 00:58:24 +03:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2023-12-27 05:50:39 +03:00
|
|
|
- install -D goldwarden_linux_x86_64 /app/bin/goldwarden
|
2023-12-27 00:58:24 +03:00
|
|
|
sources:
|
|
|
|
- type: file
|
2023-12-28 15:56:46 +03:00
|
|
|
url: https://github.com/quexten/goldwarden/releases/download/v0.2.3/goldwarden_linux_x86_64
|
2023-12-28 16:11:58 +03:00
|
|
|
sha256: a8069c8cf90805bca4ebc1ef5562f834109e1f0b0e781f0ce4f375074a8130e9
|