Commit 52eae55e authored by hark's avatar hark
Browse files

dplgst

parent e09474e4
......@@ -9,7 +9,7 @@
#should we install debian packages?
checkdeps="true"
waitaftermodule="true"
#plugins-bad
DEPS_BAD="ladspa-sdk libass-dev libbz2-dev libcdaudio-dev libcdaudio1 libchromaprint-dev libcurl4-gnutls-dev libcv-dev libcvaux-dev libdc1394-22-dev libdca-dev libdirectfb-dev libdirectfb-extra libdjvulibre-dev libdvdnav-dev libdvdread-dev libegl1-mesa-dev libenca-dev libexempi-dev libexempi3 libexif-dev libfaad-dev libflac-dev libfluidsynth-dev libfluidsynth1 libfribidi-dev libgles2-mesa-dev libglib2.0-doc libgme-dev libgme0 libgraphviz-dev libgsm1-dev libgtkglext1 libhighgui-dev libilmbase-dev libiptcdata0 libiptcdata0-dev libjasper-dev libkate-dev liblavfile-2.1-0 liblavjpeg-2.1-0 liblavplay-2.1-0 liblcms2-dev liblqr-1-0-dev libmagick++-6-headers libmagick++-6.q16-5 libmagick++-6.q16-dev libmagick++-dev libmagickcore-6-arch-config libmagickcore-6-headers libmagickcore-6.q16-2 libmagickcore-6.q16-2-extra libmagickcore-6.q16-dev libmagickwand-6-headers libmagickwand-6.q16-2 libmagickwand-6.q16-dev libmimic-dev libmimic0 libmjpegtools-dev libmjpegutils-2.1-0 libmms-dev libmms0 libmodplug-dev libmpcdec-dev libmpeg2encpp-2.1-0 libmpg123-dev libmplex2-2.1-0 libofa0 libofa0-dev libopenal-data libopenal-dev libopenal1 libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev libopencv-contrib2.4 libopencv-core-dev libopencv-dev libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4 libopencv-highgui-dev libopencv-highgui2.4 libopencv-imgproc-dev libopencv-legacy-dev libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4 libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4 libopencv-stitching-dev libopencv-stitching2.4 libopencv-superres-dev libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev libopencv-video2.4 libopencv-videostab-dev libopencv-videostab2.4 libopencv2.4-java libopencv2.4-jni libopenexr-dev libopenjpeg-dev libopus-dev liborc-0.4-dev libquicktime2 libraw1394-dev librsvg2-dev librtmp-dev libsbc-dev libsbc1 libschroedinger-dev libsndfile1-dev libsoundtouch-dev libspandsp-dev libsrtp0-dev libswscale-dev libvo-aacenc-dev libvo-aacenc0 libvo-amrwbenc-dev libvo-amrwbenc0 libwebp-dev libwildmidi-config libwildmidi-dev libwildmidi1 libwmf-dev libxvidcore-dev libzbar-dev libzbar0 libzvbi-dev"
......@@ -38,13 +38,13 @@ MODULES="orc gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plu
if [[ -z $1 ]];
then
echo "This script will check if git versions of the following modules are present and up to date"
for module in $MODULES
do
echo - $module
done
echo "Please specify the directory were you want to deploy gstreamer git head as the first argument"
exit
echo "This script will check if git versions of the following modules are present and up to date"
for module in $MODULES
do
echo - $module
done
echo "Please specify the directory were you want to deploy gstreamer git head as the first argument"
exit
fi
if [ checkdeps == "true" ]
......@@ -68,32 +68,38 @@ fi
for module in $MODULES
do
cd $1
echo "checking for $module"
if [[ -d $module ]];
then
echo "$module found. "
echo "checking if git for $module is up to date..."
cd $module
# disabled this for now, it doesnt check if stuff was build properly
# GIT_UP_TO_DATE=$(git status | grep behind)
# if [[ -z $GIT_UP_TO_DATE ]]
# then
# echo "git for module $module is up to date."
# cd ..
# else
if git pull && ./configure && make $MAKE_FLAGS && sudo make install && sudo ldconfig
then
echo "Building $module was successfull"
else
echo "Building $module failed, no idea why"
fi
cd ..
read -p "PRESS key to continue"
# fi
else
echo "$module not found, pulling from git..."
git clone git://anongit.freedesktop.org/gstreamer/$module && cd $module && ./autogen.sh && ./configure && make $MAKE_FLAGS && sudo make install && cd ..
fi
sleep 1
cd $1
echo "checking for $module"
if [[ -d $module ]];
then
echo "$module found. "
else
echo "$module not found, pulling from git..."
git clone git://anongit.freedesktop.org/gstreamer/$module
fi
# echo "checking if git for $module is up to date..."
cd $module
# disabled this for now, it doesnt check if stuff was build properly
# GIT_UP_TO_DATE=$(git status | grep behind)
# if [[ -z $GIT_UP_TO_DATE ]]
# then
# echo "git for module $module is up to date."
# cd ..
# else
echo "Building module: $module"
if git pull && ./configure && make $MAKE_FLAGS && sudo make install && sudo ldconfig
then
echo "Building $module was successfull"
else
echo "Building $module failed, no idea why"
fi
cd ..
if [ $waitaftermodule == "true" ]
then
read -p "PRESS key to continue"
else
sleep 1
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment