View previous topic :: View next topic |
Author |
Message |
mephist0 Tux's lil' helper
Joined: 19 Sep 2005 Posts: 94 Location: Germany, Frankfurt/Main
|
Posted: Sun Jul 09, 2006 6:24 pm Post subject: |
|
|
Acoc wrote: | How I got 32 bit mplayer and mplayerplug-in working on an amd64 without chrooting.
*This assumes you have /usr/local/portage as your overlay. If you don't know what this is, it is how you manually add packages to portage. If you don't have it do this:
Code: | echo "PORTDIR_OVERLAY=\"/usr/local/portage\"" >> /etc/make.conf
mkdir /usr/local/portage |
Here goes:
Code: | su
*echo media-libs/win32codecs ~amd64 >> /etc/portage/package.keywords
emerge win32codecs
cd /usr/local/portage
mkdir app-emulation
cd app-emulation
mkdir emul-linux-x86-mplayerlibs
cd emul-linux-x86-mplayerlibs
wget http://sh.nu/download/ebuilds/mplayer/usr/local/portage/app-emulation/emul-linux-x86-mplayerlibs/emul-linux-x86-mplayerlibs-1.0.ebuild
mv emul-linux-x86-mplayerlibs-1.0.ebuild emul-linux-x86-mplayerlibs-1.2.ebuild
nano -w emul-linux-x86-mplayerlibs-1.2.ebuild *replace media-libs/win32codecs-amd64 with media-libs/win32codecs
wget -P /usr/portage/distfiles http://sh.nu/download/ebuilds/mplayer/usr/portage/distfiles/emul-linux-x86-mplayerlibs-1.2.tar.bz2
ebuild emul-linux-x86-mplayerlibs-1.2.ebuild digest
*echo app-emulation/emul-linux-x86-mplayerlibs ~amd64 >> /etc/portage/package.keywords
emerge emul-linux-x86-mplayerlibs
cd /usr/local/portage
mkdir media-video
cd media-video
mkdir mplayer32-bin
cd mplayer32-bin
wget http://sh.nu/download/ebuilds/mplayer/usr/local/portage/media-video/mplayer32-bin/mplayer32-bin-1.0_pre6.ebuild
mv mplayer32-bin-1.0_pre6.ebuild mplayer32-bin-1.0_pre7.ebuild
wget -P /usr/portage/distfiles http://sh.nu/download/ebuilds/mplayer/usr/portage/distfiles/mplayer32-bin-1.0_pre7.tar.bz2
ebuild mplayer32-bin-1.0_pre7.ebuild digest
*echo media-video/mplayer32-bin ~amd64 >> /etc/portage/package.keywords
emerge mplayer32-bin |
Mplayerplug-in part:
Code: | mkdir ~/tmp
cd ~/tmp
wget http://sh.nu/download/ebuilds/mplayer/mplayerplug-in32-2.85.tbz2
tar -xvf mplayerplug-in32-2.85.tbz2
cp opt/netscape/plugins/mplayerplug-in.so /opt/netscape/plugins/mplayerplug-in32.so
cp etc/mplayerplug-in.conf /etc/
exit
cd ~/.mozilla/plugins/
ln -s /opt/netscape/plugins/mplayerplug-in32.so mplayerplug-in.so |
NOTE: all the *'s are if you are running stable amd64 (Smart Idea). All of this was written from memory, so if there are problems, post and I will fix. Oh and I should say that this is only meant to show how I got it working. I take no credit in the actual work that was done in creating this packages. Also, I haven't gotten all the binary libs suggested earlier yet, but if I have time to do it I'll post how.
John |
Hi !
I tried the above, it works till emerging the emul-libs :
Code: |
dampframme emul-linux-x86-mplayerlibs # emerge -pv emul-linux-x86-mplayerlibs
These are the packages that would be merged, in order:
Calculating dependencies -
emerge: there are no ebuilds to satisfy "app-emulation/emul-linux-x86-glibc".
(dependency required by "app-emulation/emul-linux-x86-mplayerlibs-1.2" [ebuild])
|
anyone got a idea ?
thanks _________________ There is only one God, and his name is Death. And there is only one thing we say to Death: 'Not today!'
Photography portfolio |
|
Back to top |
|
|
zwede Tux's lil' helper
Joined: 03 Jan 2006 Posts: 103
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|