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

org.gajim.Gajim.Plugin.syntax_highlight.yaml « flatpak - dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af8e30dfc1c64eef664eff8fdb2bf2064c28ceb5 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
id: org.gajim.Gajim.Devel.Plugin.syntax_highlight
runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//41
build-extension: true
separate-locales: false
appstream-compose: false

build-options:
  env:
    PIP_TARGET: /app/plugins/syntax_highlight/site-packages

modules:
  - name: python3-pygments
    buildsystem: simple
    build-commands:
      - pip3 install --ignore-installed Pygments-2.10.0-py3-none-any.whl
    sources:
      - type: file
        url: https://files.pythonhosted.org/packages/py3/p/pygments/Pygments-2.10.0-py3-none-any.whl
        sha256: b8e67fe6af78f492b3c4b3e2970c0624cbf08beb1e493b2c99b9fa1b67a20380

  - name: python3-MarkupSafe
    buildsystem: simple
    build-commands:
      - pip3 install .
    sources:
      - type: archive
        url: https://files.pythonhosted.org/packages/source/m/markupsafe/MarkupSafe-2.0.1.tar.gz
        sha256: 594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a

  - name: gajim-syntax_highlight
    buildsystem: simple
    build-commands:
      - 'cp -R -t ${FLATPAK_DEST} *'
    post-install:
      - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.syntax_highlight.metainfo.xml
      - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.syntax_highlight --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.syntax_highlight
    sources:
      - type: archive
        url: https://ftp.gajim.org/plugins_releases/syntax_highlight_1.4.0.zip
        sha256: 2191670f9d3a480bd274af416a3f4572f347af7a93cea498208e1a3e135b9eb2
      - type: shell
        commands:
          - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml