parent
48e4e77450
commit
b26f55b2b8
@ -0,0 +1,22 @@ |
||||
./configure \ |
||||
--prefix=${BUILD_DIR_EXTERNAL}/${ANDROID_ABI} \ |
||||
--target=${TARGET} \ |
||||
--host=${TARGET} \ |
||||
--with-sysroot=${SYSROOT_PATH} \ |
||||
--disable-shared \ |
||||
--enable-static \ |
||||
--with-pic \ |
||||
--disable-analyzer-hooks \ |
||||
--disable-decoder \ |
||||
--disable-gtktest \ |
||||
--disable-frontend \ |
||||
CC=${CC} \ |
||||
LD=${LD} \ |
||||
AR=${AR} \ |
||||
RANLIB=${RANLIB} |
||||
|
||||
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lmp3lame" |
||||
|
||||
make clean |
||||
make -j${HOST_NPROC} |
||||
make install |
@ -0,0 +1,17 @@ |
||||
# Script to download Lame's source code |
||||
|
||||
# Exports SOURCES_DIR_libmp3lame - path where actual sources are stored |
||||
|
||||
LAME_VERSION=3.100 |
||||
echo "Using libmp3lame $LAME_VERSION" |
||||
LAME_SOURCES=lame-${LAME_VERSION} |
||||
|
||||
if [[ ! -d "$LAME_SOURCES" ]]; then |
||||
TARGET_FILE_NAME=lame-${LAME_VERSION}.tar.gz |
||||
|
||||
curl http://downloads.videolan.org/pub/contrib/lame/${TARGET_FILE_NAME} --output ${TARGET_FILE_NAME} |
||||
tar xf ${TARGET_FILE_NAME} -C . |
||||
rm ${TARGET_FILE_NAME} |
||||
fi |
||||
|
||||
export SOURCES_DIR_libmp3lame=$(pwd)/${LAME_SOURCES} |
Loading…
Reference in new issue