diff --git a/dub.json b/dub.json index b5d2bd5..134f178 100644 --- a/dub.json +++ b/dub.json @@ -11,6 +11,7 @@ ":nanovega": "*", ":email": "*", ":image_files": "*", + ":png": "*", ":htmltotext": "*", ":dom": "*", ":characterencodings": "*", @@ -84,12 +85,35 @@ }, { "name": "image_files", - "description": "Image file format support - PNG read/write, JPEG, TGA, BMP, PCX, TGA, DDS read.", + "description": "Various image file format support - PNG read/write, JPEG, TGA, BMP, PCX, TGA, DDS read.", "importPaths": ["."], - "targetType": "sourceLibrary", - "dependencies": {"arsd-official:color_base":"*"}, - "sourceFiles": ["image.d", "png.d", "bmp.d", "jpeg.d", "targa.d", "pcx.d", "dds.d"] + "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",