2019-06-15 19:51:51 +00:00
|
|
|
app-id: com.borgbase.Vorta
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
runtime: org.kde.Platform
|
|
|
|
runtime-version: '5.12'
|
|
|
|
sdk: org.kde.Sdk
|
2019-05-30 14:01:07 +00:00
|
|
|
branch: devel
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
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
|
2019-05-30 14:01:07 +00:00
|
|
|
# Tray icon
|
|
|
|
- --talk-name=org.kde.StatusNotifierWatcher
|
|
|
|
- --own-name=org.kde.StatusNotifierItem-2-1
|
|
|
|
- --own-name=org.kde.StatusNotifierItem-4-1
|
|
|
|
# Mounting
|
|
|
|
- --talk-name=org.freedesktop.DBus.*
|
|
|
|
- --talk-name=org.freedesktop.Flatpak.*
|
|
|
|
# Allow access to keyring
|
2019-05-04 08:53:49 +00:00
|
|
|
- --talk-name=org.freedesktop.secrets
|
2019-05-30 14:01:07 +00:00
|
|
|
# SSH
|
|
|
|
- --socket=ssh-auth
|
|
|
|
- --own-name=org.KDE.*
|
|
|
|
# Notifications
|
|
|
|
- --talk-name=org.freedesktop.Notifications.*
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
build-options:
|
|
|
|
env:
|
|
|
|
MOUNT_FUSE_PATH: ../tmp/
|
|
|
|
|
|
|
|
modules:
|
2019-05-30 14:01:07 +00:00
|
|
|
- dependencies/pyqt5.json
|
|
|
|
- dependencies/openssl.json
|
|
|
|
- dependencies/openssh.json
|
|
|
|
- dependencies/libfuse.json
|
|
|
|
- dependencies/python3-setuptools.json
|
|
|
|
- dependencies/python3-setuptools_git.json
|
|
|
|
- dependencies/python3-setuptools_scm.json
|
|
|
|
- dependencies/python3-borgbackup.json
|
|
|
|
- dependencies/python3-pytest.json
|
|
|
|
- dependencies/python3-llfuse.json
|
|
|
|
- dependencies/python3-appdirs.json
|
|
|
|
- dependencies/python3-apscheduler.json
|
|
|
|
- dependencies/python3-paramiko.json
|
|
|
|
- dependencies/python3-peewee.json
|
|
|
|
- dependencies/python3-psutil.json
|
|
|
|
- dependencies/python3-python-dateutil.json
|
|
|
|
- dependencies/python3-qdarkstyle.json
|
|
|
|
- dependencies/python3-secretstorage.json
|
|
|
|
- dependencies/python3-pytest-runner.json
|
|
|
|
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
- 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/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/metadata/com.borgbase.Vorta.appdata.xml /app/share/metainfo/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/512x512/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/512x512/com.borgbase.Vorta.png /app/share/icons/hicolor/512x512/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/256x256/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/256x256/com.borgbase.Vorta.png /app/share/icons/hicolor/256x256/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/128x128/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/128x128/com.borgbase.Vorta.png /app/share/icons/hicolor/128x128/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/64x64/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/64x64/com.borgbase.Vorta.png /app/share/icons/hicolor/64x64/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/48x48/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/48x48/com.borgbase.Vorta.png /app/share/icons/hicolor/48x48/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/32x32/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/32x32/com.borgbase.Vorta.png /app/share/icons/hicolor/32x32/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/icons/hicolor/24x24/apps/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/icons/24x24/com.borgbase.Vorta.png /app/share/icons/hicolor/24x24/apps/
|
2019-05-06 15:12:57 +00:00
|
|
|
- mkdir -p /app/share/applications/
|
2019-06-15 19:51:51 +00:00
|
|
|
- cp src/vorta/assets/metadata/com.borgbase.Vorta.desktop /app/share/applications/
|
2019-05-04 08:53:49 +00:00
|
|
|
|
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: ../
|