Created
April 20, 2025 23:10
-
-
Save EvilSupahFly/7ef3028c64a46d8925371ec2c555095b to your computer and use it in GitHub Desktop.
Testing Unified YAML Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app-id: io.github.evilsupahfly.amulet_flatpak | |
#name: Amulet Map Editor | |
#version: 0.10.41 | |
runtime: org.freedesktop.Platform | |
runtime-version: '24.08' | |
sdk: org.freedesktop.Sdk | |
command: amulet | |
finish-args: | |
- --device=all | |
- --device=dri | |
- --allow=devel | |
- --allow=per-app-dev-shm | |
- --share=network | |
- --share=ipc | |
- --socket=wayland | |
- --socket=fallback-x11 | |
- --filesystem=host | |
- --filesystem=home | |
- --persist=home | |
- --env=PYTHONPATH="/app/lib/python3.12/site-packages:${PYTHONPATH:-}" | |
- --env=LIBGL_ALWAYS_SOFTWARE="0" | |
- --env=OPENGL_VERSION=4.5 | |
- --env=OPENGL_LIB=/usr/lib/x86_64-linux-gnu/libGL.so | |
- --env=PS1=[ AMULET_FLATPAK > \w ]\n> | |
# Uncomment the following options to increase debug output verbosity in the terminal | |
# - --env=PYTHONDEBUG=3 | |
# - --env=PYTHONVERBOSE=3 | |
# - --env=PYTHONTRACEMALLOC=10 | |
# - --env=G_MESSAGES_DEBUG=all | |
modules: | |
- shared-modules/glew/glew.json | |
- shared-modules/glu/glu-9.json | |
- name: libjpeg8-runtime | |
buildsystem: simple | |
build-commands: | |
- install -v -D libjpeg.so.8.4.0 ${FLATPAK_DEST}/lib/libjpeg.so.8.4.0 | |
- ln -sv libjpeg.so.8.4.0 ${FLATPAK_DEST}/lib/libjpeg.so.8 | |
- ln -sv libjpeg.so.8 ${FLATPAK_DEST}/lib/libjpeg.so | |
sources: | |
- type: file | |
path: libjpeg.so.8.4.0 | |
sha256: 42b23e05b0898c3461c9b905fabb40eb0f23bf6d231c4976b86d1301021431e3 | |
- name: launcher-script | |
buildsystem: simple | |
build-commands: | |
- mkdir -p /app/bin | |
- echo '#!/bin/sh' > /app/bin/amulet | |
- echo 'clear' >> /app/bin/amulet | |
- echo 'cd /app && exec amulet_map_editor \$1' >> /app/bin/amulet | |
- chmod +x /app/bin/amulet | |
- name: metainfo-xml | |
buildsystem: simple | |
build-commands: | |
- install -Dm644 io.github.evilsupahfly.amulet_flatpak.metainfo.xml -t /share/metainfo/ | |
sources: | |
- type: file | |
path: io.github.evilsupahfly.amulet_flatpak.metainfo.xml | |
- name: metainfo-desktop | |
buildsystem: simple | |
build-commands: | |
- install -Dm755 io.github.evilsupahfly.amulet_flatpak.desktop -t /share/applications/ | |
sources: | |
- type: file | |
path: io.github.evilsupahfly.amulet_flatpak.desktop | |
- name: metainfo-ico | |
buildsystem: simple | |
build-commands: | |
- install -Dm644 io.github.evilsupahfly.amulet_flatpak.png -t /share/icons/hicolor/256x256/apps/ | |
sources: | |
- type: file | |
path: io.github.evilsupahfly.amulet_flatpak.png | |
- name: python3-meson-python | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"meson-python" --report=pip_report.json --no-build-isolation | |
sources: | |
- type: file | |
url: https://files.pythonhosted.org/packages/7d/ec/40c0ddd29ef4daa6689a2b9c5ced47d5b58fa54ae149b19e9a97f4979c8c/meson_python-0.17.1-py3-none-any.whl | |
sha256: 30a75c52578ef14aff8392677b09c39346e0a24d2b2c6204b8ed30583c11269c | |
- &id001 | |
type: file | |
url: https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl | |
sha256: 09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759 | |
- type: file | |
url: https://files.pythonhosted.org/packages/7e/b1/8e63033b259e0a4e40dd1ec4a9fee17718016845048b43a36ec67d62e6fe/pyproject_metadata-0.9.1-py3-none-any.whl | |
sha256: ee5efde548c3ed9b75a354fc319d5afd25e9585fa918a34f62f904cc731973ad | |
- name: python3-packaging | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"packaging" --report=pip_report.json --no-build-isolation | |
sources: | |
- *id001 | |
- name: python3-versioneer | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"versioneer" --report=pip_report.json --no-build-isolation | |
sources: | |
- type: file | |
url: https://files.pythonhosted.org/packages/b0/79/f0f1ca286b78f6f33c521a36b5cbd5bd697c0d66217d8856f443aeb9dd77/versioneer-0.29-py3-none-any.whl | |
sha256: 0f1a137bb5d6811e96a79bb0486798aeae9b9c6efc24b389659cebb0ee396cb9 | |
- name: python3-numpy | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"numpy~=1.26.4" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id005 | |
type: file | |
url: https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz | |
sha256: 2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010 | |
- name: python3-mutf8 | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"mutf8" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id004 | |
type: file | |
url: https://files.pythonhosted.org/packages/ca/31/3c57313757b3a47dcf32d2a9bad55d913b797efc8814db31bed8a7142396/mutf8-1.0.6.tar.gz | |
sha256: 1bbbefb67c2e5a57104750bb04b0912200b57b2fa9841be245279e83859cb346 | |
- name: python3-PyOpenGL | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"PyOpenGL" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id002 | |
type: file | |
url: https://files.pythonhosted.org/packages/92/44/8634af40b0db528b5b37e901c0dc67321354880d251bf8965901d57693a5/PyOpenGL-3.1.9-py3-none-any.whl | |
sha256: 15995fd3b0deb991376805da36137a4ae5aba6ddbb5e29ac1f35462d130a3f77 | |
- name: python3-PyOpenGL-accelerate | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"PyOpenGL-accelerate" --report=pip_report.json --no-build-isolation | |
sources: | |
- type: file | |
path: pyopengl_accelerate-3.1.9.tar.gz | |
sha256: 0435ae5036767a98f66a1076a82f154f40c2531b442c2dce9f95aa1f60263bc4 | |
- name: python3-platformdirs | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"platformdirs" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id007 | |
type: file | |
url: https://files.pythonhosted.org/packages/56/29/3ec311dc18804409ecf0d2b09caa976f3ae6215559306b5b530004e11156/platformdirs-3.11.0-py3-none-any.whl | |
sha256: e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e | |
- name: python3-portalocker | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"portalocker" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id008 | |
type: file | |
url: https://files.pythonhosted.org/packages/9b/fb/a70a4214956182e0d7a9099ab17d50bfcba1056188e9b14f35b9e2b62a0d/portalocker-2.10.1-py3-none-any.whl | |
sha256: 53a5984ebc86a025552264b459b46a2086e269b21823cb572f8f28ee759e45bf | |
- name: python3-pillow | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"pillow" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id006 | |
type: file | |
url: https://files.pythonhosted.org/packages/f3/af/c097e544e7bd278333db77933e535098c259609c4eb3b85381109602fb5b/pillow-11.1.0.tar.gz | |
sha256: 368da70808b36d73b4b390a8ffac11069f8a5c85f29eff1f1b01bcf3ef5b2a20 | |
- name: python3-wxpython | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"wxpython" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id009 | |
type: file | |
path: wxpython-4.2.3a1-cp312-cp312-linux_x86_64.whl | |
sha256: a89f632dbc6e76a8feebb5f3f9551ffde9224a0ed9cdf00333f33af0ed52bf6c | |
- name: python3-lz4 | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"lz4" --report=pip_report.json --no-build-isolation | |
sources: | |
- &id003 | |
type: file | |
path: lz4-4.4.3.tar.gz | |
sha256: 34dff4088b31fe409636ea1bf21f9ac7b10a1bafe2bc22a1ce82a7592bb61340 | |
- name: python3-amulet_map_editor | |
buildsystem: simple | |
build-commands: | |
- pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} | |
"amulet_map_editor" --report=pip_report.json --no-build-isolation | |
sources: | |
- *id002 | |
- type: file | |
url: https://files.pythonhosted.org/packages/b4/73/2bb5a96dd6f94e5ba0f8be0b7668841fe900a8f1d893ca149f71b5b1dd55/amulet_core-1.9.29-py3-none-any.whl | |
sha256: ab80507371e727fd1f6e6415db7bd274aab944a77db32342ec660ca35f8f051b | |
- type: file | |
url: https://files.pythonhosted.org/packages/8a/69/03882a4a7ed933d1f0c622d93a5b2eef2fa51c4bf8ca1ec84d43b88eb113/amulet_leveldb-1.0.2.tar.gz | |
sha256: b3aa511ef71bf6bc6b21e96395bded0f392b1dc093ef58d5535067d80ab41541 | |
- type: file | |
#url: https://files.pythonhosted.org/packages/bd/ae/ead677437bbd53b393e7073b99fefb6e97da918580c01fa541287b222c2e/amulet_map_editor-0.10.41.tar.gz | |
#sha256: eb4ff5749cefc6ea6394ad0ad5a3d6a32bda325f34f3dc3349a2ee4504ab57ae | |
path: amulet_map_editor-0.10.41-cp312-cp312-linux_x86_64.whl | |
sha256: 87f8ff4f312bab8a72898c3d0df84ddceb473a8a09cc1cadcd9f7d278c0d3f29 | |
- type: file | |
url: https://files.pythonhosted.org/packages/70/b8/ba8cfc4d9e8b8dc39ede7f933d50872e6a2c44cc3a3aaae02e66b1116db9/amulet_nbt-2.1.4.tar.gz | |
sha256: 9fdf60f9ae6c9f030f86025e275ae986d7a511428fb902d0c8d5948154d74ba3 | |
- *id003 | |
- type: file | |
path: minecraft_resource_pack-1.4.6-py3-none-any.whl | |
sha256: 157843940555a275e8e5bda07e46be7a568439427e3dfe409961018fb0dcefc3 | |
- *id004 | |
- *id005 | |
- *id001 | |
- *id006 | |
- *id007 | |
- *id008 | |
- type: file | |
url: https://files.pythonhosted.org/packages/80/cc/895ea17359f2216b20350fa0259529e4d69d2487e2fac4aa7dd26dec9b93/pymctranslate-1.2.32-py3-none-any.whl | |
sha256: afa20142ff73d951bc9d4025729914246ee7311826e57ec33ea2ab362e901586 | |
- *id009 | |
name: io.github.evilsupahfly.amulet_flatpak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment