arsd/dub.json

296 lines
8.1 KiB
JSON

{
"name": "arsd-official",
"targetType": "library",
"importPaths": ["."],
"sourceFiles": ["package.d"],
"description": "Subpackage collection for web, database, terminal ui, gui, scripting, and more.",
"authors": ["Adam D. Ruppe"],
"license":"BSL-1.0",
"dependencies": {
":simpledisplay": "*",
":minigui": "*",
":nanovega": "*",
":email": "*",
":image_files": "*",
":png": "*",
":htmltotext": "*",
":dom": "*",
":characterencodings": "*",
":cgi": "*",
":mysql": "*",
":postgres": "*",
":sqlite": "*",
":mssql": "*",
":http": "*",
":jsvar": "*",
":script": "*",
":terminal": "*",
":ttf": "*",
":color_base": "*",
":database_base": "*"
},
"subPackages": [
{
"name": "simpledisplay",
"description": "Window creation and basic drawing",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.simpledisplay=simpledisplay.d"],
"dependencies": {"arsd-official:color_base":"*"},
"configurations": [
{
"name": "normal",
"libs-posix": ["X11", "Xext", "GL", "GLU"],
"libs-windows": ["gdi32", "opengl32", "glu32"]
},
{
"name": "without-opengl",
"versions": ["without_opengl"],
"libs-windows": ["gdi32"],
"libs-posix": ["X11", "Xext"]
}
],
"sourceFiles": ["simpledisplay.d"]
},
{
"name": "minigui",
"description": "Small GUI widget library for Windows and Linux",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.minigui=minigui.d"],
"dependencies": {"arsd-official:simpledisplay":"*"},
"sourceFiles": ["minigui.d"]
},
{
"name": "nanovega",
"description": "Vector graphics library",
"targetType": "library",
"dflags": ["-mv=arsd.nanovega=nanovega.d"],
"dependencies": {
"arsd-official:simpledisplay":"*",
"arsd-official:image_files":"*",
"arsd-official:ttf":"*"
},
"importPaths": ["."],
"libs-posix": ["freetype", "fontconfig"],
"sourceFiles": ["nanovega.d", "blendish.d", "svg.d"]
},
{
"name": "email",
"description": "Email helper library, both sending MIME messages and parsing incoming mbox/maildir messages",
"targetType": "library",
"importPaths": ["."],
"dependencies": {"arsd-official:htmltotext":"*"},
"dflags": ["-mv=arsd.email=email.d"],
"sourceFiles": ["email.d"]
},
{
"name": "image_files",
"description": "Various image file format support - PNG read/write, JPEG, TGA, BMP, PCX, TGA, DDS read.",
"importPaths": ["."],
"targetType": "library",
"dependencies": {
"arsd-official:color_base":"*",
"arsd-official:png":"*"
},
"dflags": [
"-mv=arsd.image=image.d",
"-mv=arsd.bmp=bmp.d",
"-mv=arsd.jpeg=jpeg.d",
"-mv=arsd.targa=targa.d",
"-mv=arsd.pcx=pcx.d",
"-mv=arsd.dds=dds.d"
],
"sourceFiles": ["image.d", "bmp.d", "jpeg.d", "targa.d", "pcx.d", "dds.d"]
},
{
"name": "png",
"description": "PNG file format support",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.png=png.d"],
"dependencies": {
"arsd-official:color_base":"*"
},
"sourceFiles": ["png.d"]
},
{
"name": "htmltotext",
"description": "HTML to plain text conversion",
"importPaths": ["."],
"targetType": "library",
"dependencies": {"arsd-official:dom":"*", "arsd-official:color_base":"*"},
"dflags": ["-mv=arsd.htmltotext=htmltotext.d"],
"sourceFiles": ["htmltotext.d"]
},
{
"name": "dom",
"description": "HTML tag soup DOM library",
"targetType": "library",
"dependencies": {"arsd-official:characterencodings":"*"},
"importPaths": ["."],
"dflags": ["-mv=arsd.dom=dom.d"],
"sourceFiles": ["dom.d"]
},
{
"name": "rss",
"description": "RSS/Atom parsing",
"targetType": "library",
"dependencies": {"arsd-official:dom":"*"},
"importPaths": ["."],
"dflags": ["-mv=arsd.rss=rss.d"],
"sourceFiles": ["rss.d"]
},
{
"name": "characterencodings",
"description": "Character encodings to UTF-8",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.characterencodings=characterencodings.d"],
"sourceFiles": ["characterencodings.d"]
},
{
"name": "cgi",
"description": "web server library with cgi, fastcgi, scgi, and embedded http server support",
"targetType": "library",
"sourceFiles": ["cgi.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.cgi=cgi.d"],
"configurations": [
{
"name": "embedded_httpd",
"versions": ["embedded_httpd"]
},
{
"name": "cgi",
"versions": ["traditional_cgi"]
},
{
"name": "fastcgi",
"versions": ["fastcgi"],
"libs": ["fcgi"]
},
{
"name": "scgi",
"versions": ["scgi"]
}
]
},
{
"name": "mysql",
"description": "MySQL client library. Wraps the official C library with my database.d interface.",
"targetType": "library",
"dependencies": {"arsd-official:database_base":"*"},
"libs-posix": ["mysqlclient"],
"libs-windows": ["libmysql"],
"sourceFiles": ["mysql.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.mysql=mysql.d"]
},
{
"name": "postgres",
"description": "Postgresql client library. Wraps the libpq C library with my database.d interface.",
"targetType": "library",
"dependencies": {"arsd-official:database_base":"*"},
"libs": ["pq"],
"sourceFiles": ["postgres.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.postgres=postgres.d"]
},
{
"name": "sqlite",
"description": "sqlite wrapper. Wraps the official C library with my database.d interface.",
"targetType": "library",
"dependencies": {"arsd-official:database_base":"*"},
"libs": ["sqlite3"],
"libs-posix": ["dl"],
"sourceFiles": ["sqlite.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.sqlite=sqlite.d"]
},
{
"name": "mssql",
"description": "Microsoft SQL Server client library. Wraps the official ODBC library with my database.d interface.",
"targetType": "library",
"dependencies": {"arsd-official:database_base":"*"},
"libs-windows": ["odbc32"],
"sourceFiles": ["mssql.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.mssql=mssql.d"]
},
{
"name": "http",
"description": "HTTP client library. Depends on OpenSSL right now on all platforms. On 32 bit Windows, you may need to get OMF openssl lib and dlls (ask me if you can't find it)",
"targetType": "library",
"sourceFiles": ["http2.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.http2=http2.d"],
"configurations": [
{
"name": "with_openssl",
"versions": ["with_openssl"],
"libs": ["crypto", "ssl"]
},
{
"name": "without_openssl",
"versions": ["without_openssl"]
}
]
},
{
"name": "jsvar",
"description": "Javascript-like object in D, capable of json read/write/manipulation.",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.jsvar=jsvar.d"],
"sourceFiles": ["jsvar.d"]
},
{
"name": "script",
"description": "Small Javascript-like script interpreter with easy D API",
"targetType": "library",
"dependencies": {"arsd-official:jsvar":"*"},
"importPaths": ["."],
"dflags": ["-mv=arsd.script=script.d"],
"sourceFiles": ["script.d"]
},
{
"name": "terminal",
"description": "Cross-platform Terminal I/O with color, mouse support, real time input, etc.",
"targetType": "library",
"sourceFiles": ["terminal.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.terminal=terminal.d"]
},
{
"name": "ttf",
"description": "port of stb_ttf to D",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.ttf=ttf.d"],
"sourceFiles": ["ttf.d"]
},
{
"name": "color_base",
"description": "Base color, point, image interface definitions",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.color=color.d"],
"sourceFiles": ["color.d"]
},
{
"name": "database_base",
"description": "Basic database interface definitions. Use one (or more) of the drivers like arsd-official:mysql or arsd-official:postgres instead",
"targetType": "library",
"sourceFiles": ["database.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.database=database.d"]
}
]
}