goldwarden-vaultwarden-bitw.../gui/com.quexten.Goldwarden.Deve...

110 lines
3.6 KiB
YAML
Raw Normal View History

2023-12-23 08:33:07 +01:00
id: com.quexten.Goldwarden
runtime: org.gnome.Platform
runtime-version: '45'
2024-05-04 02:33:40 +02:00
sdk: org.gnome.Sdk
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
- --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
2024-05-04 02:33:40 +02:00
build-options:
env:
- GOBIN=/app/bin/.buildtools/golang/bin/
- GOROOT=/app/bin/.buildtools/golang/
2023-12-23 08:33:07 +01:00
modules:
2024-05-04 01:06:24 +02:00
- name: golang
buildsystem: simple
sources:
- type: archive
only-arches:
- aarch64
url: https://go.dev/dl/go1.22.2.linux-arm64.tar.gz
sha256: 36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1
x-checker-data:
type: anitya
project-id: 1227
stable-only: true
url-template: https://go.dev/dl/go$version.linux-arm64.tar.gz
- type: archive
only-arches:
- x86_64
url: https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
sha256: 5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17
x-checker-data:
type: anitya
project-id: 1227
stable-only: true
url-template: https://go.dev/dl/go$version.linux-amd64.tar.gz
build-commands:
2024-05-04 02:33:40 +02:00
- mkdir -p /app/bin/.buildtools/golang/
- install -d /app/bin/.buildtools/golang/
- cp -rpv * /app/bin/.buildtools/golang/
- name: go-vendor
2024-05-04 01:06:24 +02:00
buildsystem: simple
build-commands:
2024-05-04 02:33:40 +02:00
- mkdir -p /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/vendor/
- cp -r ./* /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/vendor/
2024-05-04 01:06:24 +02:00
sources:
- type: dir
2024-05-04 02:33:40 +02:00
path: ../vendor/
- name: go-cli
buildsystem: simple
build-commands:
- mkdir -p /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/cli/
- cp -r ./* /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/cli/
sources:
- type: dir
path: ../cli/
- name: goldwarden-core-daemon
buildsystem: simple
build-commands:
- cp -r ./* /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/
- cd /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/ && /app/bin/.buildtools/golang/bin/go build -o goldwarden .
- cd /app/bin/.buildtools/golang/src/github.com/quexten/goldwarden/ && install -D goldwarden /app/bin/goldwarden
sources:
2024-05-04 01:06:24 +02:00
- type: file
path: ../main.go
- type: file
path: ../go.mod
- type: file
path: ../go.sum
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-05-04 01:06:24 +02:00
- ./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
- 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
2024-05-04 01:06:24 +02:00
path: ./../