39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
id: org.gajim.Gajim.Devel.Plugin.pgp
|
|
runtime: org.gajim.Gajim.Devel
|
|
sdk: org.gnome.Sdk//48
|
|
build-extension: true
|
|
separate-locales: false
|
|
appstream-compose: false
|
|
|
|
build-options:
|
|
env:
|
|
PIP_TARGET: /app/plugins/pgp/site-packages
|
|
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
|
|
|
modules:
|
|
- name: python3-python-gnupg
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install --no-build-isolation .
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/vsajip/python-gnupg/archive/refs/tags/0.5.4.tar.gz
|
|
sha512: 4b316ea925ef8892a743e81c907ff0c7f9b639ec2f92e614337765c0ddade80ad6b484ff75e7315bf1b6a71e3bb8e5e384f2b20bec4d27edb246c392ef4e7b94
|
|
|
|
- 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
|
|
- appstreamcli compose --components=${FLATPAK_ID} --prefix=/ --origin=${FLATPAK_ID}
|
|
--result-root=${FLATPAK_DEST} --data-dir=${FLATPAK_DEST}/share/app-info/xmls ${FLATPAK_DEST}
|
|
sources:
|
|
- type: archive
|
|
strip-components: 0
|
|
url: https://ftp.gajim.org/plugins/master/pgp/pgp_1.7.0.zip
|
|
sha256: 8e5af1472a10f01c92593be4b1942d069aba0eba0bfa198389b9d56d3abc2209
|
|
- type: shell
|
|
commands:
|
|
- sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml
|