Skip to content

Commit e401321

Browse files
author
Hitesh Sondhi
committed
Merge branch 'release/v0.3.4'
2 parents 4df69cb + d8d31f5 commit e401321

File tree

13 files changed

+44
-10
lines changed

13 files changed

+44
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ toolchain-*
44
libpng-*
55
expat-*
66
fribidi-*
7+
lame-*
78

89
# Created by http://www.gitignore.io
910

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Instructions
1616
* Set environment variable
1717
1. export ANDROID_NDK={Android NDK Base Path}
1818
* Run following commands to compile ffmpeg
19-
1. sudo apt-get --quiet --yes install build-essential git autoconf libtool pkg-config gperf gettext yasm
19+
1. sudo apt-get --quiet --yes install build-essential git autoconf libtool pkg-config gperf gettext yasm python-lxml
2020
2. ./init_update_libs.sh
2121
3. ./android_build.sh
2222
* To update submodules and libraries you can use ./init_update_libs.sh command

android_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ do
2323
./fribidi_build.sh $i $BASEDIR 1 || exit 1
2424
./fontconfig_build.sh $i $BASEDIR 1 || exit 1
2525
./libass_build.sh $i $BASEDIR 1 || exit 1
26+
./lame_build.sh $i $BASEDIR 1 || exit 1
2627
./ffmpeg_build.sh $i $BASEDIR 0 || exit 1
2728
done
2829

ffmpeg

Submodule ffmpeg updated from d61454e to fda00aa

ffmpeg_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ make clean
2727
--enable-libass \
2828
--enable-libfreetype \
2929
--enable-libfribidi \
30+
--enable-libmp3lame \
3031
--enable-fontconfig \
3132
--enable-pthreads \
3233
--disable-debug \

fontconfig

Submodule fontconfig updated from 9260b7e to 1827ef7

freetype2

Submodule freetype2 updated from ec8853c to 44accb9

fribidi_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
. abi_settings.sh $1 $2 $3
44

5-
pushd fribidi-0.19.6
5+
pushd fribidi-0.19.7
66

77
make clean
88

init_update_libs.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ rm -rf libpng-*
99
rm -rf expat-*
1010
rm -rf fribidi-*
1111

12-
wget -O- http://downloads.sourceforge.net/project/libpng/libpng16/older-releases/1.6.13/libpng-1.6.13.tar.xz | tar xJ
12+
wget -O- ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.21.tar.xz | tar xJ
1313
wget -O- http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz | tar xz
14-
wget -O- http://fribidi.org/download/fribidi-0.19.6.tar.bz2 | tar xj
14+
wget -O- http://fribidi.org/download/fribidi-0.19.7.tar.bz2 | tar xj
15+
wget -O- http://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz | tar xz
1516
echo "============================================"

lame_build.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
. abi_settings.sh $1 $2 $3
4+
5+
pushd lame-3.99.5
6+
7+
make clean
8+
9+
case $1 in
10+
armeabi-v7a | armeabi-v7a-neon)
11+
HOST=arm-linux
12+
;;
13+
x86)
14+
HOST=i686-linux
15+
;;
16+
esac
17+
18+
./configure \
19+
--with-pic \
20+
--with-sysroot="$NDK_SYSROOT" \
21+
--host="$HOST" \
22+
--enable-static \
23+
--disable-shared \
24+
--prefix="${TOOLCHAIN_PREFIX}" \
25+
--enable-arm-neon="$ARM_NEON" \
26+
--disable-shared || exit 1
27+
28+
make -j${NUMBER_OF_CORES} install || exit 1
29+
30+
popd

0 commit comments

Comments
 (0)