diff --git a/piomxtextures_tools/prepare_openmaxil_backend.sh b/piomxtextures_tools/prepare_openmaxil_backend.sh index b4ac0e7..c6579a7 100755 --- a/piomxtextures_tools/prepare_openmaxil_backend.sh +++ b/piomxtextures_tools/prepare_openmaxil_backend.sh @@ -1,10 +1,10 @@ +#!/bin/sh # # Project: OpenMAXIL QtMultimedia Plugin # Company: - # Author: Luca Carlon (carlon.luca (AT) gmail.com) # Date: 04.21.2013 # -#!/bin/sh # This script can be used to prepare everything you need to compile the OpenMAXIL QtMultimedia backend # into Qt sources. Run this script and PiOmxTextures and ffmpeg libs will be built and placed into @@ -22,7 +22,10 @@ fi echo "This script will automatically download and build the dependencies..." -if [ ! -d ../3rdparty/ffmpeg/lib ] || [ ! -d ../3rdparty/ffmpeg/include ]; then +if [ ! -d ../3rdparty/ffmpeg/ffmpeg_pi1/lib ] && [ ! -d ../3rdparty/ffmpeg/ffmpeg_pi2/lib ]; then + echo "It seems you did not compile ffmpeg. Please run compile_ffmpeg.sh first." + exit +elif [ ! -d ../3rdparty/ffmpeg/ffmpeg_pi1/include ] && [ ! -d ../3rdparty/ffmpeg/ffmpeg_pi2/include ]; then echo "It seems you did not compile ffmpeg. Please run compile_ffmpeg.sh first." exit fi