Apologies for disregarding the 7-day rule, but otherwise I would probably forget to file this. Note that -jack fails during the configure phase, and I've no idea why. It could be removed; I'm unable to test jack functionality anyhow. I haven't tried all use flag combinations, but will report back after the holidays with further testing. 0.7.0 now allows you to configure without emulation cores (e.g. --disable-nes; --disable-gb). I'm not sure if you want to expose this through use flags or not, but my ebuild doesn't.
Created attachment 104629 [details] mednafen-0.7.0.ebuild --- /usr/portage/games-emulation/mednafen/mednafen-0.6.5.ebuild 2006-09-29 11:35:49.000000000 -0400 +++ mednafen-0.7.0.ebuild 2006-12-23 07:18:06.000000000 -0500 @@ -4,21 +4,23 @@ inherit games -DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, and Lynx emulator" +DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC, and Lynx emulator" HOMEPAGE="http://mednafen.com/" -SRC_URI="http://mednafen.com/releases/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/mednafen/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="nls" +IUSE="alsa cjk debugger nls" RDEPEND="virtual/opengl media-libs/libsndfile dev-libs/libcdio >=media-libs/libsdl-1.2.0 media-libs/sdl-net - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) + alsa? ( media-libs/alsa-lib ) +# jack? ( media-sound/jack-audio-connection-kit )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" @@ -35,6 +37,10 @@ src_compile() { egamesconf \ + $(use_enable alsa) \ +# $(use_enable jack) \ + $(use_enable cjk cjk-fonts) \ + $(use_enable debugger) \ $(use_enable nls) \ --disable-dependency-tracking || die emake || die "emake failed" @@ -43,6 +49,7 @@ src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog TODO + dodoc Documentation/cheats.txt dohtml Documentation/* prepgamesdirs }
Created attachment 104632 [details] mednafen-0.7.0.ebuild Kindly disregard that last diff and ebuild =) --- /usr/portage/games-emulation/mednafen/mednafen-0.6.5.ebuild 2006-09-29 11:35:49.000000000 -0400 +++ mednafen-0.7.0.ebuild 2006-12-23 07:23:57.000000000 -0500 @@ -4,21 +4,22 @@ inherit games -DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, and Lynx emulator" +DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC, and Lynx emulator" HOMEPAGE="http://mednafen.com/" -SRC_URI="http://mednafen.com/releases/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/mednafen/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="nls" +IUSE="alsa cjk debugger nls" RDEPEND="virtual/opengl media-libs/libsndfile dev-libs/libcdio >=media-libs/libsdl-1.2.0 media-libs/sdl-net - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) + alsa? ( media-libs/alsa-lib )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" @@ -33,8 +34,12 @@ || die "sed failed" } +#test/fix jack src_compile() { egamesconf \ + $(use_enable alsa) \ + $(use_enable cjk cjk-fonts) \ + $(use_enable debugger) \ $(use_enable nls) \ --disable-dependency-tracking || die emake || die "emake failed" @@ -43,6 +48,7 @@ src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog TODO + dodoc Documentation/cheats.txt dohtml Documentation/* prepgamesdirs }
Thanks.
Thanks, Tristan, but why did you remove $(use_enable debugger)? The debugger is something most users will never use; it reduces the size of the binary by a bit, and probably marginally increases emulation speed as well. Happy holidays :)
1 bit? Hmm, okay... I'll probably make it "debug" instead though.
Hehe, funny :) Saves ~380KB w/gcc-3.4.6.