I've did some patches to games-emulation/mupen64 to make it install stuff nicer on a amd64 box (i don't think lang is fine in lib but that was decided by the author anyway): qlist: /usr/games/bin/mupen64 /usr/games/bin/mupen64_nogui /usr/games/lib32/mupen64/lang/catalan.lng /usr/games/lib32/mupen64/lang/pt_BR.lng /usr/games/lib32/mupen64/lang/german.lng /usr/games/lib32/mupen64/lang/spanish.lng /usr/games/lib32/mupen64/lang/dutch.lng /usr/games/lib32/mupen64/lang/italian.lng /usr/games/lib32/mupen64/lang/english.lng /usr/games/lib32/mupen64/lang/french.lng /usr/games/lib32/mupen64/roms/pong.v64.gz /usr/games/lib32/mupen64/roms/fire.bin.gz /usr/games/lib32/mupen64/mupen64.ini /usr/games/lib32/mupen64/jttl_audio.conf /usr/games/lib32/mupen64/plugins/dummyaudio.so /usr/games/lib32/mupen64/plugins/jttl_audio.so /usr/games/lib32/mupen64/plugins/mupen64_soft_gfx.so /usr/games/lib32/mupen64/plugins/blight_input.so /usr/games/lib32/mupen64/plugins/mupen64_hle_rsp_azimer.so /usr/games/lib32/mupen64/plugins/mupen64_input.so /usr/games/lib32/mupen64/plugins/mupen64_audio.so /usr/games/lib32/mupen64/plugins/glN64.so /usr/share/doc/mupen64-0.5-r3/whatsnew.txt.bz2 /usr/share/doc/mupen64-0.5-r3/readme.pdf.bz2 /usr/share/doc/mupen64-0.5-r3/header.txt.bz2 I had to include the SDL and PATH fixes because they collide with the lib dir stuff.
Created attachment 114002 [details] new ebuild
Created attachment 114004 [details, diff] patch to fix paths in Makfile and SDL mess
Created attachment 114006 [details, diff] optional eyecandy enhancment Yeah, i forgot to rip out this patch before submiting the ebuild so i also include this patch. Feel free to remove if you don't want it included.
The global ABI=x86 is there to make "inherit games" set the GAMES_LIBDIR to lib32. I only got this really clean by doing it global (but it's only setting a var). Should not cause any harm since the application only runs on amd64 and x86 anyway.
(In reply to comment #4) > Should not cause any harm since the application only runs on amd64 and x86 > anyway. > Should not but it does on x86. GAMES_LIBDIR is set to "/usr/games/".
Only if ABI is set to "x86"? Now that puzzles me. Sounds like a bug.
What about this: ABI="${ABI/amd64/x86}" On x86: ./ ./usr/ ./usr/games/ ./usr/games/bin/ ./usr/games/bin/mupen64 ./usr/games/bin/mupen64_nogui ./usr/games/lib/ ./usr/games/lib/mupen64/ ./usr/games/lib/mupen64/lang/ ./usr/games/lib/mupen64/lang/catalan.lng ./usr/games/lib/mupen64/lang/pt_BR.lng ./usr/games/lib/mupen64/lang/german.lng ./usr/games/lib/mupen64/lang/spanish.lng ./usr/games/lib/mupen64/lang/dutch.lng ./usr/games/lib/mupen64/lang/italian.lng ./usr/games/lib/mupen64/lang/english.lng ./usr/games/lib/mupen64/lang/french.lng ./usr/games/lib/mupen64/roms/ ./usr/games/lib/mupen64/roms/pong.v64.gz ./usr/games/lib/mupen64/roms/fire.bin.gz ./usr/games/lib/mupen64/mupen64.ini ./usr/games/lib/mupen64/jttl_audio.conf ./usr/games/lib/mupen64/plugins/ ./usr/games/lib/mupen64/plugins/dummyaudio.so ./usr/games/lib/mupen64/plugins/jttl_audio.so ./usr/games/lib/mupen64/plugins/mupen64_soft_gfx.so ./usr/games/lib/mupen64/plugins/blight_input.so ./usr/games/lib/mupen64/plugins/mupen64_hle_rsp_azimer.so ./usr/games/lib/mupen64/plugins/mupen64_input.so ./usr/games/lib/mupen64/plugins/mupen64_audio.so ./usr/games/lib/mupen64/plugins/glN64.so ./usr/share/ ./usr/share/doc/ ./usr/share/doc/mupen64-0.5-r3/ ./usr/share/doc/mupen64-0.5-r3/readme.pdf.gz ./usr/share/doc/mupen64-0.5-r3/header.txt.gz ./usr/share/doc/mupen64-0.5-r3/whatsnew.txt.gz On amd64: ./ ./usr/ ./usr/games/ ./usr/games/bin/ ./usr/games/bin/mupen64 ./usr/games/bin/mupen64_nogui ./usr/games/lib32/ ./usr/games/lib32/mupen64/ ./usr/games/lib32/mupen64/lang/ ./usr/games/lib32/mupen64/lang/catalan.lng ./usr/games/lib32/mupen64/lang/pt_BR.lng ./usr/games/lib32/mupen64/lang/german.lng ./usr/games/lib32/mupen64/lang/spanish.lng ./usr/games/lib32/mupen64/lang/dutch.lng ./usr/games/lib32/mupen64/lang/italian.lng ./usr/games/lib32/mupen64/lang/english.lng ./usr/games/lib32/mupen64/lang/french.lng ./usr/games/lib32/mupen64/roms/ ./usr/games/lib32/mupen64/roms/pong.v64.gz ./usr/games/lib32/mupen64/roms/fire.bin.gz ./usr/games/lib32/mupen64/mupen64.ini ./usr/games/lib32/mupen64/jttl_audio.conf ./usr/games/lib32/mupen64/plugins/ ./usr/games/lib32/mupen64/plugins/dummyaudio.so ./usr/games/lib32/mupen64/plugins/jttl_audio.so ./usr/games/lib32/mupen64/plugins/mupen64_soft_gfx.so ./usr/games/lib32/mupen64/plugins/blight_input.so ./usr/games/lib32/mupen64/plugins/mupen64_hle_rsp_azimer.so ./usr/games/lib32/mupen64/plugins/mupen64_input.so ./usr/games/lib32/mupen64/plugins/mupen64_audio.so ./usr/games/lib32/mupen64/plugins/glN64.so ./usr/share/ ./usr/share/doc/ ./usr/share/doc/mupen64-0.5-r3/ ./usr/share/doc/mupen64-0.5-r3/whatsnew.txt.bz2 ./usr/share/doc/mupen64-0.5-r3/readme.pdf.bz2 ./usr/share/doc/mupen64-0.5-r3/header.txt.bz2
Created attachment 114561 [details] Updated ebuild Same thing with the "${ABI/amd64/x86}" addition.
Ok, currently impossible to fix until a games_get_libdir() exists. Closing.
Created attachment 114564 [details] Hopefully last attempt Ok this is hopefully the last attempt. It should be nice and clean with the updates to various eclasses which were just added by vapier.
Ok thanks to vapier it was just made possible to have this fixed in a clean way
Added to CVS