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