summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-06-25 19:42:46 +0100
committerTim Redfern <tim@herge.(none)>2013-06-25 19:42:46 +0100
commit8c6a4c2fb16cafdfabf30c2b755810fd01d049d8 (patch)
treec7ee1d6cfdc8d41b21ab6169493c6818be9cd7b9
parent1daee727f5d47681a73417a469d71673e1a0827c (diff)
parent9f72cdc20b8fe267299047eb7f3d86530be47a5a (diff)
Merge branch 'master' of eclectronics.org@eclectronics.org:rotor
-rwxr-xr-xinstall_dependencies_linux.sh24
-rw-r--r--rotord/Makefile4
2 files changed, 14 insertions, 14 deletions
diff --git a/install_dependencies_linux.sh b/install_dependencies_linux.sh
index ff5f524..32bc6d6 100755
--- a/install_dependencies_linux.sh
+++ b/install_dependencies_linux.sh
@@ -5,19 +5,10 @@ cd deps
sudo apt-get install libgpac-dev
-wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.2.tar.gz
-tar xvfz yasm-0.7.2.tar.gz
-cd yasm-0.7.2
-./configure --prefix=/usr/local
-cd ..
-git clone git://git.videolan.org/x264.git
-cd x264
-./configure --prefix=/usr/local --enable-shared
-make
-sudo make install
-cd ..
+sudo apt-get install yasm
+git clone git://git.videolan.org/x264.git
cd x264
./configure --prefix=/usr/local --enable-shared
make
@@ -34,13 +25,19 @@ make
sudo make install
cd ../../../
+
+sudo apt-get install libxvidcore-dev libxfixes-dev
+
sudo apt-get install libfaac-dev libfaad-dev libschroedinger-dev libtheora-dev libvorbis-dev libxv-dev libxvmc-dev
sudo apt-get install libmp3lame-dev
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
-./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
+./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-bzlib --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
+
+#https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDYQFjAB&url=https%3A%2F%2Fgithub.com%2Fopenembedded%2Foe-core%2Fblob%2Fmaster%2Fmeta%2Frecipes-multimedia%2Fgstreamer%2Fgst-ffmpeg-0.10.13%2Fh264_qpel_mmx.patch&ei=IKPJUb5GzYuFB5fcgcAF&usg=AFQjCNFXPPb3HZRMdRCnOazSoteHQu6awA&sig2=Z2s4SUshqcOCoB5N_o1aVw&bvm=bv.48293060,d.ZG4
+#problems for now with latest version, use saved one here
make
sudo make install
cd ..
@@ -48,3 +45,6 @@ cd ..
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
sudo ldconfig
+sudo apt-get install colorgcc
+sudo apt-get install g++
+sudo apt-get install libpoco-dev libvamp-hostsdk3 vamp-plugin-sdk libsndfile1-dev
diff --git a/rotord/Makefile b/rotord/Makefile
index ed200cc..36c2ac8 100644
--- a/rotord/Makefile
+++ b/rotord/Makefile
@@ -9,7 +9,7 @@ MY_CFLAGS = -fpermissive -std=c++11
# -I ../ffmpeg
# The linker options.libgstaasinklibgstaasink.so
-MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil
+MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil -lstdc++ -lm
#MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsndfile -L /usr/local/lib -lswscale -lavcodec -lavformat -lavfilter -lavdevice -lavutil $(shell pkg-config gstreamer-0.10 gstreamer-video-0.10 gstreamer-base-0.10 --libs)
# -lgstreamer-0.10 -lgstreamer-video-0.10 -lgstreamer-base-0.10 -lglib-2.0 -lgstapp-0.10
#MY_LIBS = ../libavcodec/ffmpeg/libavcodec/libavcodec.a ../libavcodec/ffmpeg/libavutil/libavutil.a ../libavcodec/ffmpeg/libavformat/libavformat.a ../libavcodec/ffmpeg/libavfilter/libavfilter.a ../libavcodec/ffmpeg/libavdevice/libavdevice.a -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk
@@ -19,7 +19,7 @@ MY_LIBS = -lPocoNet -lPocoXML -lPocoUtil -lPocoFoundation -lvamp-hostsdk -lsnd
CPPFLAGS = -Wall
# The options used in linking as well as in any direct use of ld.
-LDFLAGS =
+LDFLAGS =
# The directories in which source files reside.
# If not specified, only the current directory will be serached.