diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwmapro/README.rockbox | 17 | ||||
-rw-r--r-- | apps/codecs/libwmapro/wmapro_mainbuild.patch | 41 |
2 files changed, 48 insertions, 10 deletions
diff --git a/apps/codecs/libwmapro/README.rockbox b/apps/codecs/libwmapro/README.rockbox index c33440f203..09c54b48c6 100644 --- a/apps/codecs/libwmapro/README.rockbox +++ b/apps/codecs/libwmapro/README.rockbox | |||
@@ -17,17 +17,14 @@ Based on ffmpeg svn r22886 dated 15 April 2010. | |||
17 | Currently, the files contain minimal changes from their original state in order | 17 | Currently, the files contain minimal changes from their original state in order |
18 | to be able to compile cleanly. | 18 | to be able to compile cleanly. |
19 | 19 | ||
20 | The file wmaprodec.c contains a main function that is just a stub to make sure | ||
21 | linking is done properly and without errors. | ||
22 | |||
23 | COMPILING | 20 | COMPILING |
24 | 21 | ||
25 | A make file is included that would compile and link the files when the "make" | 22 | At the time of this writing (21 June 2010) the decoder isn't still included in |
26 | command is executed without arguments in any Unix-like environment. | 23 | the main build since it still only works in the simulator. |
27 | 24 | ||
28 | The file porduces an output binary called "test" that, as of now (30 April 2010) | 25 | A patch is included that would enable building the library and the codec for |
29 | , is still useless. | 26 | testing and development purposes. |
30 | 27 | ||
31 | To clean the compiler output and retain just the source code, the following | 28 | To apply the patch, you should cd to libwmapro directory and then execute the |
32 | command should be executed: | 29 | following command : |
33 | make clean | 30 | patch -p 0 < wmapro_mainbuild.patch |
diff --git a/apps/codecs/libwmapro/wmapro_mainbuild.patch b/apps/codecs/libwmapro/wmapro_mainbuild.patch new file mode 100644 index 0000000000..79623df9a4 --- /dev/null +++ b/apps/codecs/libwmapro/wmapro_mainbuild.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | Index: ../codecs.make | ||
2 | =================================================================== | ||
3 | --- ../codecs.make (revision 27008) | ||
4 | +++ ../codecs.make (working copy) | ||
5 | @@ -37,6 +37,7 @@ | ||
6 | include $(APPSDIR)/codecs/libtremor/libtremor.make | ||
7 | include $(APPSDIR)/codecs/libwavpack/libwavpack.make | ||
8 | include $(APPSDIR)/codecs/libwma/libwma.make | ||
9 | +include $(APPSDIR)/codecs/libwmapro/libwmapro.make | ||
10 | include $(APPSDIR)/codecs/libcook/libcook.make | ||
11 | include $(APPSDIR)/codecs/librm/librm.make | ||
12 | include $(APPSDIR)/codecs/libatrac/libatrac.make | ||
13 | @@ -58,7 +59,7 @@ | ||
14 | CODECLIBS := $(DEMACLIB) $(A52LIB) $(ALACLIB) $(ASAPLIB) \ | ||
15 | $(FAADLIB) $(FFMPEGFLACLIB) $(M4ALIB) $(MADLIB) $(MUSEPACKLIB) \ | ||
16 | $(SPCLIB) $(SPEEXLIB) $(TREMORLIB) $(WAVPACKLIB) $(WMALIB) $(COOKLIB) \ | ||
17 | - $(ATRACLIB) \ | ||
18 | + $(ATRACLIB) $(WMAPROLIB) \ | ||
19 | $(CODECLIB) | ||
20 | |||
21 | $(CODECS): $(CODEC_CRT0) $(CODECLINK_LDS) | ||
22 | @@ -83,6 +84,7 @@ | ||
23 | $(CODECDIR)/ape-pre.map : $(CODECDIR)/libdemac-pre.a | ||
24 | $(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a | ||
25 | $(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a | ||
26 | +$(CODECDIR)/wmapro.codec : $(CODECDIR)/libwmapro.a $(CODECDIR)/libasf.a | ||
27 | $(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a | ||
28 | $(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a | ||
29 | $(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a | ||
30 | Index: ../SOURCES | ||
31 | =================================================================== | ||
32 | --- ../SOURCES (revision 27008) | ||
33 | +++ ../SOURCES (working copy) | ||
34 | @@ -16,6 +16,7 @@ | ||
35 | atrac3_oma.c | ||
36 | mpc.c | ||
37 | wma.c | ||
38 | +wmapro.c | ||
39 | sid.c | ||
40 | ape.c | ||
41 | nsf.c | ||