~comcloudway/melon

cec6e85dc958627f05b1b6772e997426ebd64016 — Jakob Meier 6 months ago e814f50
add experimental flatpak manifest
M .gitignore => .gitignore +1 -0
@@ 1,2 1,3 @@
**/__pycache__
build/
.flatpak-builder

A flatpak/icu.ccw.Melon.json => flatpak/icu.ccw.Melon.json +42 -0
@@ 0,0 1,42 @@
{
    "app-id" : "icu.ccw.melon",
    "runtime" : "org.gnome.Platform",
    "runtime-version" : "45",
    "sdk" : "org.gnome.Sdk",
    "command" : "melon",
    "finish-args" : [
        "--share=network",
        "--share=ipc",
        "--socket=fallback-x11",
        "--device=dri",
        "--socket=wayland"
    ],
    "cleanup" : [
        "/include",
        "/lib/pkgconfig",
        "/man",
        "/share/doc",
        "/share/gtk-doc",
        "/share/man",
        "/share/pkgconfig",
        "*.la",
        "*.a"
    ],
    "modules" : [
        "python3-beautifulsoup4.json",
        "python3-lxml.json",
        "python3-requests.json",
        "python3-unidecode.json",
        {
            "name" : "melon",
            "builddir" : true,
            "buildsystem" : "meson",
            "sources" : [
                {
                "type": "dir",
                "path": ".."
            }
            ]
        }
    ]
}

A flatpak/python3-beautifulsoup4.json => flatpak/python3-beautifulsoup4.json +19 -0
@@ 0,0 1,19 @@
{
    "name": "python3-beautifulsoup4",
    "buildsystem": "simple",
    "build-commands": [
        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"beautifulsoup4\" --no-build-isolation"
    ],
    "sources": [
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/4c/f3/038b302fdfbe3be7da016777069f26ceefe11a681055ea1f7817546508e3/soupsieve-2.5-py3-none-any.whl",
            "sha256": "eaa337ff55a1579b6549dc679565eac1e3d000563bcb1c8ab0d0fefbc0c2cdc7"
        },
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/57/f4/a69c20ee4f660081a7dedb1ac57f29be9378e04edfcb90c526b923d4bebc/beautifulsoup4-4.12.2-py3-none-any.whl",
            "sha256": "bd2520ca0d9d7d12694a53d44ac482d181b4ec1888909b035a3dbf40d0f57d4a"
        }
    ]
}

A flatpak/python3-lxml.json => flatpak/python3-lxml.json +14 -0
@@ 0,0 1,14 @@
{
    "name": "python3-lxml",
    "buildsystem": "simple",
    "build-commands": [
        "pip3 install --ignore-installed --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"lxml\""
    ],
    "sources": [
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/30/39/7305428d1c4f28282a4f5bdbef24e0f905d351f34cf351ceb131f5cddf78/lxml-4.9.3.tar.gz",
            "sha256": "48628bd53a426c9eb9bc066a923acaa0878d1e86129fd5359aee99285f4eed9c"
        }
    ]
}

A flatpak/python3-requests.json => flatpak/python3-requests.json +34 -0
@@ 0,0 1,34 @@
{
    "name": "python3-requests",
    "buildsystem": "simple",
    "build-commands": [
        "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"requests\" --no-build-isolation"
    ],
    "sources": [
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/d2/f4/274d1dbe96b41cf4e0efb70cbced278ffd61b5c7bb70338b62af94ccb25b/requests-2.28.2-py3-none-any.whl",
            "sha256": "64299f4909223da747622c030b781c0d7811e359c37124b4bd368fb8c6518baa"
        },
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl",
            "sha256": "90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"
        },
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/71/4c/3db2b8021bd6f2f0ceb0e088d6b2d49147671f25832fb17970e9b583d742/certifi-2022.12.7-py3-none-any.whl",
            "sha256": "4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18"
        },
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/7b/f5/890a0baca17a61c1f92f72b81d3c31523c99bec609e60c292ea55b387ae8/urllib3-1.26.15-py2.py3-none-any.whl",
            "sha256": "aa751d169e23c7479ce47a0cb0da579e3ede798f994f5816a74e4f4500dcea42"
        },
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/ff/d7/8d757f8bd45be079d76309248845a04f09619a7b17d6dfc8c9ff6433cac2/charset-normalizer-3.1.0.tar.gz",
            "sha256": "34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"
        }
    ]
}

A flatpak/python3-unidecode.json => flatpak/python3-unidecode.json +14 -0
@@ 0,0 1,14 @@
{
    "name": "python3-unidecode",
    "buildsystem": "simple",
    "build-commands": [
        "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} unidecode"
    ],
    "sources": [
        {
            "type": "file",
            "url": "https://files.pythonhosted.org/packages/d0/42/d9edfed04228bacea2d824904cae367ee9efd05e6cce7ceaaedd0b0ad964/Unidecode-1.1.1-py2.py3-none-any.whl",
            "sha256": "1d7a042116536098d05d599ef2b8616759f02985c85b4fef50c78a5aaf10822a"
        }
    ]
}

M meson.build => meson.build +0 -1
@@ 43,6 43,5 @@ subdir('bin')
# Run required post-install steps
gnome.post_install(
    gtk_update_icon_cache: true,
    glib_compile_schemas: true,
    update_desktop_database: true,
)