Flatpak: Update runtime + dependencies

This commit is contained in:
André Apitzsch
2023-04-02 12:10:42 +02:00
parent 97575e5095
commit 48191c19a5
3 changed files with 23 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
id: org.gajim.Gajim.Devel.Plugin.omemo id: org.gajim.Gajim.Devel.Plugin.omemo
runtime: org.gajim.Gajim.Devel runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//43 sdk: org.gnome.Sdk//44
build-extension: true build-extension: true
separate-locales: false separate-locales: false
appstream-compose: false appstream-compose: false
@@ -11,16 +11,16 @@ build-options:
PIP_DISABLE_PIP_VERSION_CHECK: "1" PIP_DISABLE_PIP_VERSION_CHECK: "1"
modules: modules:
- name: protobuf - name: python3-protobuf
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- pip3 install --no-deps protobuf-4.21.12-py3-none-any.whl - pip3 install --no-deps protobuf-4.22.1-py3-none-any.whl
sources: sources:
- type: file - type: file
url: https://files.pythonhosted.org/packages/py3/p/protobuf/protobuf-4.21.12-py3-none-any.whl url: https://files.pythonhosted.org/packages/py3/p/protobuf/protobuf-4.22.1-py3-none-any.whl
sha256: b98d0148f84e3a3c569e19f52103ca1feacdac0d2df8d6533cf983d1fda28462 sha256: 3e19dcf4adbf608924d3486ece469dd4f4f2cf7d2649900f0efcd1a84e8fd3ba
- name: python3-axolotl-curve25519 - name: python3-python-axolotl-curve25519
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- pip3 install . - pip3 install .
@@ -29,7 +29,7 @@ modules:
url: https://files.pythonhosted.org/packages/source/p/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1.post2.tar.gz url: https://files.pythonhosted.org/packages/source/p/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1.post2.tar.gz
sha256: 0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3 sha256: 0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3
- name: python3-axolotl - name: python3-python-axolotl
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- pip3 install --no-deps python_axolotl-0.2.3-py3-none-any.whl - pip3 install --no-deps python_axolotl-0.2.3-py3-none-any.whl
@@ -41,11 +41,11 @@ modules:
- name: python3-qrcode - name: python3-qrcode
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- pip3 install . - pip3 install --no-deps qrcode-7.4.2-py3-none-any.whl
sources: sources:
- type: archive - type: file
url: https://files.pythonhosted.org/packages/source/q/qrcode/qrcode-7.3.1.tar.gz url: https://files.pythonhosted.org/packages/py3/q/qrcode/qrcode-7.4.2-py3-none-any.whl
sha256: 375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578 sha256: 581dca7a029bcb2deef5d01068e39093e80ef00b4a61098a2182eac59d01643a
- name: gajim-omemo - name: gajim-omemo
buildsystem: simple buildsystem: simple
@@ -53,7 +53,8 @@ modules:
- 'cp -R -t ${FLATPAK_DEST} *' - 'cp -R -t ${FLATPAK_DEST} *'
post-install: post-install:
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.omemo.metainfo.xml - 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 - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.omemo --prefix=${FLATPAK_DEST}
--origin=flatpak org.gajim.Gajim.Plugin.omemo
sources: sources:
- type: archive - type: archive
strip-components: 0 strip-components: 0

View File

@@ -1,6 +1,6 @@
id: org.gajim.Gajim.Devel.Plugin.openpgp id: org.gajim.Gajim.Devel.Plugin.openpgp
runtime: org.gajim.Gajim.Devel runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//43 sdk: org.gnome.Sdk//44
build-extension: true build-extension: true
separate-locales: false separate-locales: false
appstream-compose: false appstream-compose: false
@@ -17,10 +17,10 @@ modules:
prefix: ${FLATPAK_DEST} prefix: ${FLATPAK_DEST}
sources: sources:
- type: archive - type: archive
url: https://downloads.sourceforge.net/swig/swig-4.0.2.tar.gz url: https://downloads.sourceforge.net/swig/swig-4.1.1.tar.gz
sha256: d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc sha256: 2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b
- name: python3-gpgme - name: gpgme
cleanup: cleanup:
- /bin - /bin
- /include - /include
@@ -30,7 +30,7 @@ modules:
config-opts: config-opts:
- --enable-languages=python - --enable-languages=python
env: env:
SWIG_LIB: "/app/plugins/openpgp/share/swig/4.0.2" SWIG_LIB: "/app/plugins/openpgp/share/swig/4.1.1"
prepend-path: "/app/plugins/openpgp/bin:" prepend-path: "/app/plugins/openpgp/bin:"
prefix: ${FLATPAK_DEST} prefix: ${FLATPAK_DEST}
post-install: post-install:
@@ -51,7 +51,8 @@ modules:
- 'cp -R -t ${FLATPAK_DEST} *' - 'cp -R -t ${FLATPAK_DEST} *'
post-install: post-install:
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.openpgp.metainfo.xml - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.openpgp.metainfo.xml
- appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.openpgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.openpgp - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.openpgp --prefix=${FLATPAK_DEST}
--origin=flatpak org.gajim.Gajim.Plugin.openpgp
sources: sources:
- type: archive - type: archive
strip-components: 0 strip-components: 0

View File

@@ -1,6 +1,6 @@
id: org.gajim.Gajim.Devel.Plugin.pgp id: org.gajim.Gajim.Devel.Plugin.pgp
runtime: org.gajim.Gajim.Devel runtime: org.gajim.Gajim.Devel
sdk: org.gnome.Sdk//43 sdk: org.gnome.Sdk//44
build-extension: true build-extension: true
separate-locales: false separate-locales: false
appstream-compose: false appstream-compose: false
@@ -26,7 +26,8 @@ modules:
- 'cp -R -t ${FLATPAK_DEST} *' - 'cp -R -t ${FLATPAK_DEST} *'
post-install: post-install:
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.pgp.metainfo.xml - install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.pgp.metainfo.xml
- appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.pgp --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.pgp - appstream-compose --basename=org.gajim.Gajim.Devel.Plugin.pgp --prefix=${FLATPAK_DEST}
--origin=flatpak org.gajim.Gajim.Plugin.pgp
sources: sources:
- type: archive - type: archive
strip-components: 0 strip-components: 0