Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer-bin
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mephist0
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2005
Posts: 94
Location: Germany, Frankfurt/Main

PostPosted: Sun Jul 09, 2006 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
zwede
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2006
Posts: 103

PostPosted: Sun Jul 09, 2006 10:09 pm    Post subject: Reply with quote

The guide in this thread is ancient and deprecated.

Try media-video/mplayer-bin instead and unmerge anything you got from the non-portage tree.

Here's a guide:

http://gentoo-wiki.com/HOWTO_AMD_64#Mplayer_and_32bit_codecs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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