tce-load -i gst-plugins-base-dev libmad-dev python-dev x264-dev libdvdread-dev liba52-dev

cd gst-plugins-ugly-1.4.5

CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var

find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \;

make
sudo make install

configure: *** Plug-ins without external dependencies that will be built:
	asfdemux
	dvdlpcmdec
	dvdsub
	realmedia
	xingmux

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins that have NOT been ported:

configure: *** Plug-ins with dependencies that will be built:
	a52dec
	dvdreadsrc
	mad
	x264

configure: *** Plug-ins with dependencies that will NOT be built:
	amrnb
	amrwbdec
	cdio
	lame
	mpeg2dec
	sid
	twolame

configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.16, which was
               not found.  Slower code paths will be used.
