org.gajim.Gajim.Plugin.url_image_preview.yaml 1.06 KB
Newer Older
André's avatar
André committed
1 2
id: org.gajim.Gajim.Devel.Plugin.url_image_preview
runtime: org.gajim.Gajim.Devel
André's avatar
André committed
3
sdk: org.gnome.Sdk//3.36
André's avatar
André committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
build-extension: true
separate-locales: false
appstream-compose: false

build-options:
  env:
    PYTHONPATH: /app/plugins/url_image_preview/lib/python3.7/site-packages/

modules:
  - modules/python3-pillow.yaml

  - name: gajim-url_image_preview
    buildsystem: simple
    build-commands:
      - 'cp -R -t ${FLATPAK_DEST} *'
    post-install:
      - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.url_image_preview.metainfo.xml
21
      - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.url_image_preview --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.url_image_preview
André's avatar
André committed
22 23
    sources:
      - type: archive
André's avatar
André committed
24 25
        url: https://ftp.gajim.org/plugins_releases/url_image_preview_2.5.1.zip
        sha256: 1b8fabfcd878cc47a7dd3c66b16af95c06145ae5ad9e4e8adfb274835b6eb0dd
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