diff --git a/flatpak/modules/python3-python-gnupg.yaml b/flatpak/modules/python3-python-gnupg.yaml new file mode 100644 index 0000000..ae7b4c6 --- /dev/null +++ b/flatpak/modules/python3-python-gnupg.yaml @@ -0,0 +1,9 @@ +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.4-py2.py3-none-any.whl +sources: + - type: file + url: https://files.pythonhosted.org/packages/8b/26/14248358136cbd2b24652de2934078d66ed13ae4542c8b0cef0a8fade67d/python_gnupg-0.4.4-py2.py3-none-any.whl + sha256: 85c231850a0275c9722f06e34b45a22510b83a6a6e88f93b5ae32ba04c95056c 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 @@ + + + org.gajim.Gajim.Plugin.pgp + org.gajim.Gajim.desktop + PGP Plugin + XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption + https://gajim.org/ + CC-BY-SA-3.0 + GPL-3.0 + gajim-devel_AT_gajim.org + + diff --git a/flatpak/org.gajim.Gajim.Plugin.pgp.yaml b/flatpak/org.gajim.Gajim.Plugin.pgp.yaml new file mode 100644 index 0000000..1d5b376 --- /dev/null +++ b/flatpak/org.gajim.Gajim.Plugin.pgp.yaml @@ -0,0 +1,28 @@ +id: org.gajim.Gajim.Plugin.pgp +runtime: org.gajim.Gajim +sdk: org.gnome.Sdk//3.32 +build-extension: true +separate-locales: false +appstream-compose: false + +build-options: + env: + PYTHONPATH: /app/plugins/pgp/lib/python3.7/site-packages/ + +modules: + - modules/python3-python-gnupg.yaml + + - 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.35.zip + sha256: 8227545afdc22102e568fe68fe9837f1b2302030984871f5b57539369b1380cc + - type: file + path: org.gajim.Gajim.Plugin.pgp.metainfo.xml + sha256: cda6e41cdff3f7ff98136721a522305046714343236f9eb54b3e4cba5ccb34ad