2019-05-04 08:53:49 +00:00
|
|
|
app-id: com.borgbase.vorta
|
|
|
|
|
|
|
|
runtime: org.kde.Platform
|
|
|
|
runtime-version: '5.12'
|
|
|
|
sdk: org.kde.Sdk
|
|
|
|
|
|
|
|
command: vorta
|
|
|
|
|
|
|
|
finish-args:
|
|
|
|
# X11/Wayland
|
|
|
|
- --socket=x11
|
|
|
|
- --share=ipc
|
|
|
|
- --socket=wayland
|
|
|
|
- --device=dri
|
|
|
|
# Sync
|
|
|
|
- --share=network
|
|
|
|
# Filesystem access
|
|
|
|
- --filesystem=home
|
|
|
|
- --filesystem=/run/media
|
2019-05-10 06:47:12 +00:00
|
|
|
- --filesystem=/media
|
2019-05-04 08:53:49 +00:00
|
|
|
# dconf access
|
|
|
|
- --filesystem=xdg-run/dconf
|
|
|
|
- --filesystem=~/.config/dconf:ro
|
|
|
|
- --talk-name=ca.desrt.dconf
|
|
|
|
- --env=DCONF_USER_CONFIG_DIR=.config/dconf
|
|
|
|
# without it, no tray icon is displayed
|
|
|
|
- --own-name=org.kde.*
|
|
|
|
# without it mounting does not work
|
|
|
|
- --own-name=org.freedesktop.*
|
|
|
|
# allow access to keyring
|
|
|
|
- --talk-name=org.freedesktop.secrets
|
|
|
|
|
|
|
|
build-options:
|
|
|
|
env:
|
|
|
|
MOUNT_FUSE_PATH: ../tmp/
|
|
|
|
|
|
|
|
modules:
|
|
|
|
- python3-pyqt5.json
|
|
|
|
- python3-setuptools_scm.json
|
|
|
|
- python3-appdirs.json
|
|
|
|
- python3-apscheduler.json
|
|
|
|
- python3-paramiko.json
|
|
|
|
- python3-peewee.json
|
|
|
|
- python3-psutil.json
|
|
|
|
- python3-python-dateutil.json
|
|
|
|
- python3-qdarkstyle.json
|
|
|
|
- python3-secretstorage.json
|
|
|
|
- python3-setuptools.json
|
|
|
|
- python3-setuptools_git.json
|
|
|
|
- python3-pytest-runner.json
|
|
|
|
- openssl.json
|
|
|
|
- python3-borgbackup.json
|
|
|
|
- python3-pytest.json
|
|
|
|
- libfuse.json
|
|
|
|
- python3-llfuse.json
|
|
|
|
|
|
|
|
|
|
|
|
- name: vorta
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- pip3 install --prefix=/app --no-deps .
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/metainfo/
|
|
|
|
- cp src/vorta/assets/metadata/com.borgbase.vorta.appdata.xml /app/share/metainfo/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/512x512/apps/
|
|
|
|
- cp src/vorta/assets/icons/512x512/com.borgbase.vorta.png /app/share/icons/hicolor/512x512/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/256x256/apps/
|
|
|
|
- cp src/vorta/assets/icons/256x256/com.borgbase.vorta.png /app/share/icons/hicolor/256x256/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/128x128/apps/
|
|
|
|
- cp src/vorta/assets/icons/128x128/com.borgbase.vorta.png /app/share/icons/hicolor/128x128/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/64x64/apps/
|
|
|
|
- cp src/vorta/assets/icons/64x64/com.borgbase.vorta.png /app/share/icons/hicolor/64x64/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/48x48/apps/
|
|
|
|
- cp src/vorta/assets/icons/48x48/com.borgbase.vorta.png /app/share/icons/hicolor/48x48/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/32x32/apps/
|
|
|
|
- cp src/vorta/assets/icons/32x32/com.borgbase.vorta.png /app/share/icons/hicolor/32x32/apps/
|
|
|
|
- mkdir -p /app/share/icons/hicolor/24x24/apps/
|
|
|
|
- cp src/vorta/assets/icons/24x24/com.borgbase.vorta.png /app/share/icons/hicolor/24x24/apps/
|
|
|
|
- mkdir -p /app/share/applications/
|
|
|
|
- cp src/vorta/assets/metadata/com.borgbase.vorta.desktop /app/share/applications/
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: ../
|