64 lines
2.2 KiB
YAML
64 lines
2.2 KiB
YAML
id: com.quexten.Goldwarden
|
|
runtime: org.gnome.Platform
|
|
runtime-version: '45'
|
|
sdk: org.gnome.Sdk
|
|
command: 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
|
|
|
|
# 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
|
|
modules:
|
|
- ./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
|
|
tag: v2.2.1
|
|
- name: goldwarden-python-ui
|
|
buildsystem: simple
|
|
build-commands:
|
|
- cp -R ./ui/* /app/bin
|
|
- chmod +x /app/bin/main.py
|
|
- 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
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/quexten/goldwarden/archive/refs/tags/v0.2.2.tar.gz
|
|
sha256: 7c504639fe43d60544d4d98c4d5a62763b5167eeeb4c0bc7aec97e93ec2727e8
|
|
- 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
|
|
buildsystem: simple
|
|
build-commands:
|
|
- install -D goldwarden_linux_x86_64 /app/bin/goldwarden
|
|
sources:
|
|
- type: file
|
|
url: https://github.com/quexten/goldwarden/releases/download/v0.2.2/goldwarden_linux_x86_64
|
|
sha256: 7c6b9e059c534abaa177aa6ed9b5eb9a1a782919049ef9086ca0c00529305064
|