org.gajim.Gajim.Plugin.pgp.yaml 974 Bytes
Newer Older
André's avatar
André committed
1 2
id: org.gajim.Gajim.Devel.Plugin.pgp
runtime: org.gajim.Gajim.Devel
André's avatar
André committed
3
sdk: org.gnome.Sdk//3.38
4 5 6 7 8 9
build-extension: true
separate-locales: false
appstream-compose: false

build-options:
  env:
10
    PIP_TARGET: /app/plugins/pgp/site-packages
11 12 13 14 15 16 17 18 19 20

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

  - name: gajim-pgp
    buildsystem: simple
    build-commands:
      - 'cp -R -t ${FLATPAK_DEST} *'
    post-install:
      - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.pgp.metainfo.xml
21
      - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.pgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.pgp
22 23
    sources:
      - type: archive
André's avatar
André committed
24 25
        url: https://ftp.gajim.org/plugins_releases/pgp_1.3.4.zip
        sha256: dced2f2375cb503eda0e10fa21507b832c7450f566cd7bbfa9ddd095df48954c
André's avatar
André committed
26 27 28
      - type: shell
        commands:
          - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml