app-id: xyz.krafterdev.Groupings runtime: org.gnome.Platform runtime-version: '45' sdk: org.gnome.Sdk command: /app/start/start.sh modules: - name: python3-chardet buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "chardet~=3.0.4" --no-build-isolation sources: - type: file url: https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl sha256: fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691 - name: python3-flit buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "flit~=3.9.0" --no-build-isolation sources: - &id001 type: file url: https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl sha256: dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1 - &id002 type: file url: https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz sha256: f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5 - type: file url: https://files.pythonhosted.org/packages/26/87/f238c0670b94533ac0353a4e2a1a771a0cc73277b88bff23d3ae35a256c1/docutils-0.20.1-py3-none-any.whl sha256: 96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6 - type: file url: https://files.pythonhosted.org/packages/68/0e/b1d1a1201215bf54adea518e79d0f0e84e376bec896c3a6ed437e5201471/flit-3.9.0-py3-none-any.whl sha256: 076c3aaba5ac24cf0ad3251f910900d95a08218e6bcb26f21fef1036cc4679ca - type: file url: https://files.pythonhosted.org/packages/38/45/618e84e49a6c51e5dd15565ec2fcd82ab273434f236b8f108f065ded517a/flit_core-3.9.0-py3-none-any.whl sha256: 7aada352fb0c7f5538c4fafeddf314d3a6a92ee8e2b1de70482329e42de70301 - &id003 type: file url: https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl sha256: c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f - &id004 type: file url: https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl sha256: 58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f - type: file url: https://files.pythonhosted.org/packages/bb/01/1da9c66ecb20f31ed5aa5316a957e0b1a5e786a0d9689616ece4ceaf1321/tomli_w-1.0.0-py3-none-any.whl sha256: 9f2a07e8be30a0729e533ec968016807069991ae2fd921a78d42f429ae5f4463 - &id005 type: file url: https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl sha256: 450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d - name: python3-groupme-push buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "groupme-push~=0.0.3" --no-build-isolation sources: - type: file url: https://files.pythonhosted.org/packages/d5/25/5ed7384b92e7c35909b8e939096cc24a13d64fc4e3a16c0d4b9438c3f88c/base36-0.1.1-py2.py3-none-any.whl sha256: 15eec75cf938a2186349e6b6dfc7320c73c065921493be83808c68d909b15763 - *id001 - *id002 - type: file url: https://files.pythonhosted.org/packages/35/09/1fceff6b108dd2a562e60e3b190ba1cbf240be451084a593c0d04e9873b0/groupme_push-0.0.3-py3-none-any.whl sha256: def04d3d34661e23cf15a8b68f5564f7d8291eedb75ad4dfe57fcbb3b0289ff0 - *id003 - *id004 - *id005 - type: file url: https://files.pythonhosted.org/packages/1e/70/1e88138a9afbed1d37093b85f0bebc3011623c4f47c166431599fe9d6c93/websocket_client-1.7.0-py3-none-any.whl sha256: f4c3d22fec12a2461427a29957ff07d35098ee2d976d3ba244e688b8b4057588 - name: python3-pyxdg buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "pyxdg~=0.28" --no-build-isolation sources: - type: file url: https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl sha256: bdaf595999a0178ecea4052b7f4195569c1ff4d344567bccdc12dfdf02d545ab - name: python3-urlextract buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "urlextract~=1.8.0" --no-build-isolation sources: - type: file url: https://files.pythonhosted.org/packages/81/54/84d42a0bee35edba99dee7b59a8d4970eccdd44b99fe728ed912106fc781/filelock-3.13.1-py3-none-any.whl sha256: 57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c - *id003 - type: file url: https://files.pythonhosted.org/packages/55/72/4898c44ee9ea6f43396fbc23d9bfaf3d06e01b83698bdf2e4c919deceb7c/platformdirs-4.2.0-py3-none-any.whl sha256: 0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068 - type: file url: https://files.pythonhosted.org/packages/6b/ff/b16f225ceeb47f5d8899371ce446a8d6c1fe509a8882998b869f2a794c25/uritools-4.0.2-py3-none-any.whl sha256: 607b15eae1e7b69a120f463a7d98f91a56671e1ab92aae13f8e1f25c017fe60e - type: file url: https://files.pythonhosted.org/packages/71/cd/884ee7fcb7be3f3354539368da1e9419639a369f85c83f340fa21e504992/urlextract-1.8.0-py3-none-any.whl sha256: 98b38aca4a555116e8b46e5a134b9e4e54e351b8e37169d2857730d1d0ce42c7 # Fork of GroupyAPI with updated requests dependency - name: python3-GroupyAPI-thekrafter buildsystem: simple build-commands: - pip3 install --verbose --exists-action=i --no-index --no-deps --prefix=${FLATPAK_DEST} . --no-build-isolation sources: - type: git url: https://github.com/TheKrafter/Groupy.git branch: dev # The App Itself. - name: groupings buildsystem: simple build-commands: # Python Package - pip3 install --verbose --exists-action=i --no-index --prefix=${FLATPAK_DEST} . --no-build-isolation # Icon - mkdir -p /app/share/icons/hicolor/scalable/apps/ - cp src/assets/icons/export/xyz.krafterdev.Groupings.svg /app/share/icons/hicolor/scalable/apps/xyz.krafterdev.Groupings.svg - cp src/assets/icons/export/xyz.krafterdev.Groupings.Devel.svg /app/share/icons/hicolor/scalable/apps/xyz.krafterdev.Groupings.Devel.svg - cp src/assets/icons/export/xyz.krafterdev.Groupings-symbolic.svg /app/share/icons/hicolor/scalable/apps/xyz.krafterdev.Groupings-symbolic.svg # Desktop Entry - mkdir -p /app/share/applications/ - mkdir -p /app/cache - desktop-file-install --rebuild-mime-info-cache --dir=/app/share/applications src/flatpak/xyz.krafterdev.Groupings.desktop # Metainfo - mkdir -p /app/share/metainfo - cp src/flatpak/xyz.krafterdev.Groupings.metainfo.xml /app/share/metainfo/xyz.krafterdev.Groupings.metainfo.xml # Startup Script - install -D ./src/flatpak/start.sh /app/start/start.sh - chmod +x /app/start/start.sh # Copy Assets - mkdir /app/assets/ - cp src/assets/groupme-dark.png /app/assets/groupme-dark.png - cp src/assets/groupme.png /app/assets/groupme.png sources: - type: dir path: ./ finish-args: - --device=dri - --share=network - --socket=fallback-x11 - --socket=wayland - --talk-name=org.freedesktop.SecretService - --talk-name=org.freedesktop.Notifications