forked from adamdruppe/arsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.json
555 lines (548 loc) · 16 KB
/
dub.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
{
"name": "arsd-official",
"targetType": "library",
"importPaths": ["."],
"sourceFiles": ["package.d"],
"description": "Subpackage collection for web, database, terminal ui, gui, scripting, and more with a commitment to long-term compatibility and stability. Use individual subpackages instead of the overall package to avoid bringing in things you don't need/want!",
"authors": ["Adam D. Ruppe"],
"license":"BSL-1.0",
"subPackages": [
{
"name": "simpledisplay",
"description": "Window creation and basic drawing",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.simpledisplay=simpledisplay.d"],
"lflags-osx": ["-L/usr/X11/lib"],
"dependencies": {"arsd-official:color_base":"*"},
"configurations": [
{
"name": "normal",
"libs-windows": ["gdi32", "ole32"]
},
{
"name": "without-opengl",
"versions": ["without_opengl"],
"libs-windows": ["gdi32", "ole32"]
},
{
"name": "cocoa",
"versions-osx": [ "OSXCocoa", "allow_unimplemented_features", "without_opengl" ],
"lflags-osx": ["-framework", "Cocoa"]
}
],
"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:svg":"*",
"arsd-official:ttf":"*"
},
"importPaths": ["."],
"libs-posix": ["freetype", "fontconfig"],
"sourceFiles": ["nanovega.d", "blendish.d"]
},
{
"name": "minigui-nanovega",
"description": "Nanovega widget add-on for minigui. New in v9.2.",
"targetType": "library",
"dflags": ["-mv=arsd.minigui_addons.nanovega=minigui_addons/nanovega.d"],
"dependencies": {
"arsd-official:minigui":"*",
"arsd-official:nanovega":"*"
},
"importPaths": ["."],
"sourceFiles": ["minigui_addons/nanovega.d"]
},
{
"name": "minigui-terminal_emulator_widget",
"description": "Terminal emulator widget add-on for minigui. New to dub in v10.5.",
"targetType": "library",
"dflags": ["-mv=arsd.minigui_addons.terminal_emulator_widget=minigui_addons/terminal_emulator_widget.d"],
"dependencies": {
"arsd-official:minigui":"*",
"arsd-official:terminalemulator":"*"
},
"importPaths": ["."],
"sourceFiles": ["minigui_addons/terminal_emulator_widget.d"]
},
{
"name": "minigui-color_dialog",
"description": "Color picker dialog add-on for minigui. New to dub in v10.5.",
"targetType": "library",
"dflags": ["-mv=arsd.minigui_addons.color_dialog=minigui_addons/color_dialog.d"],
"dependencies": {
"arsd-official:minigui":"*"
},
"importPaths": ["."],
"sourceFiles": ["minigui_addons/color_dialog.d"]
},
{
"name": "minigui-webview",
"description": "Webview widget add-on for minigui. New to dub in v10.5 but NOT STABLE in that release and it will break at random without notice until I say it is stable.",
"targetType": "library",
"dflags": ["-mv=arsd.minigui_addons.webview=minigui_addons/webview.d", "-mv=arsd.webview=webview.d"],
"dependencies": {
"arsd-official:minigui":"*"
},
"importPaths": ["."],
"sourceFiles": ["minigui_addons/webview.d", "webview.d"]
},
{
"name": "gamehelpers",
"description": "Assorted game-related structs and algorithms",
"targetType": "library",
"dflags": ["-mv=arsd.gamehelpers=gamehelpers.d"],
"importPaths": ["."],
"sourceFiles": ["gamehelpers.d"]
},
{
"name": "joystick",
"description": "joystick reading for Windows XInput and Linux",
"targetType": "library",
"dflags": ["-mv=arsd.joystick=joystick.d"],
"importPaths": ["."],
"sourceFiles": ["joystick.d"]
},
{
"name": "fibersocket",
"description": "Phobos-based fiber socket async i/o subclass",
"targetType": "library",
"dflags": ["-mv=arsd.fibersocket=fibersocket.d"],
"importPaths": ["."],
"sourceFiles": ["fibersocket.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": "mailserver",
"description": "Bare-bones incoming-only smtp server",
"targetType": "library",
"importPaths": ["."],
"dependencies": {"arsd-official:email":"*"},
"dflags": ["-mv=arsd.mailserver=mailserver.d"],
"sourceFiles": ["mailserver.d"]
},
{
"name": "image_files",
"description": "Various image file format support - PNG read/write, JPEG, TGA, BMP, PCX, TGA, DDS read and SVG rasterization.",
"importPaths": ["."],
"targetType": "library",
"dependencies": {
"arsd-official:color_base":"*",
"arsd-official:png":"*",
"arsd-official:bmp":"*",
"arsd-official:svg":"*",
"arsd-official:jpeg":"*",
"arsd-official:imageresize":"*"
},
"dflags": [
"-mv=arsd.image=image.d",
"-mv=arsd.targa=targa.d",
"-mv=arsd.pcx=pcx.d",
"-mv=arsd.dds=dds.d"
],
"sourceFiles": ["image.d", "targa.d", "pcx.d", "dds.d"]
},
{
"name": "imageresize",
"description": "Image resizer for color.d's MemoryImage",
"importPaths": ["."],
"dependencies": {
"arsd-official:color_base":"*"
},
"targetType": "library",
"dflags": ["-mv=arsd.imageresize=imageresize.d"],
"sourceFiles": ["imageresize.d"]
},
{
"name": "simpleaudio",
"description": "Simple audio+midi playback and capture for Windows and Linux",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.simpleaudio=simpleaudio.d"],
"libs-windows": ["winmm"],
"libs-linux": ["asound"],
"sourceFiles": ["simpleaudio.d"]
},
{
"name": "midi",
"description": "midi file format classes",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.midi=midi.d"],
"sourceFiles": ["midi.d"]
},
{
"name": "midiplayer",
"description": "turn-key midi player library",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.midiplayer=midiplayer.d"],
"sourceFiles": ["midiplayer.d"],
"dependencies": {
"arsd-official:simpleaudio":"*",
"arsd-official:midi":"*"
}
},
{
"name": "nukedopl3",
"description": "nukedopl3 emulator port, required by simpleaudio's playEmulatedOpl3Midi functio",
"license": "GPL",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.nukedopl3=nukedopl3.d"],
"sourceFiles": ["nukedopl3.d"]
},
{
"name": "mp3",
"license": "GPL",
"description": "MP3 decoder. Required if you use simpleaudio's playMp3 function",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.mp3=mp3.d"],
"sourceFiles": ["mp3.d"]
},
{
"name": "vorbis",
"description": "Ogg vorbis decoder. Required if you use simpleaudio's playOgg function",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.vorbis=vorbis.d"],
"sourceFiles": ["vorbis.d"]
},
{
"name": "wav",
"description": "wav file format read and write",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.wav=wav.d"],
"sourceFiles": ["wav.d"]
},
{
"name": "svg",
"description": "Dependency-free partial SVG file format read support",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.svg=svg.d"],
"sourceFiles": ["svg.d"]
},
{
"name": "jpeg",
"description": "Dependency-free partial JPEG file format read and write support",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.jpeg=jpeg.d"],
"dependencies": {
"arsd-official:color_base":"*"
},
"sourceFiles": ["jpeg.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": "bmp",
"description": "BMP file format support",
"importPaths": ["."],
"targetType": "library",
"dflags": ["-mv=arsd.bmp=bmp.d"],
"dependencies": {
"arsd-official:color_base":"*"
},
"sourceFiles": ["bmp.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": "argon2",
"description": "Binding to the argon2 password hashing C library",
"targetType": "library",
"importPaths": ["."],
"libs": ["argon2"],
"dflags": ["-mv=arsd.argon2=argon2.d"],
"sourceFiles": ["argon2.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": "embedded_httpd_threads",
"versions": ["embedded_httpd_threads"]
},
{
"name": "embedded_httpd_processes",
"versions": ["embedded_httpd_processes"]
},
{
"name": "embedded_httpd_hybrid",
"versions": ["embedded_httpd_hybrid"]
},
{
"name": "cgi",
"versions": ["traditional_cgi"]
},
{
"name": "fastcgi",
"versions": ["fastcgi"],
"libs": ["fcgi"]
},
{
"name": "scgi",
"versions": ["scgi"]
},
{
"name": "stdio_http",
"versions": ["stdio_http"]
}
]
},
{
"name": "mysql",
"license":"GPL-2.0 or later",
"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"]
},
{
"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": "jni",
"description": "Provides easy interop with Java via JNI.",
"targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.jni=jni.d"],
"sourceFiles": ["jni.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",
"libs-windows": ["user32"],
"sourceFiles": ["terminal.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.terminal=terminal.d"],
"configurations": [
{
"name": "normal"
},
{
"name": "builtin_emulator",
"versions": ["TerminalDirectToEmulator"],
"dependencies": {
"arsd-official:terminalemulator": "*",
"arsd-official:minigui": "*",
"arsd-official:png":"*",
"arsd-official:jpeg":"*",
"arsd-official:svg":"*",
"arsd-official:bmp":"*"
}
}
]
},
{
"name": "terminalemulator",
"description": "A terminal emulation core as an in-memory library. Also includes mixin templates to assist with creating UIs, etc.",
"targetType": "library",
"importPaths": ["."],
"libs-posix": ["util"],
"sourceFiles": ["terminalemulator.d"],
"dflags": ["-mv=arsd.terminalemulator=terminalemulator.d"],
"dependencies": {
"arsd-official:color_base":"*"
}
},
{
"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"]
},
{
"name": "libssh2_bindings",
"description": "My bindings to libssh2",
"targetType": "library",
"sourceFiles": ["libssh2.d"],
"importPaths": ["."],
"libs-posix": ["ssh2"],
"libs-windows": ["libssh2"],
"dflags": ["-mv=arsd.libssh2=libssh2.d"]
},
{
"name": "eventloop",
"description": "My DEPRECATED event loop. Do NOT use in new programs, only offered here because I use it in a lot of old programs.",
"targetType": "sourceLibrary",
"versions": ["with_eventloop"],
"sourceFiles": ["eventloop.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.eventloop=eventloop.d"]
},
{
"name": "archive",
"description": "Archive file support - tar, tar.xz decoders, and custom format \"arcz\" encoding and decoding. Self-contained.",
"targetType": "library",
"sourceFiles": ["archive.d"],
"importPaths": ["."],
"dflags": ["-mv=arsd.archive=archive.d"]
}
]
}