{
    "name": "dlangui",
    "description": "Cross platform GUI for D. Layouts, styles, themes, unicode, i18n, OpenGL, widgets. Android support.",
    "homepage": "https://github.com/buggins/dlangui",
    "license": "Boost",
    "authors": ["Vadim Lopatin"],

    "targetName": "dlangui",
    "targetPath": "lib",
    "targetType": "staticLibrary",

    "sourcePaths": [
        "3rdparty", "src"
    ],

    "importPaths": [
        "3rdparty", "src"
    ],

    "libs-linux": ["z"],
 
    "stringImportPaths": [
        "views"
    ],

    "-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.",
        "--ex", "dimage.", "--ex", "fontconfig", "--ex", "src.dlangui"],

    "sourceFiles-windows-x86-dmd": ["$PACKAGE_DIR/src/win_app.def"],
    "excludedSourceFiles-windows": ["3rdparty/fontconfig/*"],

    "subPackages": [
        "./examples/helloworld/",
        "./examples/example1/",
        "./examples/dmledit/",
        "./examples/d3d/",
        "./examples/dminer/",
        "./examples/tetris/",
        "./examples/opengl/",
        "./examples/ircclient/",
        "./examples/spreadsheet/"
    ],

    "configurations": [
        {
            "name": "default",
            "versions": ["USE_OPENGL", "EmbedStandardResources"],
            "versions-posix": ["USE_SDL", "USE_FREETYPE"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "derelict-gl3": "~>1.0.18",
                "derelict-ft": "~>1.1.2"
            },
            "dependencies-posix": {
                "derelict-sdl2": "~>2.0.0"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll"
            ]
        },
        {
            "name": "console",
            "versions": ["USE_CONSOLE", "EmbedStandardResources"],
            "excludedSourceFiles": ["3rdparty/*"]
        },
        {
            "name": "external",
            "versions": ["USE_EXTERNAL"],
            "excludedSourceFiles": ["3rdparty/*"]
        },
        {
            "name": "minimal",
            "versions": ["EmbedStandardResources", "ForceLogs"],
            "versions-posix": ["USE_SDL", "USE_FREETYPE", "NO_OPENGL"],
            "versions-windows": ["Unicode" ,"NO_OPENGL"],
            "dependencies-posix": {
                "derelict-gl3": "~>1.0.18",
                "derelict-sdl2": "~>2.0.0",
                "derelict-ft": "~>1.1.2"
            }
        },
        {
            "name": "sdl",
            "versions": ["USE_SDL", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "derelict-gl3": "~>1.0.18",
                "derelict-ft": "~>1.1.2",
                "derelict-sdl2": "~>2.0.0"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll", 
                "libs/windows/x86_64/SDL2.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll", 
                "libs/windows/x86/SDL2.dll"
            ]
        },
        {
            "name": "x11",
            "versions": ["USE_X11", "USE_FREETYPE", "EmbedStandardResources"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "derelict-gl3": "~>1.0.18",
                "derelict-ft": "~>1.1.2",
                "x11": "~>1.0.13"
            }
        },
        {
            "name": "sfml",
            "versions": ["USE_DSFML", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "derelict-gl3": "~>1.0.18",
                "derelict-ft": "~>1.1.2",
                "dsfml": "~>2.1.0"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll"
            ]
        }
    ]
}
