Blame docker-builder-data/build/script/packet/ffmpeg-3.1.5.sh

ce0d6b
# + sdl ?
ce0d6b
# + yasm
ce0d6b
# + lame ?
ce0d6b
# + ogg
ce0d6b
# + theora
ce0d6b
# + vorbis
ce0d6b
# + x264
ce0d6b
3b09af
DEPS="lame-3.99.5 ogg-1.3.2 theora-1.1.1 vorbis-1.3.5 x264-master sdl-1.2.15"
3b09af
DEPS_NATIVE="yasm-1.3.0"
ce0d6b
ce0d6b
PK_DIRNAME="ffmpeg-3.1.5"
ce0d6b
PK_ARCHIVE="$PK_DIRNAME.tar.bz2"
ce0d6b
PK_URL="http://ffmpeg.org/releases/$PK_ARCHIVE"
ce0d6b
3b09af
PK_CONFIGURE_OPTIONS_DEFAULT=" \
3b09af
 --prefix=$INSTALL_PACKET_DIR \
3b09af
 --disable-static \
3b09af
 --enable-shared"
3b09af
3b09af
PK_CONFIGURE_OPTIONS="
3b09af
 --disable-doc \
ce0d6b
 --enable-rpath \
ce0d6b
 --enable-gpl \
ce0d6b
 --enable-libx264 \
ce0d6b
 --enable-libmp3lame \
ce0d6b
 --enable-libtheora \
ce0d6b
 --enable-libvorbis"
ce0d6b
3b09af
if [ "$PLATFORM" = "win" ]; then
3b09af
    PK_CONFIGURE_OPTIONS="$PK_CONFIGURE_OPTIONS \
3b09af
     --arch=x86_$ARCH \
3b09af
     --target-os=mingw$ARCH \
3b09af
     --cross-prefix=$HOST- \
3b09af
     --host-cc=$HOST-gcc \
3b09af
     --host-ld=$HOST-gcc \
3b09af
     --enable-cross-compile"
3b09af
fi
3b09af
99b145
PK_LICENSE_FILES="CREDITS LICENSE.md COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 COPYING.LGPLv3"
99b145
ce0d6b
source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh