Skip to content

Instantly share code, notes, and snippets.

@jeromewu
Created October 16, 2019 12:47
Show Gist options
  • Save jeromewu/3053d104a67f3b3a6f824cc3f90622ea to your computer and use it in GitHub Desktop.
Save jeromewu/3053d104a67f3b3a6f824cc3f90622ea to your computer and use it in GitHub Desktop.
ffmpeg.js-build_libwavpack
#!/bin/bash
NPROC=$(grep -c ^processor /proc/cpuinfo)
BUILD_DIR=$PWD/build
apt-get update && apt-get install -y autoconf libtool
mkdir third_party
git submodule add git@github.com:dbry/WavPack.git third_party/WavPack
cd third_party/WavPack
git checkout 5.1.0
emconfigure ./autogen.sh \
--disable-asm
--prefix=$BUILD_DIR
emmake make install -j${NPROC}
cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment