Welcome to mirror list, hosted at ThFree Co, Russian Federation.

org.gajim.Gajim.Plugin.url_image_preview.yaml « flatpak - dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 890d35d503dfa07219fd34e5cbea8d1fb59bf742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
id: org.gajim.Gajim.Devel.Plugin.url_image_preview
runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//3.38
build-extension: true
separate-locales: false
appstream-compose: false

build-options:
  env:
    PIP_TARGET: /app/plugins/url_image_preview/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
      - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.url_image_preview --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.url_image_preview
    sources:
      - type: archive
        url: https://ftp.gajim.org/plugins_releases/url_image_preview_2.5.5.zip
        sha256: c8ec26ca819aaf918c72bb9f45683f4d9d89a5f6ec40c4745396aeca409586e5
      - type: shell
        commands:
          - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml