Prepare for flathub more

by roundabout, Wednesday, 25 December 2024, 13:18:55 (1735132735), pushed by roundabout, Wednesday, 25 December 2024, 13:19:00 (1735132740)

Author identity: vlad <vlad.muntoiu@gmail.com>

7c144c4bac81ef6c047e90ca0fd1921b0947bf98

com.roundabout_host.Izvor.yaml

@@ -18,40 +18,18 @@ modules:

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                build-commands:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - unset GTK_MODULES
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - mkdir -p /app/bin /app/share/izvor
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - cp -r ./* /app/share/izvor/
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - cp -r ./src/* /app/share/izvor/
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - chmod +x /app/share/izvor/__init__.py
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - ln -s /app/share/izvor/__init__.py /app/bin/izvor
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            sources:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: dir
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                path: src
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          - name: izvor_utils
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            buildsystem: simple
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            build-commands:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - mkdir -p /app/lib/python3.12/site-packages/izvor_utils
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - cp -r . /app/lib/python3.12/site-packages/izvor_utils/
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            sources:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: dir
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                path: izvor_utils
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          - name: icon
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            buildsystem: simple
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            build-commands:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - cp -r ./izvor_utils /app/lib/python3.12/site-packages/izvor_utils/
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - mkdir -p /app/share/icons/hicolor/scalable/apps
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - cp com.roundabout_host.Izvor.svg /app/share/icons/hicolor/scalable/apps/
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            sources:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: file
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                path: com.roundabout_host.Izvor.svg
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          - name: metainfo
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            buildsystem: simple
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            build-commands:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - install -Dm644 com.roundabout_host.Izvor.metainfo.xml /app/share/metainfo/com.roundabout_host.Izvor.metainfo.xml
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            sources:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: file
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                path: com.roundabout_host.Izvor.metainfo.xml
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          - name: desktop
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            buildsystem: simple
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            build-commands:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - mkdir -p /app/share/applications
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - cp com.roundabout_host.Izvor.desktop /app/share/applications/
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                sources:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: file
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                path: com.roundabout_host.Izvor.desktop
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                              - type: git
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                url: https://roundabout-host.com/git/roundabout/izvor
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                tag: v1.0.0
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                commit: 040d7899f010a2346c03b9eb28b896f3e356ad16
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

pypi-dependencies.json

@@ -0,0 +1,78 @@

                                
                                
                                
                            
                                
                                    
                                        
                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "name": "python3-requirements-flatpak",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "buildsystem": "simple",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "build-commands": [],
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            "modules": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "name": "python3-pyxdg",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "buildsystem": "simple",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "build-commands": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyxdg\" --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-asyncio-glib",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "buildsystem": "simple",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "build-commands": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"asyncio-glib\" --no-build-isolation"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ],
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "sources": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/90/ca/60ae11d48c276a5109953b056e78586aecfc7f1fa943ca5f934242bb649f/asyncio_glib-0.1-py3-none-any.whl",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "cae91a7b5f694927b04b452892c4ad2ec5296ab0d2462587a7d317bdf45ee9b7"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        },
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/07/4a/42b26390181a7517718600fa7d98b951da20be982a50cd4afb3d46c2e603/pycairo-1.27.0.tar.gz",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        },
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/2b/58/d34e67a79631177e3c08e7d02b5165147f590171f2cae6769502af5f7f7e/pygobject-3.50.0.tar.gz",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "4500ad3dbf331773d8dedf7212544c999a76fc96b63a91b3dcac1e5925a1d103"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ]
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                },
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "name": "python3-pygobject",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "buildsystem": "simple",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "build-commands": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pygobject\" --no-build-isolation"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ],
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "sources": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/07/4a/42b26390181a7517718600fa7d98b951da20be982a50cd4afb3d46c2e603/pycairo-1.27.0.tar.gz",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        },
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/2b/58/d34e67a79631177e3c08e7d02b5165147f590171f2cae6769502af5f7f7e/pygobject-3.50.0.tar.gz",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "4500ad3dbf331773d8dedf7212544c999a76fc96b63a91b3dcac1e5925a1d103"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ]
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                },
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "name": "python3-pycairo",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "buildsystem": "simple",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "build-commands": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pycairo\" --no-build-isolation"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ],
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    "sources": [
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        {
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "type": "file",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "url": "https://files.pythonhosted.org/packages/07/4a/42b26390181a7517718600fa7d98b951da20be982a50cd4afb3d46c2e603/pycairo-1.27.0.tar.gz",
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            "sha256": "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430"
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                        }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    ]
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                }
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            ]
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        }