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//47
|
|
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 python_gnupg-0.5.2-py2.py3-none-any.whl
|
|
sources:
|
|
- type: file
|
|
url: https://files.pythonhosted.org/packages/py2.py3/p/python_gnupg/python_gnupg-0.5.2-py2.py3-none-any.whl
|
|
sha256: 72ce142af6da7f07e433fef148b445fb3e07854acd2f88739008838745c0e9f5
|
|
|
|
- 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
|