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: 0a6ece289d072adba6d9ccba4aa8d581c28dd423 (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//40
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.6.7.zip
        sha256: 4834d7a69b9221d9e7d5412fbc2a0474ad2232dc45cc82532c92789c12d95068
      - type: shell
        commands:
          - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml