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

Bug 434312

Summary: games-engines/scummvm-1.5.0 has automagic dependency on media-libs/faad2
Product: Gentoo Linux Reporter: Hans <immerdabeiundnie>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: scummvm-1.5.0.ebuild.diff
emerge --info

Description Hans 2012-09-08 09:40:49 UTC
Created attachment 323196 [details]
scummvm-1.5.0.ebuild.diff

games-engines/scummvm-1.5.0 has an automagic dependency on media-libs/faad2:

 $ readelf -d /usr/games/bin/scummvm 

Dynamic section at offset 0x149d100 contains 34 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libSDL-1.2.so.0]
[...] 
 0x0000000000000001 (NEEDED)             Shared library: [libfaad.so.2]
[...]


The attached patch fixes this. I chose to use "aac" instead of "faad" as a USE flag as it seems to be more widely used, and it is mentioned in use.desc.
Comment 1 Hans 2012-09-08 09:41:10 UTC
Created attachment 323198 [details]
emerge --info
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2012-09-08 16:03:40 UTC
applied.