diff options
author | Christian Birchinger <joker@gentoo.org> | 2006-09-17 18:15:57 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2006-09-17 18:15:57 +0000 |
commit | d0b64c6004a09405ba4051e83d4e4d6745b3d24f (patch) | |
tree | 2315e30ee00f61171f0b98beaf6f0f1587438daf /games-emulation | |
parent | Added games-emulation/mupen64 to package.mask for the no-multilib profiles. (diff) | |
download | historical-d0b64c6004a09405ba4051e83d4e4d6745b3d24f.tar.gz historical-d0b64c6004a09405ba4051e83d4e4d6745b3d24f.tar.bz2 historical-d0b64c6004a09405ba4051e83d4e4d6745b3d24f.zip |
New revision which uses the included plugins and supports building on amd64.
Package-Manager: portage-2.1-r2
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/mupen64/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/mupen64/Manifest | 15 | ||||
-rw-r--r-- | games-emulation/mupen64/files/digest-mupen64-0.5-r1 | 3 | ||||
-rw-r--r-- | games-emulation/mupen64/mupen64-0.5-r1.ebuild | 100 |
4 files changed, 121 insertions, 5 deletions
diff --git a/games-emulation/mupen64/ChangeLog b/games-emulation/mupen64/ChangeLog index 3e95b09b946b..d9d68566f604 100644 --- a/games-emulation/mupen64/ChangeLog +++ b/games-emulation/mupen64/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/mupen64 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.20 2006/08/21 18:22:19 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.21 2006/09/17 18:15:57 joker Exp $ + +*mupen64-0.5-r1 (17 Sep 2006) + + 17 Sep 2006; Christian Birchinger <joker@gentoo.org> + +mupen64-0.5-r1.ebuild: + New revision which uses the included plugins and supports building on amd64 21 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org> mupen64-0.5.ebuild: avoid pre-stripping files; fixup warning message (bug #137824) - patch from diff --git a/games-emulation/mupen64/Manifest b/games-emulation/mupen64/Manifest index adca5b79cc34..8b97f32ac62e 100644 --- a/games-emulation/mupen64/Manifest +++ b/games-emulation/mupen64/Manifest @@ -51,14 +51,18 @@ EBUILD mupen64-0.4-r2.ebuild 2410 RMD160 878c0b7dc0dfd91d5a3b0e440339f188e5a45a0 MD5 49a7654deda668a03424e9b35090ba40 mupen64-0.4-r2.ebuild 2410 RMD160 878c0b7dc0dfd91d5a3b0e440339f188e5a45a0d mupen64-0.4-r2.ebuild 2410 SHA256 a4f10e27b2514aec593fb15dcd0970440c472876091ba921fc78190f5cd4a66a mupen64-0.4-r2.ebuild 2410 +EBUILD mupen64-0.5-r1.ebuild 2616 RMD160 5c433d505557a9092ee6d2870eed1899d91c8021 SHA1 3a8b513d4302c0ba45fc8cc22dbe4639c7788011 SHA256 12d1f2cfc7ad20555b88ffbc06ac1c13909d5e285cc04e02ed0ef80bcba80cdc +MD5 87b811b42cd1df885645f4215149025c mupen64-0.5-r1.ebuild 2616 +RMD160 5c433d505557a9092ee6d2870eed1899d91c8021 mupen64-0.5-r1.ebuild 2616 +SHA256 12d1f2cfc7ad20555b88ffbc06ac1c13909d5e285cc04e02ed0ef80bcba80cdc mupen64-0.5-r1.ebuild 2616 EBUILD mupen64-0.5.ebuild 2047 RMD160 177e5a55fbf7f43915e64240c54b8516ae8a4f0f SHA1 b01b9fbfe3fc3d1817d72b8bc1d5a1b68c2ad459 SHA256 6402c17c9cfaccb47024fc9695cdd309efae697af288985b8a2aa8fd28cb6638 MD5 b89aea4170ee6f144016ec2cacdca5c2 mupen64-0.5.ebuild 2047 RMD160 177e5a55fbf7f43915e64240c54b8516ae8a4f0f mupen64-0.5.ebuild 2047 SHA256 6402c17c9cfaccb47024fc9695cdd309efae697af288985b8a2aa8fd28cb6638 mupen64-0.5.ebuild 2047 -MISC ChangeLog 3656 RMD160 867d0906c3a8ae40697ba3b3353ea732039c7d55 SHA1 aa13edd9e56df523756dedb99bd0c3239c9f08f4 SHA256 0fba20f7c13c1bf994239ddcf975e0603d61e89d43359a321fcd3234c0271043 -MD5 d93f58a88f7a10665e160a3c0a83ca99 ChangeLog 3656 -RMD160 867d0906c3a8ae40697ba3b3353ea732039c7d55 ChangeLog 3656 -SHA256 0fba20f7c13c1bf994239ddcf975e0603d61e89d43359a321fcd3234c0271043 ChangeLog 3656 +MISC ChangeLog 3843 RMD160 c09b73fbf271f6109e5ec85fa90f926f07e6ddfd SHA1 8f1a87ec5c649d7fb32ca3d4282c1b9825ceec69 SHA256 d7aad162e0222e22c0715df5e857ae335b4a7cb45677abc1946e5eaf47bbca7d +MD5 19f67066d936ef969f17682014f0c7c8 ChangeLog 3843 +RMD160 c09b73fbf271f6109e5ec85fa90f926f07e6ddfd ChangeLog 3843 +SHA256 d7aad162e0222e22c0715df5e857ae335b4a7cb45677abc1946e5eaf47bbca7d ChangeLog 3843 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -69,3 +73,6 @@ SHA256 e1d9b66b80871e5055e51a66e99881cdeff968ea9e2da9ace323c8c888d979e7 files/di MD5 0cdd256b3d2df86cac038aa9d538aedf files/digest-mupen64-0.5 253 RMD160 f626935bb3e16eb360edde7e315583121ad7652c files/digest-mupen64-0.5 253 SHA256 d3dbd70b6d9bca726be6e4b697f985cd7a83e1bd494f7074e11052da1f3b07d9 files/digest-mupen64-0.5 253 +MD5 0cdd256b3d2df86cac038aa9d538aedf files/digest-mupen64-0.5-r1 253 +RMD160 f626935bb3e16eb360edde7e315583121ad7652c files/digest-mupen64-0.5-r1 253 +SHA256 d3dbd70b6d9bca726be6e4b697f985cd7a83e1bd494f7074e11052da1f3b07d9 files/digest-mupen64-0.5-r1 253 diff --git a/games-emulation/mupen64/files/digest-mupen64-0.5-r1 b/games-emulation/mupen64/files/digest-mupen64-0.5-r1 new file mode 100644 index 000000000000..f5e4ac023a01 --- /dev/null +++ b/games-emulation/mupen64/files/digest-mupen64-0.5-r1 @@ -0,0 +1,3 @@ +MD5 11f994bed40e00fad5b82333b553e421 mupen64_src-0.5.tar.bz2 1981046 +RMD160 da916bc77f2f06ed92630332545dc3ee5ae1ff51 mupen64_src-0.5.tar.bz2 1981046 +SHA256 1b8e4188ab7a94d8125b77aed8725ee348c24818622b881adfe16be510487dfd mupen64_src-0.5.tar.bz2 1981046 diff --git a/games-emulation/mupen64/mupen64-0.5-r1.ebuild b/games-emulation/mupen64/mupen64-0.5-r1.ebuild new file mode 100644 index 000000000000..7500c2a61d6c --- /dev/null +++ b/games-emulation/mupen64/mupen64-0.5-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/mupen64-0.5-r1.ebuild,v 1.1 2006/09/17 18:15:57 joker Exp $ + +inherit eutils games flag-o-matic multilib + +DESCRIPTION="A Nintendo 64 (N64) emulator" +HOMEPAGE="http://mupen64.emulation64.com/" +SRC_URI="http://mupen64.emulation64.com/files/${PV}/mupen64_src-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="opengl" + +RDEPEND="sys-libs/zlib + opengl? ( virtual/opengl ) + >=x11-libs/gtk+-2 + amd64? ( app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-sdl ) + media-libs/libsdl + media-libs/sdl-sound" + +# Block the now included external plugins. +DEPEND="${RDEPEND} + dev-util/pkgconfig + !games-emulation/mupen64-blight-input + !games-emulation/mupen64-glN64 + !games-emulation/mupen64-jttl_sound" + + +S=${WORKDIR}/mupen64_src-${PV} + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${PN}-gentoo.patch" + + cd "${S}" + + sed -i "s:#undef WITH_HOME:#define WITH_HOME \"/usr/games/\":" config.h \ + || die "sed failed" + + sed -i \ + -e '/strip/d' \ + -e "s:CFLAGS[[:space:]]*=\(.*\):CFLAGS=-fPIC ${CFLAGS}:" \ + -e "s:CXXFLAGS[[:space:]]*=\(.*\):CXXFLAGS=-fPIC ${CXXFLAGS}:" \ + Makefile \ + || die "sed failed" +} + +src_compile() { + use amd64 && multilib_toolchain_setup x86 + + emake mupen64 || die "emake failed on $d" + emake mupen64_nogui || die "emake failed" + emake plugins/mupen64_input.so || die "emake failed" + emake plugins/mupen64_hle_rsp_azimer.so || die "emake failed" + emake plugins/dummyaudio.so || die "emake failed" + emake plugins/mupen64_audio.so || die "emake failed" + emake plugins/mupen64_soft_gfx.so || die "emake failed" + + emake plugins/blight_input.so || die "emake failed" + emake plugins/jttl_audio.so || die "emake failed" + + if use opengl; then + emake plugins/glN64.so || die "emake failed" + fi +} + +src_install() { + local dir=${GAMES_LIBDIR}/${PN} + + exeinto "${GAMES_BINDIR}" + doexe mupen64 || die "doexe failed" + doexe mupen64_nogui || die "doexe failed" + + insinto "${dir}" + doins mupen64.ini jttl_audio.conf || "doins failed" + + dodir ${dir}/save + + cp -r lang roms plugins "${D}/${dir}/" \ + || die "cp failed" + + rm "${D}/${dir}/plugins/empty" + dodoc *.txt + cp doc/readme.pdf "${D}/usr/share/doc/${PF}" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + ewarn "If you are upgrading from previous version of mupen64" + ewarn "backup your saved games then do a rm -rf on your" + ewarn ".mupen64 directory. After launching then new mupen copy" + ewarn "your saved games to the original place." + echo +} |