Advertisement
EvilSupahFly

amulet.yml

Aug 12th, 2024 (edited)
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 13.63 KB | Source Code | 0 0
  1. id: com.github.amulet_map_editor
  2. name: Amulet Map Editor
  3. runtime: org.freedesktop.Platform
  4. runtime-version: '23.08'
  5. sdk: org.freedesktop.Sdk
  6. sdk-version: '23.08'
  7. add-build-extensions:
  8.  - org.freedesktop.Platform.GL.default
  9. command: amulet_map_editor
  10.  
  11. finish-args:
  12.  - --share=network
  13.   - --share=ipc
  14.   - --socket=x11
  15.   - --socket=wayland
  16.   - --device=all
  17.   - --filesystem=home:create
  18.   - --talk-name=org.freedesktop.Notifications
  19.   - --env=DRI_PRIME=1
  20.   - --env=LIBGL_ALWAYS_SOFTWARE="0"
  21.   - --env=LD_LIBRARY_PATH=/app/lib
  22.   - --env=MESA_LOADER_DRIVER_OVERRIDE="host"
  23.   - --env=OPENGL_VERSION=3.3
  24.   - --env=OPENGL_LIB=/usr/lib/x86_64-linux-gnu/libGL.so
  25.   - --env=PYTHON_VERSION=3.11.9
  26.   - --env=WX_PYTHON=/app/lib/python3.11/site-packages/wx
  27.   - --env=WX_PYTHON_VERSION=4.1.1
  28.   - --env=XAPP_GTK3=true
  29.  
  30. modules:
  31.  - shared-modules/SDL/SDL-1.2.15.json
  32.   - shared-modules/SDL2/SDL2-with-libdecor.json
  33.   - shared-modules/glew/glew.json
  34.   - shared-modules/glu/glu-9.json
  35.   - shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json
  36.   - shared-modules/gtk2/gtk2.json
  37.   - shared-modules/dbus-glib/dbus-glib.json
  38.   - shared-modules/pygame/pygame-1.9.6.json
  39.  
  40. # Generated with flatpak-pip-generator --requirements-file=req_rev_3.txt --yaml --output=amulet_map_editor
  41. modules:
  42.   - name: python3-versioneer
  43.     buildsystem: simple
  44.     build-commands:
  45.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  46.         "versioneer" --report=pip_report.json --no-build-isolation
  47.     sources:
  48.       - type: file
  49.         url: https://files.pythonhosted.org/packages/b0/79/f0f1ca286b78f6f33c521a36b5cbd5bd697c0d66217d8856f443aeb9dd77/versioneer-0.29-py3-none-any.whl
  50.         sha256: 0f1a137bb5d6811e96a79bb0486798aeae9b9c6efc24b389659cebb0ee396cb9
  51.  
  52.   - name: python3-xapp
  53.     buildsystem: simple
  54.     build-commands:
  55.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  56.         "xapp" --report=pip_report.json --no-build-isolation
  57.     sources:
  58.       - type: file
  59.         url: https://files.pythonhosted.org/packages/1d/cf/b4fc57d170c11a615806b4754e867ffadf40a066456e846a0d415b5cc556/xapp-0.0.1.tar.gz
  60.         sha256: cf72c1b3e4d342b457cb8c2ea9ccb6727e7c139e4da5d997cbd75c48c2f1a253
  61.   - name: python3-mutf8
  62.     buildsystem: simple
  63.     build-commands:
  64.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  65.         "mutf8" --report=pip_report.json --no-build-isolation
  66.     sources:
  67.      - &id002
  68.         type: file
  69.         url: https://files.pythonhosted.org/packages/ca/31/3c57313757b3a47dcf32d2a9bad55d913b797efc8814db31bed8a7142396/mutf8-1.0.6.tar.gz
  70.         sha256: 1bbbefb67c2e5a57104750bb04b0912200b57b2fa9841be245279e83859cb346
  71.   - name: python3-meson-python
  72.     buildsystem: simple
  73.     build-commands:
  74.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  75.         "meson-python" --report=pip_report.json --no-build-isolation
  76.     sources:
  77.       - type: file
  78.         url: https://files.pythonhosted.org/packages/91/c0/104cb6244c83fe6bc3886f144cc433db0c0c78efac5dc00e409a5a08c87d/meson_python-0.16.0-py3-none-any.whl
  79.         sha256: 842dc9f5dc29e55fc769ff1b6fe328412fe6c870220fc321060a1d2d395e69e8
  80.       - &id001
  81.         type: file
  82.         url: https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl
  83.         sha256: 5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
  84.       - type: file
  85.         url: https://files.pythonhosted.org/packages/aa/5f/bb5970d3d04173b46c9037109f7f05fc8904ff5be073ee49bb6ff00301bc/pyproject_metadata-0.8.0-py3-none-any.whl
  86.         sha256: ad858d448e1d3a1fb408ac5bac9ea7743e7a8bbb472f2693aaa334d2db42f526
  87.   - name: python3-numpy
  88.     buildsystem: simple
  89.     build-commands:
  90.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  91.         "numpy" --report=pip_report.json --no-build-isolation
  92.     sources:
  93.      - &id003
  94.         type: file
  95.         url: https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz
  96.         sha256: 2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010
  97.   - name: python3-setuptools_scm
  98.     buildsystem: simple
  99.     build-commands:
  100.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  101.         "setuptools_scm[toml]>=6.2" --report=pip_report.json --no-build-isolation
  102.     sources:
  103.      - *id001
  104.       - type: file
  105.         url: https://files.pythonhosted.org/packages/a0/b9/1906bfeb30f2fc13bb39bf7ddb8749784c05faadbd18a21cf141ba37bff2/setuptools_scm-8.1.0-py3-none-any.whl
  106.         sha256: 897a3226a6fd4a6eb2f068745e49733261a21f70b1bb28fce0339feb978d9af3
  107.   - name: python3-requirements-parser
  108.     buildsystem: simple
  109.     build-commands:
  110.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  111.         "requirements-parser" --report=pip_report.json --no-build-isolation
  112.     sources:
  113.      - *id001
  114.       - type: file
  115.         url: https://files.pythonhosted.org/packages/88/33/190393a7d36872e237cbc99e6c44d9a078a1ba7b406462fe6eafd5a28e04/requirements_parser-0.11.0-py3-none-any.whl
  116.         sha256: 50379eb50311834386c2568263ae5225d7b9d0867fb55cf4ecc93959de2c2684
  117.       - type: file
  118.         url: https://files.pythonhosted.org/packages/5f/8b/96a7ad4a355aab5688f58517d946a37975e3baa8b71d4cd3b5f87ff77b23/types_setuptools-71.1.0.20240818-py3-none-any.whl
  119.         sha256: c4f95302f88369ac0ac46c67ddbfc70c6c4dbbb184d9fed356244217a2934025
  120.   - name: python3-lz4
  121.     buildsystem: simple
  122.     build-commands:
  123.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  124.         "lz4" --report=pip_report.json --no-build-isolation
  125.     sources:
  126.      - &id007
  127.         type: file
  128.         url: https://files.pythonhosted.org/packages/a4/31/ec1259ca8ad11568abaf090a7da719616ca96b60d097ccc5799cd0ff599c/lz4-4.3.3.tar.gz
  129.         sha256: 01fe674ef2889dbb9899d8a67361e0c4a2c833af5aeb37dd505727cf5d2a131e
  130.   - name: python3-packaging
  131.     buildsystem: simple
  132.     build-commands:
  133.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  134.         "packaging" --report=pip_report.json --no-build-isolation
  135.     sources:
  136.      - *id001
  137.   - name: python3-pillow
  138.     buildsystem: simple
  139.     build-commands:
  140.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  141.         "pillow" --report=pip_report.json --no-build-isolation
  142.     sources:
  143.      - &id004
  144.         type: file
  145.         url: https://files.pythonhosted.org/packages/cd/74/ad3d526f3bf7b6d3f408b73fde271ec69dfac8b81341a318ce825f2b3812/pillow-10.4.0.tar.gz
  146.         sha256: 166c1cd4d24309b30d61f79f4a9114b7b2313d7450912277855ff5dfd7cd4a06
  147.   - name: python3-platformdirs
  148.     buildsystem: simple
  149.     build-commands:
  150.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  151.         "platformdirs" --report=pip_report.json --no-build-isolation
  152.     sources:
  153.      - &id008
  154.         type: file
  155.         url: https://files.pythonhosted.org/packages/56/29/3ec311dc18804409ecf0d2b09caa976f3ae6215559306b5b530004e11156/platformdirs-3.11.0-py3-none-any.whl
  156.         sha256: e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e
  157.   - name: python3-portalocker
  158.     buildsystem: simple
  159.     build-commands:
  160.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  161.         "portalocker" --report=pip_report.json --no-build-isolation
  162.     sources:
  163.      - &id009
  164.         type: file
  165.         url: https://files.pythonhosted.org/packages/9b/fb/a70a4214956182e0d7a9099ab17d50bfcba1056188e9b14f35b9e2b62a0d/portalocker-2.10.1-py3-none-any.whl
  166.         sha256: 53a5984ebc86a025552264b459b46a2086e269b21823cb572f8f28ee759e45bf
  167.   - name: python3-PyMCTranslate
  168.     buildsystem: simple
  169.     build-commands:
  170.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  171.         "PyMCTranslate" --report=pip_report.json --no-build-isolation
  172.     sources:
  173.      - &id005
  174.         type: file
  175.         url: https://files.pythonhosted.org/packages/25/e2/b645189fbdbc4f9cad1db97dfc5b1de230baad9d83dba0f731748bb0fbbd/PyMCTranslate-1.2.27-py3-none-any.whl
  176.         sha256: 724e1fa82dcbcf9289b01fb2cb2ad8ee2f0a987ddda01a766a42ec6aca98769a
  177.       - &id006
  178.         type: file
  179.         url: https://files.pythonhosted.org/packages/00/b9/48aa1754bc30143d7623253ff507986123829e9ae78a266ec34e08c0c544/amulet-nbt-2.1.3.tar.gz
  180.         sha256: a9de4fe068329c7a921f09dd4cec37c25c01ac2abeb4e10000e82e526e36d0fc
  181.       - *id002
  182.       - *id003
  183.   - name: python3-PyOpenGL
  184.     buildsystem: simple
  185.     build-commands:
  186.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  187.         "PyOpenGL" --report=pip_report.json --no-build-isolation
  188.     sources:
  189.      - &id011
  190.         type: file
  191.         url: https://files.pythonhosted.org/packages/99/48/00e31747821d3fc56faddd00a4725454d1e694a8b67d715cf20f531506a5/PyOpenGL-3.1.7-py3-none-any.whl
  192.         sha256: a6ab19cf290df6101aaf7470843a9c46207789855746399d0af92521a0a92b7a
  193.   - name: python3-pyopengl-accelerate
  194.     buildsystem: simple
  195.     build-commands:
  196.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  197.         "pyopengl-accelerate" --report=pip_report.json --no-build-isolation
  198.     sources:
  199.       - type: file
  200.         url: https://files.pythonhosted.org/packages/93/09/d08b3d07dbd88258276496a47273778f330f5ccf8390cb21b16b29d660de/PyOpenGL-accelerate-3.1.7.tar.gz
  201.         sha256: 2b123621273a939f7fd2ec227541e399f9b5d4e815d69ae0bdb1b6c70a293680
  202.   - name: python3-wxPython
  203.     buildsystem: simple
  204.     build-commands:
  205.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  206.         "wxPython" --report=pip_report.json --no-build-isolation
  207.     sources:
  208.      - *id003
  209.       - *id004
  210.       - &id013
  211.         type: file
  212.         url: https://files.pythonhosted.org/packages/aa/64/d749e767a8ce7bdc3d533334e03bb1106fc4e4803d16f931fada9007ee13/wxPython-4.2.1.tar.gz
  213.         sha256: e48de211a6606bf072ec3fa778771d6b746c00b7f4b970eb58728ddf56d13d5c
  214.   - name: python3-amulet-core
  215.     buildsystem: simple
  216.     build-commands:
  217.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  218.         "amulet-core" --report=pip_report.json --no-build-isolation
  219.     sources:
  220.      - *id005
  221.       - *id006
  222.       - &id012
  223.         type: file
  224.         url: https://files.pythonhosted.org/packages/16/df/6ad86c1a64350274a05cf56ecb205e1acea74ea376d7a02c4b34b0251388/amulet_core-1.9.25-py3-none-any.whl
  225.         sha256: a626a09e93112032d8de046cef59b3a87bf02e840930fa7218f5b2caacf29254
  226.       - &id010
  227.         type: file
  228.         url: https://files.pythonhosted.org/packages/8a/69/03882a4a7ed933d1f0c622d93a5b2eef2fa51c4bf8ca1ec84d43b88eb113/amulet_leveldb-1.0.2.tar.gz
  229.         sha256: b3aa511ef71bf6bc6b21e96395bded0f392b1dc093ef58d5535067d80ab41541
  230.       - *id007
  231.       - *id002
  232.       - *id003
  233.       - *id008
  234.       - *id009
  235.   - name: python3-amulet-leveldb
  236.     buildsystem: simple
  237.     build-commands:
  238.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  239.         "amulet-leveldb" --report=pip_report.json --no-build-isolation
  240.     sources:
  241.      - *id010
  242.   - name: python3-amulet-map-editor
  243.     buildsystem: simple
  244.     build-commands:
  245.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  246.         "amulet-map-editor" --report=pip_report.json --no-build-isolation
  247.     sources:
  248.      - *id005
  249.       - *id011
  250.       - *id006
  251.       - *id012
  252.       - *id010
  253.       - type: file
  254.         url: https://files.pythonhosted.org/packages/92/ad/7f808413857992512188eaed55108be7201cf18defcd36e8ed9fe9d9c3fc/amulet_map_editor-0.10.35.tar.gz
  255.         sha256: d9a24afa04fc4be3ca029d5ef1bb394b32497533d4e176e3d742f43edab6319a
  256.       - *id007
  257.       - &id014
  258.         type: file
  259.         url: https://files.pythonhosted.org/packages/1e/07/bf65fcbb5f66c0e961ff4233023b6ffc65e69f6996251f5a0f1e94e6e65d/minecraft_resource_pack-1.4.3-py3-none-any.whl
  260.         sha256: 672ff157bdb9ccfcbc445393d2e4603cf0d32e320bbc8e7bb5082e855ff3155f
  261.       - *id002
  262.       - *id003
  263.       - *id001
  264.       - *id004
  265.       - *id008
  266.       - *id009
  267.       - *id013
  268.   - name: python3-amulet-nbt
  269.     buildsystem: simple
  270.     build-commands:
  271.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  272.         "amulet-nbt" --report=pip_report.json --no-build-isolation
  273.     sources:
  274.      - *id006
  275.       - *id002
  276.       - *id003
  277.   - name: python3-minecraft-resource-pack
  278.     buildsystem: simple
  279.     build-commands:
  280.      - pip3 install --verbose --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST}
  281.         "minecraft-resource-pack" --report=pip_report.json --no-build-isolation
  282.     sources:
  283.      - *id006
  284.       - *id014
  285.       - *id002
  286.       - *id003
  287.       - *id004
  288.       - *id008
  289.  
  290. icon:
  291.   name: com.github.amulet_map_editor
  292.   src: data/icons/amulet.png
  293.  
  294. desktop-file:
  295.   name: Amulet Minecraft Editor
  296.   comment: A powerful Minecraft editor
  297.   exec: flatpak run com.github.amulet_map_editor
  298.   icon: amulet
  299.   terminal: true
  300.   type: Application
  301.   categories: [Game, Graphics]
  302.   startup-wm-class: AmuletMapEditor
  303.  
  304. finish:
  305.  # Enable host's drivers for OpenGL
  306.   add-exports:
  307.    - /usr/lib/x86_64-linux-gnu/mesa
  308.   # Allow access to the host's OpenGL drivers
  309.   allow:
  310.    - ipc
  311.     - network
  312.     - x11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement