Revision 5e92934b peerstreamer-download-build-test.sh

View differences:

peerstreamer-download-build-test.sh
22 22
cd ffmpeg
23 23
./configure --enable-libx264 --enable-gpl --enable-pthreads --extra-cflags=-I$THIRDPARTYLIBS/x264-install/include --extra-ldflags=-L$THIRDPARTYLIBS/x264-install/lib --prefix=$THIRDPARTYLIBS/ffmpeg-install || { echo "Error configuring ffmpeg" && exit 1; }
24 24
#in case x264 is not reqired (do we need the encoding?): ./configure --enable-gpl --enable-pthreads --prefix=$BASEDIR/ffmpeg-install
25
make -j 2 || { echo "Error cimpiling ffmpeg" && exit 1; }
25
make -j 2 || { echo "Error compiling ffmpeg" && exit 1; }
26 26
make install || { echo "Error installing ffmpeg" && exit 1; }
27 27
cd ..
28 28

  
......
31 31
#prepare GRAPES
32 32
git clone http://halo.disi.unitn.it/~abeni/PublicGits/GRAPES.git
33 33
cd GRAPES
34
FFDIR=$THIRDPARTYLIBS/ffmpeg make || { echo "Error cimpiling GRAPES" && exit 1; }
34
FFDIR=$THIRDPARTYLIBS/ffmpeg make || { echo "Error compiling GRAPES" && exit 1; }
35 35
cd ../..
36 36

  
37 37
#prepare the Streamer
38 38
git clone http://halo.disi.unitn.it/~cskiraly/PublicGits/Streamers.git
39 39
cd Streamers
40 40
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 make clean
41
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 make || { echo "Error cimpiling the Streamer" && exit 1; }
41
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 make || { echo "Error compiling the Streamer" && exit 1; }
42 42
cd ..
43 43

  
44 44
#get test scripts
......
65 65
#version with NAPA-libs
66 66
cd Streamers
67 67
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 STATIC=2 NAPA=$THIRDPARTYLIBS/NAPA-BASELIBS/ LIBEVENT_DIR=$THIRDPARTYLIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libevent ML=1 MONL=1  make clean >/dev/null
68
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 STATIC=2 NAPA=$THIRDPARTYLIBS/NAPA-BASELIBS/ LIBEVENT_DIR=$THIRDPARTYLIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libevent ML=1 MONL=1  make || { echo "Error cimpiling the ML+MONL version of the Streamer" && exit 1; }
68
GRAPES=$THIRDPARTYLIBS/GRAPES FFMPEG_DIR=$THIRDPARTYLIBS/ffmpeg X264_DIR=$THIRDPARTYLIBS/x264 STATIC=2 NAPA=$THIRDPARTYLIBS/NAPA-BASELIBS/ LIBEVENT_DIR=$THIRDPARTYLIBS/NAPA-BASELIBS/3RDPARTY-LIBS/libevent ML=1 MONL=1  make || { echo "Error compiling the ML+MONL version of the Streamer" && exit 1; }
69 69
cd ..
70 70

  
71 71
#run a test

Also available in: Unified diff