Blame env-builder-data/build/script/packet/mlt-6.6.0.sh

f32366
# + ffmpeg
f32366
# + xml
f32366
# + fftw
f32366
# + samplerate
f32366
# ? sdl
f32366
# ? sox
f32366
# + jack
f32366
# + glib
f32366
f32366
DEPS="ffmpeg-3.1.5 xml-2.9.4 fftw-3.3.5 samplerate-0.1.9 sdl-1.2.15 sox-14.4.2 glib-2.50.0"
f32366
f32366
PK_DIRNAME="mlt-6.6.0"
f32366
PK_ARCHIVE="v6.6.0.tar.gz"
f32366
PK_URL="https://github.com/mltframework/mlt/archive/$PK_ARCHIVE"
f32366
PK_CONFIGURE_OPTIONS=" \
f32366
 --enable-gpl \
f32366
 --enable-gpl3 \
f32366
 --disable-decklink \
f32366
 --disable-gtk2 \
f32366
 --disable-opengl \
f32366
 --disable-qt \
f32366
 --disable-rtaudio"
f32366
f32366
if [ "$PLATFORM" = "linux" ]; then
f32366
    DEPS="$DEPS jack-0.125.0"
f32366
fi
f32366
f32366
if [ "$PLATFORM" = "win" ]; then
f32366
    DEPS="$DEPS dlfcnwin32-1.1.1"
f32366
f32366
    PK_CONFIGURE_OPTIONS="$PK_CONFIGURE_OPTIONS --target-os=MinGW"
f32366
    if [ "$ARCH" = "32" ]; then
f32366
        PK_CONFIGURE_OPTIONS="$PK_CONFIGURE_OPTIONS --target-arch=i686"
f32366
    else
f32366
        PK_CONFIGURE_OPTIONS="$PK_CONFIGURE_OPTIONS --target-arch=x86_$ARCH"
f32366
    fi
f32366
fi
f32366
f32366
source $INCLUDE_SCRIPT_DIR/inc-pkall-default.sh
f32366
f32366
pkhook_postinstall() {
f32366
    if [ "$PLATFORM" = "win" ]; then
f32366
        mkdir -p "bin"
f32366
        mkdir -p "bin/lib"
f32366
        mkdir -p "bin/share"
f32366
        mv "libmlt++-3.dll" "bin/"
f32366
        mv "libmlt-6.dll"   "bin/"
f32366
        mv "melt"           "bin/melt.exe"
f32366
        mv "lib/mlt"        "bin/lib/"
f32366
        mv "share/mlt"      "bin/share/"
f32366
    fi
f32366
}