84 lines
3.1 KiB
YAML
84 lines
3.1 KiB
YAML
id: org.gajim.Gajim.Devel.Plugin.omemo
|
|
runtime: org.gajim.Gajim.Devel
|
|
sdk: org.gnome.Sdk//44
|
|
build-extension: true
|
|
separate-locales: false
|
|
appstream-compose: false
|
|
|
|
build-options:
|
|
env:
|
|
PIP_TARGET: /app/plugins/omemo/site-packages
|
|
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
|
|
|
modules:
|
|
- name: python3-protobuf
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install --no-deps protobuf-4.22.1-py3-none-any.whl
|
|
sources:
|
|
- type: file
|
|
url: https://files.pythonhosted.org/packages/py3/p/protobuf/protobuf-4.22.1-py3-none-any.whl
|
|
sha256: 3e19dcf4adbf608924d3486ece469dd4f4f2cf7d2649900f0efcd1a84e8fd3ba
|
|
|
|
- name: python3-python-axolotl-curve25519
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install .
|
|
sources:
|
|
- type: archive
|
|
url: https://files.pythonhosted.org/packages/source/p/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1.post2.tar.gz
|
|
sha256: 0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3
|
|
|
|
- name: python3-python-axolotl
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install --no-deps python_axolotl-0.2.3-py3-none-any.whl
|
|
sources:
|
|
- type: file
|
|
url: https://files.pythonhosted.org/packages/0f/b3/4a0b0e664435691bba36fac6e366cece506d002294c293bd3dcb40c2b2ba/python_axolotl-0.2.3-py3-none-any.whl
|
|
sha256: 6a22acbf646c3b736ea1a4663ab5c52687fce6612e92ae6a7fe63803c212fb9e
|
|
|
|
- name: python3-pypng
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install --no-build-isolation .
|
|
sources:
|
|
- type: archive
|
|
url: https://files.pythonhosted.org/packages/source/p/pypng/pypng-0.20220715.0.tar.gz
|
|
sha256: 739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1
|
|
|
|
- name: python3-typing-extensions
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install typing_extensions-4.5.0-py3-none-any.whl
|
|
sources:
|
|
- type: file
|
|
url: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.5.0-py3-none-any.whl
|
|
sha256: fb33085c39dd998ac16d1431ebc293a8b3eedd00fd4a32de0ff79002c19511b4
|
|
|
|
- name: python3-qrcode
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip3 install --no-deps qrcode-7.4.2-py3-none-any.whl
|
|
sources:
|
|
- type: file
|
|
url: https://files.pythonhosted.org/packages/py3/q/qrcode/qrcode-7.4.2-py3-none-any.whl
|
|
sha256: 581dca7a029bcb2deef5d01068e39093e80ef00b4a61098a2182eac59d01643a
|
|
|
|
- name: gajim-omemo
|
|
buildsystem: simple
|
|
build-commands:
|
|
- 'cp -R -t ${FLATPAK_DEST} *'
|
|
post-install:
|
|
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.omemo.metainfo.xml
|
|
- appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.omemo --prefix=${FLATPAK_DEST}
|
|
--origin=flatpak org.gajim.Gajim.Plugin.omemo
|
|
sources:
|
|
- type: archive
|
|
strip-components: 0
|
|
url: https://ftp.gajim.org/plugins/master/omemo/omemo_2.9.0.zip
|
|
sha256: 076396ac441b4e5bae62328575be85492a87229c7a214b23f7edd1ac5dcac97b
|
|
- type: shell
|
|
commands:
|
|
- sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" org.gajim.Gajim.Plugin.*.metainfo.xml
|