Guest User

Untitled

a guest
Sep 27th, 2016
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. . abi_settings.sh $1 $2 $3
  4.  
  5. pushd ffmpeg
  6.  
  7. case $1 in
  8. armeabi-v7a | armeabi-v7a-neon)
  9. CPU='cortex-a8'
  10. ;;
  11. x86)
  12. CPU='i686'
  13. ;;
  14. esac
  15.  
  16. make clean
  17.  
  18. ./configure \
  19. --target-os="$TARGET_OS" \
  20. --cross-prefix="$CROSS_PREFIX" \
  21. --arch="$NDK_ABI" \
  22. --cpu="$CPU" \
  23. --enable-runtime-cpudetect \
  24. --sysroot="$NDK_SYSROOT" \
  25. --enable-openssl \
  26. --disable-debug \
  27. --disable-ffserver \
  28. --enable-version3 \
  29. --enable-hardcoded-tables \
  30. --disable-ffplay \
  31. --disable-ffprobe \
  32. --enable-gpl \
  33. --enable-yasm \
  34. --disable-doc \
  35. --disable-shared \
  36. --enable-static \
  37. --enable-nonfree \
  38. --pkg-config="${2}/ffmpeg-pkg-config" \
  39. --prefix="${2}/build/${1}" \
  40. --extra-cflags="-I/usr/local/ssl/android-18/include $CFLAGS" \
  41. --extra-ldflags="-L/usr/local/ssl/android-18/lib $LDFLAGS" \
  42. --extra-cxxflags="$CXX_FLAGS" || exit 1
  43.  
  44. make -j${NUMBER_OF_CORES} && make install || exit 1
  45.  
  46. popd
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×