Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158901
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kai <gentoo@altkai.ml1.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mednafen-0.7.0.ebuild mednafen-0.7.0.ebuild text/plain Kai 2006-12-23 04:19 0000 1.32 KB Details
mednafen-0.7.0.ebuild mednafen-0.7.0.ebuild text/plain Kai 2006-12-23 04:26 0000 1.26 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158901 depends on: Show dependency tree
Bug 158901 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-23 04:15 0000
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.

------- Comment #1 From Kai 2006-12-23 04:19:24 0000 -------
Created an attachment (id=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
 }

------- Comment #2 From Kai 2006-12-23 04:26:58 0000 -------
Created an attachment (id=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
 }

------- Comment #3 From Tristan Heaven 2006-12-25 03:45:31 0000 -------
Thanks.

------- Comment #4 From Kai 2006-12-25 08:30:51 0000 -------
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
:)

------- Comment #5 From Tristan Heaven 2006-12-25 08:47:06 0000 -------
1 bit? Hmm, okay... I'll probably make it "debug" instead though.

------- Comment #6 From Kai 2006-12-25 13:39:23 0000 -------
Hehe, funny :) Saves ~380KB w/gcc-3.4.6.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug