From 4a08ece9e49f9b8c67fe0b96b2c9833fda1f2cf2 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sun, 22 Mar 2020 22:31:19 -0400 Subject: [PATCH] moar subpackages!!!!!1one --- dub.json | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/dub.json b/dub.json index c52c80b..a70f177 100644 --- a/dub.json +++ b/dub.json @@ -98,17 +98,17 @@ "targetType": "library", "dependencies": { "arsd-official:color_base":"*", - "arsd-official:png":"*" + "arsd-official:png":"*", + "arsd-official:bmp":"*", + "arsd-official:jpeg":"*" }, "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"] + "sourceFiles": ["image.d", "targa.d", "pcx.d", "dds.d"] }, { "name": "svg", @@ -116,10 +116,18 @@ "importPaths": ["."], "targetType": "library", "dflags": ["-mv=arsd.svg=svg.d"], + "sourceFiles": ["svg.d"] + }, + { + "name": "jpeg", + "description": "Dependency-free partial JPEG file format read support", + "importPaths": ["."], + "targetType": "library", + "dflags": ["-mv=arsd.jpeg=jpeg.d"], "dependencies": { "arsd-official:color_base":"*" }, - "sourceFiles": ["svg.d"] + "sourceFiles": ["jpeg.d"] }, { "name": "png",