|
22 | 22 | <set name="LIME_LZMA" value="1" /> |
23 | 23 | <set name="LIME_MBEDTLS" value="1" unless="emscripten || winrt" /> |
24 | 24 | <!-- <set name="LIME_NEKO" value="1" if="linux" /> --> |
25 | | - <set name="LIME_OGG" value="1" /> |
| 25 | + <set name="LIME_OPUS" value="1" /> |
26 | 26 | <set name="LIME_OPENALSOFT" value="1" if="windows || linux || mac || android || iphone" unless="tvos" /> |
27 | 27 | <set name="LIME_OPENAL" value="1" if="webassembly || tvos" /> |
28 | 28 | <set name="LIME_MOJOAL" value="1" if="switch || static_link || winrt || mojoal" unless="LIME_OPENAL || iphone LIME_OPENALSOFT" /> |
|
42 | 42 | <!-- <set name="LIME_VPX" value="1" /> |
43 | 43 | <set name="LIME_WEBM" value="1" /> --> |
44 | 44 | <set name="LIME_ZLIB" value="1" /> |
| 45 | + <set name="LIME_DRLIBS" value="1" /> |
45 | 46 |
|
46 | 47 | <set name="OUTPUT_DIR" value="../ndll" unless="OUTPUT_DIR" /> |
47 | 48 | <set name="NATIVE_TOOLKIT_PATH" value="lib" unless="NATIVE_TOOLKIT_PATH" /> |
|
89 | 90 |
|
90 | 91 | </section> |
91 | 92 |
|
| 93 | + <section if="LIME_DRLIBS"> |
| 94 | + |
| 95 | + <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/dr_libs/" /> |
| 96 | + <compilerflag value="-DLIME_DRLIBS" /> |
| 97 | + |
| 98 | + <file name="src/media/codecs/flac/DrFlac.cpp" /> |
| 99 | + <file name="src/media/codecs/mp3/DrMp3.cpp" /> |
| 100 | + <file name="src/media/codecs/wav/DrWav.cpp" /> |
| 101 | + <file name="src/media/codecs/DrLibsBindings.cpp" /> |
| 102 | + |
| 103 | + </section> |
| 104 | + |
92 | 105 | <section if="LIME_EFSW"> |
93 | 106 |
|
94 | 107 | <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/efsw/include/" /> |
|
173 | 186 |
|
174 | 187 | </section> |
175 | 188 |
|
176 | | - <section if="LIME_OGG"> |
| 189 | + <section if="LIME_OPUS"> |
177 | 190 |
|
178 | | - <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/custom/ogg/include/" /> |
179 | | - <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/ogg/include/" /> |
180 | | - <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/vorbis/include/" /> |
181 | | - <compilerflag value="-DLIME_OGG" /> |
| 191 | + <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/opus/include/" /> |
| 192 | + <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/opusfile/include" /> |
| 193 | + <compilerflag value="-DLIME_OPUS" /> |
182 | 194 |
|
183 | | - <file name="src/media/containers/OGG.cpp" /> |
| 195 | + <file name="src/media/codecs/opus/OpusFile.cpp" /> |
| 196 | + <file name="src/media/codecs/OpusBindings.cpp" /> |
184 | 197 |
|
185 | 198 | </section> |
186 | 199 |
|
|
284 | 297 |
|
285 | 298 | <section if="LIME_VORBIS"> |
286 | 299 |
|
| 300 | + <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/custom/ogg/include/" /> |
287 | 301 | <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/ogg/include/" /> |
288 | 302 | <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/vorbis/include/" /> |
289 | 303 | <compilerflag value="-DLIME_VORBIS" /> |
290 | 304 |
|
291 | | - <file name="src/media/codecs/vorbis/VorbisBindings.cpp" /> |
292 | 305 | <file name="src/media/codecs/vorbis/VorbisFile.cpp" /> |
| 306 | + <file name="src/media/codecs/VorbisBindings.cpp" /> |
293 | 307 |
|
294 | 308 | </section> |
295 | 309 |
|
|
313 | 327 | <file name="src/math/Rectangle.cpp" /> |
314 | 328 | <file name="src/math/Vector2.cpp" /> |
315 | 329 | <file name="src/media/AudioBuffer.cpp" /> |
316 | | - <file name="src/media/containers/WAV.cpp" /> |
317 | 330 | <file name="src/system/CFFI.cpp" /> |
318 | 331 | <file name="src/system/CFFIPointer.cpp" /> |
319 | 332 | <file name="src/system/ClipboardEvent.cpp" /> |
|
351 | 364 |
|
352 | 365 | <include name="lib/cairo-files.xml" /> |
353 | 366 | <include name="lib/curl-files.xml" /> |
| 367 | + <include name="lib/dr-libs-files.xml" /> |
354 | 368 | <include name="lib/efsw-files.xml" /> |
355 | 369 | <include name="lib/faudio-files.xml" if="LIME_FAUDIO" /> |
356 | 370 | <include name="lib/freetype-files.xml" /> |
|
360 | 374 | <include name="lib/mbedtls-files.xml" /> |
361 | 375 | <include name="lib/mojoal-files.xml" /> |
362 | 376 | <include name="lib/neko-files.xml" /> |
363 | | - <include name="lib/ogg-files.xml" /> |
| 377 | + <include name="lib/opus-files.xml" /> |
364 | 378 | <include name="lib/openal-files.xml" /> |
365 | 379 | <include name="lib/pixman-files.xml" /> |
366 | 380 | <include name="lib/png-files.xml" /> |
|
393 | 407 | <files id="native-toolkit-mbedtls" if="LIME_MBEDTLS" /> |
394 | 408 | <files id="native-toolkit-mojoal" if="LIME_MOJOAL" /> |
395 | 409 | <files id="native-toolkit-neko" if="LIME_NEKO" /> |
396 | | - <files id="native-toolkit-ogg" if="LIME_OGG" /> |
| 410 | + <files id="native-toolkit-opus" if="LIME_OPUS" /> |
397 | 411 | <files id="native-toolkit-openal" if="LIME_OPENALSOFT" /> |
398 | 412 | <files id="native-toolkit-pixman" if="LIME_PIXMAN" /> |
399 | 413 | <files id="native-toolkit-png" if="LIME_PNG" /> |
|
403 | 417 | <files id="native-toolkit-vpx" if="LIME_VPX" /> |
404 | 418 | <files id="native-toolkit-webm" if="LIME_WEBM" /> |
405 | 419 | <files id="native-toolkit-zlib" if="LIME_ZLIB" /> |
| 420 | + <files id="native-toolkit-dr-libs" if="LIME_DRLIBS" /> |
406 | 421 |
|
407 | 422 | <section unless="static_link"> |
408 | 423 |
|
|
0 commit comments