icecc / icemon

Icecream GUI Monitor
http://kfunk.org/tag/icemon/
GNU General Public License v2.0
88 stars 34 forks source link

Creating A Flatpak #70

Open davidedmundson opened 1 month ago

davidedmundson commented 1 month ago

I have created a flatpak for icemon. It's pretty straightforward.

I wish to put it on flathub, is it ok to use the name org.github.icecc.icemon ? Or would you prefer I put it under a custom personal namespace?

I don't want to do any identity theft nor steal credit for the work here. Let me know and I'll take care of the rest.

{
    "id": "org.github.icecc.icemon",
    "runtime": "org.kde.Platform",
    "runtime-version": "5.15-23.08",
    "sdk": "org.kde.Sdk",
    "command": "icemon",
    "rename-icon": "icemon",
    "rename-desktop-file": "icemon.desktop",
    "finish-args": [
        "--device=dri",
        "--share=network",
        "--socket=fallback-x11",
        "--socket=wayland"
    ],
    "modules": [
            {
                name: "lzop",
                "buildsystem": "autotools",
                "sources": [
                    {
                        "type": "archive",
                        "url": "http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz",
                        "sha1" : "4924676a9bae5db58ef129dc1cebce3baa3c4b5d"
                    }
                ]
            },
            {
            "name": "icecc",
            "buildsystem": "autotools",
            "config-opts": [
                "--with-libcap_ng=NO"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/icecc/icecream/releases/download/1.4/icecc-1.4.0.tar.gz",
                    "sha256": "884caebb93afa096e6d881677b9a432ae528bab297725f1d737a463ab45ba393",
                }
            ]
        },
        {
            "name": "icemon",
            "buildsystem": "cmake-ninja",
            "config-opts": [
                "-DINSTALL_ICONS=ON"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/icecc/icemon/releases/download/v3.3/icemon-3.3.tar.xz",
                    "sha256": "8bb6d92a459b07404afc9f4a46af109446ea337f1aca5718f04af4213f014f38",
                }
            ]
        }
    ]
}