| 1 |
[ |
| 2 |
{ |
| 3 |
"name": "hunspell", |
| 4 |
"sources": "calibre/utils/spell/hunspell_wrapper.cpp", |
| 5 |
"inc_dirs": "!hunspell_inc_dirs", |
| 6 |
"lib_dirs": "!hunspell_lib_dirs", |
| 7 |
"libraries": "hunspell-1.7", |
| 8 |
"windows_libraries": "libhunspell", |
| 9 |
"needs_c++": "11" |
| 10 |
}, |
| 11 |
{ |
| 12 |
"name": "hyphen", |
| 13 |
"sources": "calibre/utils/hyphenation/hyphen.c", |
| 14 |
"libraries": "hyphen", |
| 15 |
"inc_dirs": "!hyphen_inc_dirs", |
| 16 |
"lib_dirs": "!hyphen_lib_dirs", |
| 17 |
"needs_c": "99" |
| 18 |
}, |
| 19 |
{ |
| 20 |
"name": "ffmpeg", |
| 21 |
"sources": "calibre/utils/ffmpeg.c", |
| 22 |
"libraries": "swresample avcodec avformat avutil", |
| 23 |
"inc_dirs": "!ffmpeg_inc_dirs", |
| 24 |
"lib_dirs": "!ffmpeg_lib_dirs", |
| 25 |
"needs_c": "99" |
| 26 |
}, |
| 27 |
{ |
| 28 |
"name": "uchardet", |
| 29 |
"sources": "calibre/ebooks/uchardet.c", |
| 30 |
"libraries": "!uchardet_libs", |
| 31 |
"inc_dirs": "!uchardet_inc_dirs", |
| 32 |
"lib_dirs": "!uchardet_lib_dirs" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"name": "unicode_names", |
| 36 |
"headers": "unicode_names/names.h unicode_names/data-types.h", |
| 37 |
"sources": "unicode_names/unicode_names.c", |
| 38 |
"needs_c": "99" |
| 39 |
}, |
| 40 |
{ |
| 41 |
"name": "speedup", |
| 42 |
"sources": "calibre/utils/speedup.c", |
| 43 |
"libraries": "m", |
| 44 |
"windows_libraries": "" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"name": "certgen", |
| 48 |
"sources": "calibre/utils/certgen.c", |
| 49 |
"libraries": "crypto", |
| 50 |
"windows_libraries": "libcrypto", |
| 51 |
"inc_dirs": "!openssl_inc_dirs", |
| 52 |
"lib_dirs": "!openssl_lib_dirs" |
| 53 |
}, |
| 54 |
{ |
| 55 |
"name": "html_syntax_highlighter", |
| 56 |
"sources": "calibre/gui2/tweak_book/editor/syntax/html.c" |
| 57 |
}, |
| 58 |
{ |
| 59 |
"name": "tokenizer", |
| 60 |
"sources": "tinycss/tokenizer.c" |
| 61 |
}, |
| 62 |
{ |
| 63 |
"name": "_patiencediff_c", |
| 64 |
"sources": "calibre/gui2/tweak_book/diff/_patiencediff_c.c" |
| 65 |
}, |
| 66 |
{ |
| 67 |
"name": "icu", |
| 68 |
"sources": "calibre/utils/icu.c", |
| 69 |
"headers": "calibre/utils/icu_calibre_utils.h", |
| 70 |
"libraries": "icudata icui18n icuuc icuio", |
| 71 |
"windows_libraries": "icudt icuin icuuc icuio", |
| 72 |
"lib_dirs": "!icu_lib_dirs", |
| 73 |
"inc_dirs": "!icu_inc_dirs" |
| 74 |
}, |
| 75 |
{ |
| 76 |
"name": "matcher", |
| 77 |
"sources": "calibre/utils/matcher.c", |
| 78 |
"headers": "calibre/utils/icu_calibre_utils.h", |
| 79 |
"libraries": "icudata icui18n icuuc icuio", |
| 80 |
"windows_libraries": "icudt icuin icuuc icuio", |
| 81 |
"lib_dirs": "!icu_lib_dirs", |
| 82 |
"inc_dirs": "!icu_inc_dirs" |
| 83 |
}, |
| 84 |
{ |
| 85 |
"name": "sqlite_custom", |
| 86 |
"sources": "calibre/library/sqlite_custom.c", |
| 87 |
"inc_dirs": "!sqlite_inc_dirs" |
| 88 |
}, |
| 89 |
{ |
| 90 |
"name": "sqlite_extension", |
| 91 |
"headers": "calibre/utils/cpp_binding.h", |
| 92 |
"sources": "calibre/db/sqlite_extension.cpp", |
| 93 |
"needs_c++": "17", |
| 94 |
"libraries": "icudata icui18n icuuc icuio stemmer", |
| 95 |
"windows_libraries": "icudt icuin icuuc icuio libstemmer", |
| 96 |
"lib_dirs": "!icu_lib_dirs", |
| 97 |
"inc_dirs": "!icu_inc_dirs !sqlite_inc_dirs" |
| 98 |
}, |
| 99 |
{ |
| 100 |
"name": "lzx", |
| 101 |
"sources": "calibre/utils/lzx/lzxmodule.c calibre/utils/lzx/compressor.c calibre/utils/lzx/lzxd.c calibre/utils/lzx/lzc.c calibre/utils/lzx/lzxc.c", |
| 102 |
"inc_dirs": "calibre/utils/lzx", |
| 103 |
"headers": "calibre/utils/lzx/lzc.h calibre/utils/lzx/system.h calibre/utils/lzx/lzxc.h calibre/utils/lzx/lzxd.h calibre/utils/lzx/mspack.h" |
| 104 |
}, |
| 105 |
{ |
| 106 |
"name": "freetype", |
| 107 |
"sources": "calibre/utils/fonts/freetype.cpp", |
| 108 |
"libraries": "!freetype_libs", |
| 109 |
"inc_dirs": "!freetype_inc_dirs", |
| 110 |
"lib_dirs": "!freetype_lib_dirs" |
| 111 |
}, |
| 112 |
{ |
| 113 |
"name": "msdes", |
| 114 |
"sources": "calibre/utils/msdes/msdesmodule.c calibre/utils/msdes/des.c", |
| 115 |
"headers": "calibre/utils/msdes/spr.h calibre/utils/msdes/d3des.h", |
| 116 |
"inc_dirs": "calibre/utils/msdes" |
| 117 |
}, |
| 118 |
{ |
| 119 |
"name": "cPalmdoc", |
| 120 |
"sources": "calibre/ebooks/compression/palmdoc.c" |
| 121 |
}, |
| 122 |
{ |
| 123 |
"name": "bzzdec", |
| 124 |
"sources": "calibre/ebooks/djvu/bzzdecoder.c", |
| 125 |
"windows_inc_dirs": "calibre/utils/chm" |
| 126 |
}, |
| 127 |
{ |
| 128 |
"name": "podofo", |
| 129 |
"sources": "calibre/utils/podofo/utils.cpp calibre/utils/podofo/output.cpp calibre/utils/podofo/doc.cpp calibre/utils/podofo/outline.cpp calibre/utils/podofo/fonts.cpp calibre/utils/podofo/impose.cpp calibre/utils/podofo/images.cpp calibre/utils/podofo/outlines.cpp calibre/utils/podofo/podofo.cpp", |
| 130 |
"headers": "calibre/utils/podofo/global.h", |
| 131 |
"libraries": "!podofo", |
| 132 |
"lib_dirs": "!podofo_lib_dirs", |
| 133 |
"inc_dirs": "!podofo_inc_dirs", |
| 134 |
"error": "!podofo_error", |
| 135 |
"needs_c++": "17" |
| 136 |
}, |
| 137 |
{ |
| 138 |
"name": "piper", |
| 139 |
"sources": "calibre/utils/tts/piper.cpp", |
| 140 |
"needs_c++": "17", |
| 141 |
"libraries": "!piper_libs", |
| 142 |
"lib_dirs": "!piper_lib_dirs", |
| 143 |
"inc_dirs": "!piper_inc_dirs" |
| 144 |
}, |
| 145 |
{ |
| 146 |
"name": "html_as_json", |
| 147 |
"sources": "calibre/srv/html_as_json.cpp", |
| 148 |
"needs_c++": "11" |
| 149 |
}, |
| 150 |
{ |
| 151 |
"name": "fast_css_transform", |
| 152 |
"headers": "calibre/utils/cpp_binding.h", |
| 153 |
"sources": "calibre/srv/fast_css_transform.cpp", |
| 154 |
"inc_dirs": "perfect-hashing", |
| 155 |
"needs_c++": "17" |
| 156 |
}, |
| 157 |
{ |
| 158 |
"name": "fast_html_entities", |
| 159 |
"headers": "calibre/ebooks/html_entities.h", |
| 160 |
"sources": "calibre/ebooks/html_entities.c" |
| 161 |
}, |
| 162 |
{ |
| 163 |
"name": "rcc_backend", |
| 164 |
"sources": "calibre/utils/rcc/rcc.cpp", |
| 165 |
"headers": "calibre/utils/rcc/rcc.h", |
| 166 |
"sip_files": "calibre/utils/rcc/rcc.sip", |
| 167 |
"inc_dirs": "calibre/utils/rcc", |
| 168 |
"qt_modules": ["-gui"] |
| 169 |
}, |
| 170 |
{ |
| 171 |
"name": "pictureflow", |
| 172 |
"sources": "calibre/gui2/pictureflow/pictureflow.cpp", |
| 173 |
"headers": "calibre/gui2/pictureflow/pictureflow.h", |
| 174 |
"sip_files": "calibre/gui2/pictureflow/pictureflow.sip", |
| 175 |
"inc_dirs": "calibre/gui2/pictureflow" |
| 176 |
}, |
| 177 |
{ |
| 178 |
"name": "progress_indicator", |
| 179 |
"sources": "calibre/gui2/progress_indicator/QProgressIndicator.cpp calibre/gui2/progress_indicator/CalibreStyle.cpp calibre/gui2/progress_indicator/CalibreIconEngine.cpp", |
| 180 |
"headers": "calibre/gui2/progress_indicator/QProgressIndicator.h", |
| 181 |
"sip_files": "calibre/gui2/progress_indicator/QProgressIndicator.sip", |
| 182 |
"inc_dirs": "calibre/gui2/progress_indicator" |
| 183 |
}, |
| 184 |
{ |
| 185 |
"name": "translator", |
| 186 |
"sources": "calibre/utils/translator/mo_parser.cpp calibre/utils/translator/plural_expression_parser.cpp calibre/utils/translator/main.cpp", |
| 187 |
"headers": "calibre/utils/translator/mo_translator.h calibre/utils/translator/plural_expression_parser.h", |
| 188 |
"inc_dirs": "calibre/utils/translator", |
| 189 |
"needs_c++": "20" |
| 190 |
}, |
| 191 |
{ |
| 192 |
"name": "imageops", |
| 193 |
"sources": "calibre/utils/imageops/imageops.cpp calibre/utils/imageops/quantize.cpp calibre/utils/imageops/ordered_dither.cpp", |
| 194 |
"headers": "calibre/utils/imageops/imageops.h", |
| 195 |
"sip_files": "calibre/utils/imageops/imageops.sip", |
| 196 |
"needs_exceptions": true, |
| 197 |
"inc_dirs": "calibre/utils/imageops" |
| 198 |
}, |
| 199 |
{ |
| 200 |
"name": "winutil", |
| 201 |
"only": "windows", |
| 202 |
"headers": "calibre/utils/cpp_binding.h calibre/utils/windows/common.h", |
| 203 |
"sources": "calibre/utils/windows/winutil.cpp", |
| 204 |
"libraries": "shell32 wininet advapi32 gdi32 rstrtmgr", |
| 205 |
"cflags": "/X" |
| 206 |
}, |
| 207 |
{ |
| 208 |
"name": "wpd", |
| 209 |
"only": "windows", |
| 210 |
"sources": "calibre/devices/mtp/windows/device_enumeration.cpp calibre/devices/mtp/windows/content_enumeration.cpp calibre/devices/mtp/windows/device.cpp calibre/devices/mtp/windows/wpd.cpp", |
| 211 |
"headers": "calibre/utils/cpp_binding.h calibre/devices/mtp/windows/global.h calibre/utils/windows/common.h", |
| 212 |
"libraries": "ole32 oleaut32 portabledeviceguids user32", |
| 213 |
"cflags": "/X" |
| 214 |
}, |
| 215 |
{ |
| 216 |
"name": "winfonts", |
| 217 |
"only": "windows", |
| 218 |
"sources": "calibre/utils/fonts/winfonts.cpp", |
| 219 |
"libraries": "Gdi32 User32", |
| 220 |
"cflags": "/X" |
| 221 |
}, |
| 222 |
|
| 223 |
{ |
| 224 |
"name": "wintoast", |
| 225 |
"only": "windows", |
| 226 |
"headers": "calibre/utils/cpp_binding.h calibre/utils/windows/common.h calibre/utils/windows/wintoastlib.h", |
| 227 |
"sources": "calibre/utils/windows/wintoastlib.cpp calibre/utils/windows/wintoast.cpp", |
| 228 |
"libraries": "shell32", |
| 229 |
"cflags": "/X" |
| 230 |
}, |
| 231 |
|
| 232 |
{ |
| 233 |
"name": "usbobserver", |
| 234 |
"only": "macos", |
| 235 |
"sources": "calibre/devices/usbobserver/usbobserver.c", |
| 236 |
"ldflags": "-framework CoreServices -framework IOKit" |
| 237 |
}, |
| 238 |
{ |
| 239 |
"name": "cocoa", |
| 240 |
"only": "macos", |
| 241 |
"sources": "calibre/utils/cocoa.m", |
| 242 |
"ldflags": "-framework Cocoa -framework UserNotifications" |
| 243 |
}, |
| 244 |
{ |
| 245 |
"name": "libusb", |
| 246 |
"only": "macos linux haiku freebsd", |
| 247 |
"sources": "calibre/devices/libusb/libusb.c", |
| 248 |
"libraries": "!usb_library" |
| 249 |
}, |
| 250 |
{ |
| 251 |
"name": "libmtp", |
| 252 |
"only": "freebsd macos linux haiku", |
| 253 |
"sources": "calibre/devices/mtp/unix/devices.c calibre/devices/mtp/unix/libmtp.c", |
| 254 |
"headers": "calibre/devices/mtp/unix/devices.h calibre/devices/mtp/unix/upstream/music-players.h calibre/devices/mtp/unix/upstream/device-flags.h", |
| 255 |
"libraries": "mtp" |
| 256 |
} |
| 257 |
] |