Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 18777

Summary: make mplayer.ebuild use the realplayer dlls in win32codecs.ebuild
Product: Gentoo Linux Reporter: moonlite
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description moonlite 2003-04-04 20:39:59 UTC
in the current mplayer ebuild (0.90_rc5) the presence of the real-libraries is
detected with the following script:

--------
if [ -d /opt/RealPlayer9/Real/Codecs ]
then
	einfo "Setting REALLIBDIR to /opt/RealPlayer9/Real/Codecs..."
	REALLIBDIR="/opt/RealPlayer9/Real/Codecs"
elif [ -d /opt/RealPlayer8/Codecs ]
then
	einfo "Setting REALLIBDIR to /opt/RealPlayer8/Codecs..."
	REALLIBDIR="/opt/RealPlayer8/Codecs"
else
	REALLIBDIR="/usr/lib/real"
fi
---------

somewhere, this part should check if win32codecs.ebuild is installed and if it
is set REALLIBDIR=/usr/lib/win32...

i guess something in the line with: 
--------
if has_version media-libs/win32codecs
then
	einfo "Setting REALLIBDIR to /usr/lib/win32..."
	REALLIBDIR="/usr/lib/win32"
else
--------

the has_version-line should probably deny people with too old win32codec.ebuild
installs that doesnt contain the real-libs to set the REALLIBDIR="/usr/lib/win32"...


Does this make sense? i'm not too confident in my english...
Comment 1 moonlite 2003-04-04 20:54:29 UTC
i just realised that the realplayer-libs from win32codecs are for windows (DOOH!) and that mplayer normaly would use the libraries that are for linux... 

sorry
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-06 04:38:50 UTC
invalid