{
    "app-id": "net.mediaarea.mediainfo-gui",
    "sdk": "org.gnome.Sdk",
    "runtime": "org.gnome.Platform",
    "runtime-version": "3.22",
    "command": "mediainfo-gui",
    "rename-desktop-file": "mediainfo-gui.desktop",
    "rename-appdata-file": "mediainfo-gui.metainfo.xml",
    "rename-icon": "mediainfo",
    "finish-args": [ "--filesystem=host",
                     "--share=network",
                     "--socket=wayland",
                     "--socket=x11",
                     "--share=ipc" ],

    "modules": [
        {
            "name": "wxwidgets",
            "cleanup": [ "/bin", "/include", "/share", "/lib/wx" ],
            "config-opts": [ "--enable-shared", "--disable-static", "--enable-monolithic", "--enable-unicode" ],
            "sources": [ 
                {  "type": "git", "url": "https://github.com/wxWidgets/wxWidgets", "branch": "v3.0.2" } 
            ]
        },
        {
            "name": "libzen",
            "subdir": "Project/GNU/Library",
            "config-opts": [ "--enable-shared", "--disable-static" ],
            "cleanup": [ "/bin", "/include", "/lib/pkgconfig" ],
            "sources": [
                { "type": "git", "url": "https://github.com/MediaArea/ZenLib.git" }
            ]
        },
        {
            "name": "libmediainfo",
            "subdir": "Project/GNU/Library",
            "config-opts": [ "--enable-shared", "--disable-static" ],
            "cleanup": [ "/bin", "/include", "/lib/pkgconfig" ],
            "sources": [
                { "type": "git", "url": "https://github.com/MediaArea/MediaInfoLib.git" }
            ]
        },
        {
            "name": "mediainfo-gui",
            "subdir": "Project/GNU/GUI",
            "sources": [
                { "type": "git", "url": "https://github.com/MediaArea/MediaInfo.git" }
            ]
        }
    ]
}
