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//49
|
|
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.5.tar.gz
|
|
sha512: 0483cc4faac5fa1244e621fa56c2d4b0c4a0f74168fbd7e68e820f40b4ff2d79bf19866fb1020ee62290087b41c55d5257e3e78a68eb63276a5a586b28ce4f7c
|
|
|
|
- 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.8.1.zip
|
|
sha256: 32f63ce888f8293e8351671dcb402d108ae857725902bd3a92b223620a155a7a
|
|
- type: shell
|
|
commands:
|
|
- sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml
|