diff options
author | wm4 <wm4@nowhere> | 2012-10-12 10:41:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-13 10:37:32 +0200 |
commit | b7b804926a5154be424a1cba983ace626abb2198 (patch) | |
tree | 339fd60b53ef380cd5b14d7ffadb440d1d60ef21 /scripts/ffmpeg-config | |
download | mpv-build-b7b804926a5154be424a1cba983ace626abb2198.tar.bz2 mpv-build-b7b804926a5154be424a1cba983ace626abb2198.tar.xz |
Initial commit
This is based on mplayer-git [1], except that it doesn't need Python.
Some features, such as specifying custom options, are not available,
but these should be considered out of the scope of the basic build
wrapper.
[1] http://repo.or.cz/w/mplayer-build.git
Diffstat (limited to 'scripts/ffmpeg-config')
-rwxr-xr-x | scripts/ffmpeg-config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/ffmpeg-config b/scripts/ffmpeg-config new file mode 100755 index 0000000..38fc1e9 --- /dev/null +++ b/scripts/ffmpeg-config @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +OPTIONS="--enable-gpl --enable-nonfree" + +BUILD="$(pwd)" +mkdir -p "$BUILD"/ffmpeg_build +cd "$BUILD"/ffmpeg_build +"$BUILD"/ffmpeg/configure --prefix="$BUILD"/build_libs --enable-static --disable-shared $OPTIONS |