diff options
author | 2009-01-05 22:52:07 +0000 | |
---|---|---|
committer | 2009-01-05 22:52:07 +0000 | |
commit | 5f1202d5727a0e32b6ef0c07644d34a1fee6f59b (patch) | |
tree | f003ba19bcd0be4d07d192abc85d15809b78132d /games-emulation | |
parent | Bump to 0.41. Make it work with bluez-4 API. (diff) | |
download | historical-5f1202d5727a0e32b6ef0c07644d34a1fee6f59b.tar.gz historical-5f1202d5727a0e32b6ef0c07644d34a1fee6f59b.tar.bz2 historical-5f1202d5727a0e32b6ef0c07644d34a1fee6f59b.zip |
version bump
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/sdlmame/ChangeLog | 10 | ||||
-rw-r--r-- | games-emulation/sdlmame/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/sdlmame/sdlmame-0.129.ebuild | 141 |
3 files changed, 152 insertions, 3 deletions
diff --git a/games-emulation/sdlmame/ChangeLog b/games-emulation/sdlmame/ChangeLog index 009215a91291..f92bfe4b3183 100644 --- a/games-emulation/sdlmame/ChangeLog +++ b/games-emulation/sdlmame/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/sdlmame -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.7 2008/10/21 14:04:39 joker Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.8 2009/01/05 22:52:07 mr_bones_ Exp $ + +*sdlmame-0.129 (05 Jan 2009) + + 05 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + +sdlmame-0.129.ebuild: + version bump 21 Oct 2008; Christian Birchinger <joker@gentoo.org> metadata.xml: Removed myself as maintainer. See bug #232233 diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest index a6fc253b3deb..c45d93ad481d 100644 --- a/games-emulation/sdlmame/Manifest +++ b/games-emulation/sdlmame/Manifest @@ -4,7 +4,9 @@ AUX vector.ini 116 RMD160 e63ed40b21a2426b28571d514933efab6ccce7e8 SHA1 c6615ce4 DIST sdlmame-manpages.tar.gz 14400 RMD160 14660470488458a8897a8a924c12f7ab961d6729 SHA1 279fbf37668282c0e4e86d62a29f5ec53fa0ab1a SHA256 507240258dfb816fbfddc674c5995a126c7a975158c2aad1ada8cb064c5e3d08 DIST sdlmame0125.zip 16403503 RMD160 c0fc73f995ce5a11a260d2a89857132ccd279a0b SHA1 ce336396ddf87e327ef28230495d3a39159fcf3f SHA256 688d4a5d327636b21dd9a93de1083b08a6ed3fc201a0bc6e331aed30f55a5ed6 DIST sdlmame0127.zip 16903248 RMD160 654802fc96bffe79d71999738074e23169334484 SHA1 e964cb669899c4183b8c4929fe1efe4bdb49e0eb SHA256 129a7fae313864e29290d0dd7de1164f940845fb24ad1307390d48a4f87dc8fb +DIST sdlmame0129.zip 17329162 RMD160 23a13fb73b90b0c3c173a9ac2808f568a0a09c9e SHA1 bf65a6f428a6824872bfa557ca5ad2b2800a433c SHA256 f38ca5903cb9a7a5c4d24b5d1eb435ff282c560a42c1a749ca1dc3b347a9bf2e EBUILD sdlmame-0.125.ebuild 3768 RMD160 bb07498a2ecb181484ecb351d5e34456267639a7 SHA1 6572be63253e690a6948a109020cdeb497c2811c SHA256 98b5163b5887b5a05661f57bf8bc052a71148c27a9a5a5bb94c58276b642b5d1 EBUILD sdlmame-0.127.ebuild 3429 RMD160 a8e9b5696c8151a7f69ccd68882401c9e518cbf2 SHA1 7789953417b53b2683272784ad232e7af4e66a2b SHA256 313e0031870d457d7457b1edad891edca1b3aed52827fa31a21cd8dbbf74f26c -MISC ChangeLog 1042 RMD160 8d57fa247c06395ba8de639f4d2d4e23448f5f88 SHA1 1fb645ed06898a1b20a4720538824203699f7f77 SHA256 0bbedaa36d046a2422b655de54437c6c7ca1325d175ebae2f3069325fd97ac51 +EBUILD sdlmame-0.129.ebuild 3432 RMD160 a6c57c2b59f60aba0d49842083d11624d2012ada SHA1 af94eaff2ae0eefc47cdd25b04abb18556a38ba9 SHA256 33bcea852f65c8122995c086e54a406290e4fcda5e6fc0afa1de37e88d369357 +MISC ChangeLog 1172 RMD160 3e63096c36635c5085d60135a5f6106a5d016727 SHA1 a66895c519d466cbe5430b88012c63cb434bca39 SHA256 6bc449a5399ce3bf0878800941d4cd5e3a0f5e5c0a181d4440eb0b4aa078923f MISC metadata.xml 1089 RMD160 9c8a425da7e10ddc2cdf1bfbbf60b23257eca1e7 SHA1 9ba3821b6dc312016d9cecc295555411e8bc044c SHA256 67982ede09eba43a5e84327f2f529031242424222e0d5170f31c8f2e647e937f diff --git a/games-emulation/sdlmame/sdlmame-0.129.ebuild b/games-emulation/sdlmame/sdlmame-0.129.ebuild new file mode 100644 index 000000000000..2f4702a397f2 --- /dev/null +++ b/games-emulation/sdlmame/sdlmame-0.129.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.129.ebuild,v 1.1 2009/01/05 22:52:07 mr_bones_ Exp $ + +inherit eutils flag-o-matic games + +DESCRIPTION="Multiple Arcade Machine Emulator (SDL)" +HOMEPAGE="http://rbelmont.mameworld.info/?page_id=163" + +MY_PV=${PV/.} +MY_PV=${MY_PV/_p/u} +MY_P=${PN}${MY_PV} + +# Upstream doesn't allow fetching with unknown User-Agent such as wget +SRC_URI="mirror://gentoo/${MY_P}.zip + mirror://gentoo/${PN}-manpages.tar.gz" + +# Same as xmame. Should it be renamed to MAME? +LICENSE="XMAME" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="opengl" + +RDEPEND=">=media-libs/libsdl-1.2.10 + dev-libs/expat + x11-libs/libXinerama + >=x11-libs/gtk+-2 + >gnome-base/gconf-2" + +DEPEND="${RDEPEND} + app-arch/unzip + x11-proto/xineramaproto" + +S=${WORKDIR}/${MY_P} + +# Function to disable a makefile option +disable_feature() { + sed -i \ + -e "/$1.*=/s:^:# :" \ + "${S}"/makefile \ + || die "sed failed" +} + +# Function to enable a makefile option +enable_feature() { + sed -i \ + -e "/^#.*$1.*=/s:^# ::" \ + "${S}"/makefile \ + || die "sed failed" +} + +pkg_setup() { + if use opengl && ! built_with_use media-libs/libsdl opengl ; then + die "Please emerge media-libs/libsdl with USE=opengl" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${A} + sed -i \ + -e '/CFLAGS += -O$(OPTIMIZE)/s:^:# :' \ + -e '/CFLAGS += -pipe/s:^:# :' \ + -e '/LDFLAGS += -s/s:^:# :' \ + -e 's:-Werror::' \ + "${S}"/makefile \ + || die "sed failed" +} + +src_compile() { + local make_opts + + # Don't compile zlib and expat + einfo "Disabling embedded libraries: zlib and expat" + disable_feature BUILD_ZLIB + disable_feature BUILD_EXPAT + + if use amd64; then + einfo "Enabling 64-bit support" + enable_feature PTR64 + fi + + if use ppc; then + einfo "Enabling PPC support" + enable_feature BIGENDIAN + fi + + use opengl || make_opts="${make_opts} NO_OPENGL=1" + + emake \ + NAME="${PN}" \ + OPT_FLAGS='-DINI_PATH=\"\$$HOME/.sdlmame\;'"${GAMES_SYSCONFDIR}/${PN}"'\"'" ${CFLAGS}" \ + SUFFIX="" \ + ${make_opts} \ + || die "emake failed" +} + +src_install() { + dogamesbin "${PN}" || die "dogamesbin "${PN}" failed" + + # Follows xmame ebuild, avoiding collision on /usr/games/bin/jedutil + exeinto "$(games_get_libdir)/${PN}" + local f + for f in chdman ldverify jedutil romcmp testkeys; do + doexe "${f}" || die "doexe ${f} failed" + done + + insinto "${GAMES_DATADIR}/${PN}" + doins ui.bdf || die "doins ui.bdf failed" + doins -r keymaps || die "doins -r keymaps failed" + + insinto "${GAMES_SYSCONFDIR}/${PN}" + doins "${FILESDIR}"/{joymap.dat,vector.ini} || die "doins joymap.dat vector.ini failed" + + sed \ + -e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \ + -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ + "${FILESDIR}"/mame.ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/"mame.ini \ + || die "sed failed" + + dodoc docs/{config,mame,newvideo}.txt *.txt + doman "${WORKDIR}/${PN}-manpages"/* + + keepdir "${GAMES_DATADIR}/${PN}"/{roms,samples,artwork} + keepdir "${GAMES_SYSCONFDIR}/${PN}"/ctrlr + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "It's strongly recommended that you change either the system-wide" + elog "mame.ini at \"${GAMES_SYSCONFDIR}/${PN}\" or use a per-user setup at \$HOME/.${PN}" + + if use opengl; then + echo + elog "You built ${PN} with opengl support and should set" + elog "\"video\" to \"opengl\" in mame.ini to take advantage of that" + fi +} |