ci.manifest.yml 2.67 KB
Newer Older
Sophie Herold's avatar
Sophie Herold committed
1
---
2
app-id: org.gnome.World.PikaBackup
Sophie Herold's avatar
Sophie Herold committed
3 4
command: pika-backup
runtime: org.gnome.Platform
5
runtime-version: "3.36"
Sophie Herold's avatar
Sophie Herold committed
6 7 8 9
sdk: org.gnome.Sdk
sdk-extensions:
  - org.freedesktop.Sdk.Extension.rust-stable
build-options:
Sophie Herold's avatar
Sophie Herold committed
10 11
  append-path: /usr/lib/sdk/rust-stable/bin
  build-args: 
Sophie Herold's avatar
Sophie Herold committed
12 13 14
    - --share=network

finish-args:
Sophie Herold's avatar
Sophie Herold committed
15
  - --filesystem=host
16 17
  # flatpak puts a tmpfs here to hide other apps
  - --filesystem=~/.var/app/
Sophie Herold's avatar
Sophie Herold committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31
  - --share=network
  - --socket=wayland
  # X11
  - --share=ipc
  - --socket=fallback-x11
  # SSH-keys etc
  - --socket=ssh-auth
  # secrete service (keyring)
  - --talk-name=org.freedesktop.secrets
  # gio::Device etc
  - --talk-name=org.gtk.vfs.*
  # fusermount
  - --device=all
  - --talk-name=org.freedesktop.Flatpak.*
Sophie Herold's avatar
Sophie Herold committed
32 33
  # inhibit shutdown and sleep
  - --system-talk-name=org.freedesktop.login1
34
  # open folder in filebrowser, work around buggy OpenURI portal
35
  # https://gitlab.gnome.org/World/pika-backup/-/issues/19
36
  - --talk-name=org.freedesktop.FileManager1
Sophie Herold's avatar
Sophie Herold committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
modules:

  - name: borg
    buildsystem: simple
    build-commands:
      - pip3 install --no-index --find-links=. --prefix=/app setuptools_scm
      - pip3 install --no-index --find-links=. --prefix=/app borgbackup
    sources:
      - type: file
        url: https://files.pythonhosted.org/packages/54/85/514ba3ca2a022bddd68819f187ae826986051d130ec5b972076e4f58a9f3/setuptools_scm-3.2.0.tar.gz
        sha256: 52ab47715fa0fc7d8e6cd15168d1a69ba995feb1505131c3e814eb7087b57358
      - type: file
        url: https://files.pythonhosted.org/packages/97/68/27d96a12f54894223ad6676ce4d215ad61771e3e723580f3ee6e609e17b7/borgbackup-1.1.13.tar.gz
        sha256: 164a8666a61071ce2fa6c60627c7646f12e3a8e74cd38f046be72f5ea91b3821

Sophie Herold's avatar
Sophie Herold committed
52 53 54 55 56 57 58
  - name: fusermout
    config-opts:
      - MOUNT_FUSE_PATH=/app/bin
    post-install:
      - install fusermount-wrapper.sh /app/bin/fusermount
    sources:
      - type: archive
Sophie Herold's avatar
Sophie Herold committed
59
        url: https://github.com/libfuse/libfuse/releases/download/fuse-2.9.9/fuse-2.9.9.tar.gz
Sophie Herold's avatar
Sophie Herold committed
60
        sha256: d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5
61 62
      - type: patch
        path: fuse-2.9.2-namespace-conflict-fix.patch
Sophie Herold's avatar
Sophie Herold committed
63 64 65
      -
        type: file
        path: fusermount-wrapper.sh
Sophie Herold's avatar
Sophie Herold committed
66

Sophie Herold's avatar
Sophie Herold committed
67
  - name: llfuse
Sophie Herold's avatar
Sophie Herold committed
68
    buildsystem: simple
Sophie Herold's avatar
Sophie Herold committed
69 70 71 72 73 74 75
    build-commands:
      - python3 setup.py build_ext --inplace
      - python3 setup.py install --prefix=/app
    sources:
      - type: archive
        url: https://files.pythonhosted.org/packages/75/b4/5248459ec0e7e1608814915479cb13e5baf89034b572e3d74d5c9219dd31/llfuse-1.3.6.tar.bz2
        sha256: 31a267f7ec542b0cd62e0f1268e1880fdabf3f418ec9447def99acfa6eff2ec9
Sophie Herold's avatar
Sophie Herold committed
76

Sophie Herold's avatar
Sophie Herold committed
77
  - name: pika-backup
Sophie Herold's avatar
Sophie Herold committed
78
    buildsystem: meson
Sophie Herold's avatar
Sophie Herold committed
79 80
    config-opts:
      - "-Dprofile=dev"
Sophie Herold's avatar
Sophie Herold committed
81
    sources:
82
      - type: dir
Sophie Herold's avatar
Sophie Herold committed
83
        path: ../
Sophie Herold's avatar
Sophie Herold committed
84