| { |
| "name": "mozjpeg", |
| "version": "3.3.2", |
| "license": { |
| "type": "BSD" |
| }, |
| "homepage": "https://github.com/mozilla/mozjpeg", |
| "summary": "Improved JPEG encoder.", |
| "authors": "Mozilla", |
| "source": { |
| "git": "https://github.com/mozilla/mozjpeg.git", |
| "tag": "v3.3.1" |
| }, |
| "module_name": "mozjpeg", |
| "header_dir": "mozjpeg", |
| "platforms": { |
| "ios": "8.0" |
| }, |
| "prepare_command": "cat << EOF > ctransupp.h\n#ifdef __cplusplus\n#ifndef DONT_USE_EXTERN_C\nextern \"C\" {\n#endif\n#endif\nEOF\n\ncat transupp.h >> ctransupp.h\n\ncat << EOF >> ctransupp.h\n#ifdef __cplusplus\n#ifndef DONT_USE_EXTERN_C\n}\n#endif\n#endif\nEOF\n\nmv ctransupp.h transupp.h\n\ncat << EOF > jconfig.h\n#define JPEG_LIB_VERSION 80\t/* Version 6b */\n#define LIBJPEG_TURBO_VERSION 3.1.m\n#define LIBJPEG_TURBO_VERSION_NUMBER 1\n#define C_ARITH_CODING_SUPPORTED 1\n#define D_ARITH_CODING_SUPPORTED 1\n#define BITS_IN_JSAMPLE 8\n#define HAVE_LOCALE_H 1\n#define HAVE_STDDEF_H 1\n#define HAVE_STDLIB_H 1\n#define HAVE_UNSIGNED_CHAR 1\n#define HAVE_UNSIGNED_SHORT 1\n#define NEED_SYS_TYPES_H 1\n#define WITH_SIMD 0\nEOF\n\n\ncat << EOF > jconfigint.h\n#define BUILD \"20180328\"\n#define INLINE __attribute__((always_inline))\n#define PACKAGE_NAME \"mozjpeg\"\n#define VERSION \"3.3.2\"\n#ifdef __SIZEOF_SIZE_T__\n #define SIZEOF_SIZE_T __SIZEOF_SIZE_T__\n#else\n #error Cannot determine the size of size_t\n#endif\nEOF", |
| "private_header_files": [ |
| "bmp.h", |
| "cderror.h", |
| "cdjpeg.h", |
| "jchuff.h", |
| "jcmaster.h", |
| "jconfigint.h", |
| "jdcoefct.h", |
| "jdct.h", |
| "jdhuff.h", |
| "jdmainct.h", |
| "jdmaster.h", |
| "jdsample.h", |
| "jmemsys.h", |
| "jpeg_nbits_table.h", |
| "jpegcomp.h", |
| "jsimd.h", |
| "jsimddct.h", |
| "jversion.h", |
| "wrppm.h" |
| ], |
| "public_header_files": [ |
| "jerror.h", |
| "jinclude.h", |
| "jconfig.h", |
| "jmorecfg.h", |
| "jpeglib.h", |
| "jpegint.h", |
| "transupp.h" |
| ], |
| "source_files": [ |
| "jcapimin.c", |
| "jcapistd.c", |
| "jccoefct.c", |
| "jccolor.c", |
| "jcdctmgr.c", |
| "jcext.c", |
| "jchuff.c", |
| "jcinit.c", |
| "jcmainct.c", |
| "jcmarker.c", |
| "jcmaster.c", |
| "jcomapi.c", |
| "jcparam.c", |
| "jcphuff.c", |
| "jcprepct.c", |
| "jcsample.c", |
| "jctrans.c", |
| "jdapimin.c", |
| "jdapistd.c", |
| "jdatadst.c", |
| "jdatasrc.c", |
| "jdcoefct.c", |
| "jdcolor.c", |
| "jddctmgr.c", |
| "jdhuff.c", |
| "jdinput.c", |
| "jdmainct.c", |
| "jdmarker.c", |
| "jdmaster.c", |
| "jdmerge.c", |
| "jdphuff.c", |
| "jdpostct.c", |
| "jdsample.c", |
| "jdtrans.c", |
| "jerror.c", |
| "jfdctflt.c", |
| "jfdctfst.c", |
| "jfdctint.c", |
| "jidctflt.c", |
| "jidctfst.c", |
| "jidctint.c", |
| "jidctred.c", |
| "jquant1.c", |
| "jquant2.c", |
| "jutils.c", |
| "jmemmgr.c", |
| "jaricom.c", |
| "jcarith.c", |
| "jdarith.c", |
| "transupp.c", |
| "jmemnobs.c", |
| "jsimd_none.c", |
| "jerror.h", |
| "jinclude.h", |
| "jconfig.h", |
| "jmorecfg.h", |
| "jpeglib.h", |
| "jpegint.h", |
| "transupp.h", |
| "bmp.h", |
| "cderror.h", |
| "cdjpeg.h", |
| "jchuff.h", |
| "jcmaster.h", |
| "jconfigint.h", |
| "jdcoefct.h", |
| "jdct.h", |
| "jdhuff.h", |
| "jdmainct.h", |
| "jdmaster.h", |
| "jdsample.h", |
| "jmemsys.h", |
| "jpeg_nbits_table.h", |
| "jpegcomp.h", |
| "jsimd.h", |
| "jsimddct.h", |
| "jversion.h", |
| "wrppm.h", |
| "transupp.h" |
| ], |
| "preserve_paths": [ |
| "jdcolext.c", |
| "jstdhuff.c", |
| "jdcol565.c", |
| "jdmrgext.c", |
| "jdmrg565.c", |
| "jccolext.c" |
| ] |
| } |