diff options
author | André Apitzsch <git@apitzsch.eu> | 2018-11-10 01:50:22 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2018-11-10 01:52:28 +0300 |
commit | 2efc57c7997ddbe594f4d0974b23f4682b64b377 (patch) | |
tree | 938b8f10c9a3c84f5d7862e5bfd03ff9dd5006be | |
parent | 1191e2bd4e14c434f2474abd4f46c4a1b3cb519f (diff) |
[pgp] Add flatpak file
-rw-r--r-- | flatpak/org.gajim.Gajim.Plugin.pgp.metainfo.xml | 12 | ||||
-rw-r--r-- | flatpak/org.gajim.Gajim.Plugin.pgp.yaml | 35 |
2 files changed, 47 insertions, 0 deletions
diff --git a/flatpak/org.gajim.Gajim.Plugin.pgp.metainfo.xml b/flatpak/org.gajim.Gajim.Plugin.pgp.metainfo.xml new file mode 100644 index 0000000..f4da243 --- /dev/null +++ b/flatpak/org.gajim.Gajim.Plugin.pgp.metainfo.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="addon"> + <id>org.gajim.Gajim.Plugin.pgp</id> + <extends>org.gajim.Gajim.desktop</extends> + <name>PGP Plugin</name> + <summary>XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption</summary> + <url type="homepage">https://gajim.org/</url> + <metadata_license>CC-BY-SA-3.0</metadata_license> + <project_license>GPL-3.0</project_license> + <update_contact>gajim-devel_AT_gajim.org</update_contact> +</component> + diff --git a/flatpak/org.gajim.Gajim.Plugin.pgp.yaml b/flatpak/org.gajim.Gajim.Plugin.pgp.yaml new file mode 100644 index 0000000..8b611f8 --- /dev/null +++ b/flatpak/org.gajim.Gajim.Plugin.pgp.yaml @@ -0,0 +1,35 @@ +id: org.gajim.Gajim.Plugin.pgp +runtime: org.gajim.Gajim +sdk: org.gnome.Sdk//3.30 +build-extension: true +separate-locales: false +appstream-compose: false +build-options: + env: + PYTHONPATH: /app/plugins/pgp/lib/python3.7/site-packages/ + +modules: + - name: python3-python-gnupg + buildsystem: simple + build-commands: + - install -d ${FLATPAK_DEST}/lib/python3.7/site-packages/ + - pip3 install --prefix=${FLATPAK_DEST} python_gnupg-0.4.3-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/4a/87/76ead690afc4c7710012ede242537cd9807dde9de6299e65d075925c0b02/python_gnupg-0.4.3-py2.py3-none-any.whl + sha256: faa69bab58ed0936f0ccf96c99b92369b7a1819305d37dfe5c927d21a437a09d + + - name: gajim-pgp + buildsystem: simple + build-commands: + - 'cp -R -t ${FLATPAK_DEST} *' + post-install: + - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.pgp.metainfo.xml + - appstream-compose --basename=org.gajim.Gajim.Plugin.pgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.pgp + sources: + - type: archive + url: https://ftp.gajim.org/plugins_releases/pgp_1.2.22.zip + sha256: 5782c958690e3a985ed9ec82d92ee63039b3844b190f1291acb6249f7412b1b8 + - type: file + path: org.gajim.Gajim.Plugin.pgp.metainfo.xml + sha256: cda6e41cdff3f7ff98136721a522305046714343236f9eb54b3e4cba5ccb34ad |