Use the official Ogg repo as a submodule.
Continuing to use version 1.3.2 for now. `-DNATIVE_TOOLKIT_OGG` seems unused, and has been excluded.
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -12,7 +12,7 @@
|
||||
url = https://github.com/curl/curl
|
||||
[submodule "project/lib/ogg"]
|
||||
path = project/lib/ogg
|
||||
url = https://github.com/openfl/libogg
|
||||
url = https://github.com/xiph/ogg
|
||||
[submodule "project/lib/zlib"]
|
||||
path = project/lib/zlib
|
||||
url = https://github.com/openfl/libzlib
|
||||
|
||||
Submodule project/lib/ogg updated: 9ebcb88b69...36606a06c6
@@ -1,7 +1,7 @@
|
||||
<xml>
|
||||
|
||||
<files id="native-toolkit-ogg-depends">
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/config_types.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/overrides/ogg/include/ogg/config_types.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/ogg.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/os_types.h"/>
|
||||
</files>
|
||||
|
||||
26
project/lib/overrides/ogg/include/ogg/config_types.h
Normal file
26
project/lib/overrides/ogg/include/ogg/config_types.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef __CONFIG_TYPES_H__
|
||||
#define __CONFIG_TYPES_H__
|
||||
|
||||
|
||||
#ifdef BLACKBERRY
|
||||
|
||||
/* QNX */
|
||||
# include <inttypes.h>
|
||||
typedef int16_t ogg_int16_t;
|
||||
typedef uint16_t ogg_uint16_t;
|
||||
typedef int32_t ogg_int32_t;
|
||||
typedef uint32_t ogg_uint32_t;
|
||||
typedef int64_t ogg_int64_t;
|
||||
|
||||
#else
|
||||
# include <inttypes.h>
|
||||
|
||||
/* these are filled in by configure */
|
||||
typedef int16_t ogg_int16_t;
|
||||
typedef unsigned short ogg_uint16_t;
|
||||
typedef int32_t ogg_int32_t;
|
||||
typedef unsigned int ogg_uint32_t;
|
||||
typedef int64_t ogg_int64_t;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -5,15 +5,15 @@
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/vorbis/include/vorbis/vorbisenc.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/vorbis/include/vorbis/vorbisfile.h"/>
|
||||
</files>
|
||||
|
||||
|
||||
<files id="native-toolkit-vorbis" tags="" >
|
||||
|
||||
|
||||
<cache value="1" />
|
||||
<tag value="${NATIVE_TOOLKIT_OPTIM_TAG}" if="NATIVE_TOOLKIT_OPTIM_TAG" />
|
||||
|
||||
<depend files="native-toolkit-vorbis-depends"/>
|
||||
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/config_types.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/overrides/ogg/include/ogg/config_types.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/ogg.h"/>
|
||||
<depend name="${NATIVE_TOOLKIT_PATH}/ogg/include/ogg/os_types.h"/>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/vorbis/include/"/>
|
||||
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/ogg/include/"/>
|
||||
|
||||
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/mdct.c"/>
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/smallft.c"/>
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/block.c"/>
|
||||
@@ -63,7 +63,7 @@
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/bitrate.c"/>
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/vorbisfile.c"/>
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/vorbis/lib/vorbisenc.c"/>
|
||||
|
||||
|
||||
</files>
|
||||
|
||||
|
||||
</xml>
|
||||
|
||||
Reference in New Issue
Block a user