libwavpack is now supported

pull/53/head
Javernaut 5 years ago
parent d0352e20ce
commit 5249634465
  1. 2
      .travis.yml
  2. 25
      scripts/libwavpack/build.sh
  3. 9
      scripts/libwavpack/download.sh
  4. 4
      scripts/parse-arguments.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 - 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 - sudo dpkg -i $HOME/nasm_2.14.02-1_amd64.deb
script: script:
- ./ffmpeg-android-maker.sh -dav1d -mp3lame -aom -opus -android=18 - ./ffmpeg-android-maker.sh -dav1d -mp3lame -aom -opus -wavpack -android=18

@ -0,0 +1,25 @@
#!/usr/bin/env bash
# The Wavpack may reqire libiconv for proper work
# Consider building it and passing via --with-iconv
./configure \
--prefix=${INSTALL_DIR} \
--host=${TARGET} \
--with-sysroot=${SYSROOT_PATH} \
--disable-shared \
--enable-static \
--with-pic \
--disable-apps \
--disable-tests \
--enable-asm \
--disable-man \
CC=${FAM_CC} \
AR=${FAM_AR} \
RANLIB=${FAM_RANLIB} || exit 1
export FFMPEG_EXTRA_LD_FLAGS="${FFMPEG_EXTRA_LD_FLAGS} -lm"
${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC}
${MAKE_EXECUTABLE} install

@ -0,0 +1,9 @@
#!/usr/bin/env bash
source ${SCRIPTS_DIR}/common-functions.sh
WAVPACK_VERSION=5.3.0
downloadTarArchive \
"libwavpack" \
"http://www.wavpack.com/wavpack-${WAVPACK_VERSION}.tar.bz2"

@ -78,7 +78,9 @@ for argument in "$@"; do
;; ;;
--enable-libopus|-opus) --enable-libopus|-opus)
EXTERNAL_LIBRARIES+=( "libopus" ) EXTERNAL_LIBRARIES+=( "libopus" )
shift ;;
--enable-wavpack|-wavpack)
EXTERNAL_LIBRARIES+=( "libwavpack" )
;; ;;
*) *)
echo "Unknown argument $argument" echo "Unknown argument $argument"

Loading…
Cancel
Save