Script for building the libopus

pull/53/head
Javernaut 5 years ago
parent 90af601123
commit 9915b365dc
  1. 2
      .travis.yml
  2. 1
      scripts/ffmpeg/build.sh
  3. 2
      scripts/libmp3lame/build.sh
  4. 24
      scripts/libopus/build.sh

@ -17,4 +17,4 @@ install:
- curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.14.02-1_amd64.deb --output $HOME/nasm_2.14.02-1_amd64.deb
- sudo dpkg -i $HOME/nasm_2.14.02-1_amd64.deb
script:
- bash -e ffmpeg-android-maker.sh --enable-libdav1d --enable-libmp3lame --enable-libaom --android-api-level=18
- bash -e ffmpeg-android-maker.sh --enable-libdav1d --enable-libmp3lame --enable-libaom --enable-libopus --android-api-level=18

@ -34,6 +34,7 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
--enable-shared \
--disable-static \
--pkg-config=$(which pkg-config) \
--pkg-config-flags="--static" \
${EXTRA_BUILD_CONFIGURATION_FLAGS} \
$ADDITIONAL_COMPONENTS

@ -15,8 +15,6 @@
AR=${FAM_AR} \
RANLIB=${FAM_RANLIB}
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lmp3lame"
${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC}
${MAKE_EXECUTABLE} install

@ -0,0 +1,24 @@
#!/usr/bin/env bash
./configure \
--prefix=${INSTALL_DIR} \
--host=${TARGET} \
--disable-shared \
--enable-static \
--disable-fast-install \
--with-pic \
--with-sysroot=${SYSROOT_PATH} \
--enable-asm \
--enable-check-asm \
--disable-rtcd \
--disable-doc \
--disable-extra-programs \
CC=${FAM_CC} \
CCLD=${FAM_LD} \
CCAS=${FAM_AS} \
RANLIB=${FAM_RANLIB} \
AR=${FAM_AR}
${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC}
${MAKE_EXECUTABLE} install
Loading…
Cancel
Save