I tried to emerge advancemame (wich is in ~amd64 now) with only alsa and zlib (by default sdl is not activated) USE flags enabled, and I got this in configure stage before compiling: == Drivers/Libraries == Video : ncurses (No video driver is capable to program directly your video board. You will not be able to use not standard video modes.) Sound : alsa Keyboard : raw event Joystick : raw event Mouse : raw event Misc : zlib expat(internal) pthread configure: error: no video library found. If you have the SDL library installed somewhere try using the --with-sdl-prefix option. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/advancemame-0.106.0/work/advancemame-0.106.0/config.log !!! ERROR: games-emulation/advancemame-0.106.0 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile advancemame-0.106.0.ebuild, line 55: Called egamesconf '--enable-alsa' '--disable-expat' '--disable-fb' '--disable-oss' '--disable-sdl' '--disable-slang' '--disable-static' '--disable-svgalib' '--disable-freetype' '--enable-zlib' '--disable-asm' '--with-emu=mame' games.eclass, line 37: Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--enable-alsa' '--disable-expat' '--disable-fb' '--disable-oss' '--disable-sdl' '--disable-slang' '--disable-static' '--disable-svgalib' '--disable-freetype' '--enable-zlib' '--disable-asm' '--with-emu=mame' ebuild.sh, line 540: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. Activation of sdl USE flag for this program solves this issue and compiles without problems.
made it required. thanks for the bug report.
The program actually only requires one of sdl, svga, and fb... For arcade cabinets (the hardware target for this package) svga and fb are the preferred video output types since they can generate an exact video mode whereas SDL can not. I need to hack the file to build an svga-only advancemame.