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
|
2023-12-27 03:31:33 +01:00
|
|
|
tag: v2.2.1
|
2023-12-27 21:25:26 +01:00
|
|
|
- name: goldwarden-python-ui
|
2023-12-23 08:33:07 +01:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2023-12-27 21:25:26 +01:00
|
|
|
- cp -R ./ui/* /app/bin
|
|
|
|
- chmod +x /app/bin/main.py
|
2023-12-27 03:50:39 +01: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-23 08:33:07 +01:00
|
|
|
sources:
|
2023-12-27 03:50:39 +01:00
|
|
|
- type: archive
|
|
|
|
url: https://github.com/quexten/goldwarden/archive/refs/tags/v0.2.1.tar.gz
|
|
|
|
sha256: 9dbac2eeb524ed9bc70c4019dac6e826fa179520d604135e36d826361b86e8b8
|
2023-12-27 21:25:26 +01:00
|
|
|
- name: goldwarden-flathub-metainfo
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- install -Dm644 ./com.quexten.Goldwarden.metainfo.xml -t /app/share/metainfo/
|
|
|
|
sources:
|
|
|
|
- type: file
|
|
|
|
url: https://raw.githubusercontent.com/quexten/goldwarden/b95ec60d781b5cc33b5bfb2e20e0dfe6630b6bd5/ui/com.quexten.Goldwarden.metainfo.xml
|
|
|
|
sha256: f1c7f0f3ceae938275a1e88f14d72b2a1f3a0b9b311c2ca4d4f2e7867f409d06
|
|
|
|
- name: goldwarden-core-daemon
|
2023-12-26 22:58:24 +01:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2023-12-27 03:50:39 +01:00
|
|
|
- install -D goldwarden_linux_x86_64 /app/bin/goldwarden
|
2023-12-26 22:58:24 +01:00
|
|
|
sources:
|
|
|
|
- type: file
|
2023-12-27 03:50:39 +01:00
|
|
|
url: https://github.com/quexten/goldwarden/releases/download/v0.2.1/goldwarden_linux_x86_64
|
2023-12-27 21:25:26 +01:00
|
|
|
sha256: 7ebc9684a0e8967ea1ad911269bb69e3918e4e508b4d57268a152b08f57b37aa
|