Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions packaging/build_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@

HOST=i686-w64-mingw32
if [ -z "${PREFIX}" ]; then
PREFIX=`pwd`
PREFIX=$(pwd)
fi
echo Installing to: $PREFIX

#SHARED_OR_STATIC="
#--enable-shared \
#--disable-static
#"

SHARED_OR_STATIC="
--disable-shared \
--disable-shared
--enable-static
"

EIGEN_VERSION=3.3.7
FFMPEG_VERSION=ffmpeg-2.8.12
FFMPEG_VERSION=ffmpeg-7.1.1
LAME_VERSION=3.100
TAGLIB_VERSION=taglib-1.11.1
ZLIB_VERSION=zlib-1.2.12
Expand All @@ -29,14 +24,13 @@ QT_SOURCE_URL=https://download.qt.io/archive/qt/4.8/4.8.4/qt-everywhere-opensour
GAIA_VERSION=2.4.6-86-ged433ed
TENSORFLOW_VERSION=2.5.0


FFMPEG_AUDIO_FLAGS="
--disable-programs
--disable-doc
--disable-debug

--disable-avdevice
--disable-avresample
--disable-swresample
--disable-swscale
--disable-postproc
--disable-avfilter
Expand All @@ -58,7 +52,7 @@ FFMPEG_AUDIO_FLAGS="
--enable-protocol=file
--enable-protocol=pipe

--disable-sdl
--disable-sdl2
--disable-lzma
--disable-zlib
--disable-xlib
Expand Down Expand Up @@ -211,14 +205,14 @@ FFMPEG_AUDIO_FLAGS_MUXERS="

# see http://www.fftw.org/install/windows.html
FFTW_FLAGS="
--enable-float \
--enable-sse2 \
--with-incoming-stack-boundary=2 \
--enable-float
--enable-sse2
--with-incoming-stack-boundary=2
--with-our-malloc16
"

LIBSAMPLERATE_FLAGS="
--disable-fftw \
--disable-fftw
--disable-sndfile
"

Expand Down
20 changes: 10 additions & 10 deletions packaging/debian_3rdparty/build_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -e
. ../build_config.sh

echo "Building FFmpeg $FFMPEG_VERSION"
echo "Building $FFMPEG_VERSION"

mux=$1
if test "$1" = "--no-muxers"; then
echo Building FFmpeg without muxers
FFMPEG_AUDIO_FLAGS_MUXERS=""
echo Building FFmpeg without muxers
FFMPEG_AUDIO_FLAGS_MUXERS=""
fi

rm -rf tmp
Expand All @@ -19,13 +19,13 @@ tar xf $FFMPEG_VERSION.tar.gz
cd $FFMPEG_VERSION

./configure \
--enable-pic \
$FFMPEG_AUDIO_FLAGS \
$FFMPEG_AUDIO_FLAGS_MUXERS \
--prefix=$PREFIX \
--extra-ldflags=-L$PREFIX/lib \
--extra-cflags=-I$PREFIX/include \
$SHARED_OR_STATIC
--enable-pic \
$FFMPEG_AUDIO_FLAGS \
$FFMPEG_AUDIO_FLAGS_MUXERS \
--prefix=$PREFIX \
--extra-ldflags="-L$PREFIX/lib" \
--extra-cflags="-I$PREFIX/include" \
$SHARED_OR_STATIC
make
make install

Expand Down
Loading
Loading