View Single Post
Posts: 129 | Thanked: 13 times | Joined on Oct 2005
#489
Originally Posted by iancumihai View Post
does anyone know how this codec can be aded ?
(even a link src to compile will be a good hint)
In debian/rules in mplayer source line 63:
Code:
		--disable-liba52 \
Deleting this should build mplayer with this codec. I won't explain how to compile mplayer for n800 because I don't know how to do it properly. (I've been commenting out the device selection conditions. I'd really like to know the right way to do this.)

EDIT:
MPlayer-1.0rc1.tar.bz2 is found at http://www.mplayerhq.hu/
mplayer_1.0rc1-maemo.17.n800.diff.gz is found at https://garage.maemo.org/projects/mplayer

Just tried this and it compiled, have not tested yet. Is this the right method?
> tar xvf ../MPlayer-1.0rc1.tar.bz2
> gunzip mplayer_1.0rc1-maemo.17.n800.diff.gz
> cd MPlayer-1.0rc1/
> patch -p 1 -i ../mplayer_1.0rc1-maemo.17.n800.diff
(change debian/rules)
> export DEB_BUILD_OPTIONS=n800
> dpkg-buildpackage -rfakeroot -b

Last edited by sdrman; 2007-06-05 at 01:59.