org.gajim.Gajim.Plugin.openpgp.yaml 1.14 KB
Newer Older
André's avatar
André committed
1 2
id: org.gajim.Gajim.Devel.Plugin.openpgp
runtime: org.gajim.Gajim.Devel
André's avatar
André committed
3
sdk: org.gnome.Sdk//3.36
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
build-extension: true
separate-locales: false
appstream-compose: false
build-options:
  env:
    PYTHONPATH: /app/plugins/openpgp/lib/python3.7/site-packages/

modules:
  - modules/python3-python-gnupg.yaml

  - name: gajim-openpgp
    buildsystem: simple
    build-commands:
      - 'cp -R -t ${FLATPAK_DEST} *'
    post-install:
      - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.openpgp.metainfo.xml
      - appstream-compose --basename=org.gajim.Gajim.Plugin.openpgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.openpgp
    sources:
      - type: archive
André's avatar
André committed
23 24
        url: https://ftp.gajim.org/plugins_releases/openpgp_1.2.8.zip
        sha256: f4b030874636c9edba6862201183d1876f4ad712ea09bd7173c395ccb4a98f67
25 26
      - type: file
        path: org.gajim.Gajim.Plugin.openpgp.metainfo.xml
27
        sha256: 4769307f972aca3320311c1b0e514a7e41f1d1f437887147eb84ff1ec3245203
André's avatar
André committed
28 29 30
      - type: shell
        commands:
          - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml