-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCopyLibs2Public4iOS.sh
executable file
·38 lines (27 loc) · 1.47 KB
/
CopyLibs2Public4iOS.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#rm -rf ../gpac_public/extra_lib/include/ios/
mkdir -p ../gpac_public/extra_lib/include/ios/
mkdir -p ../gpac_public/extra_lib/include/ios/SDL2/
cp SDL_iOS/SDL2/include/*.h ../gpac_public/extra_lib/include/ios/SDL2/
cp SDL_iOS/glues/source/glues.h ../gpac_public/extra_lib/include/ios/
mkdir -p ../gpac_public/extra_lib/lib/iOS/
cp lib/iOS/*.a ../gpac_public/extra_lib/lib/iOS/
#replace FFMPEG headers in gpac public
cp -r ffmpeg_ios/FFmpeg-iOS/include/* ../gpac_public/extra_lib/include/ios/
#copy FFMPEG binaries
mkdir -p ./gpac_public/extra_lib/lib/iOS/
cp ffmpeg_ios/FFmpeg-iOS/lib/* ../gpac_public/extra_lib/lib/iOS/
#copy SSL libraries
cp -r OpenSSL-for-iPhone/include/* ../gpac_public/extra_lib/include/ios/
cp OpenSSL-for-iPhone/lib/*.a ../gpac_public/extra_lib/lib/iOS/
cp -av libmad/msvc++/mad.h ../gpac_public/extra_lib/include/ios/
cp -av faad2/include/faad.h faad2/include/neaacdec.h ../gpac_public/extra_lib/include/ios/
mkdir -p ../gpac_public/extra_lib/include/freetype
cp -av freetype/include/* ../gpac_public/extra_lib/include/freetype/
mkdir -p ../gpac_public/extra_lib/include/png
cp -av libpng/png*.h ../gpac_public/extra_lib/include/png
mkdir -p ../gpac_public/extra_lib/include/jpeg
cp -av libjpg/{jconfig,jmorecfg,jpeglib}.h ../gpac_public/extra_lib/include/jpeg
cp -a include/nghttp2 ../gpac_public/extra_lib/include/ios/
cp -av libcaption/caption ../gpac_public/extra_lib/include/ios/
cp -av mpeghdec/include/mpeghdecoder.h ../gpac_public/extra_lib/include/ios/