summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-11-11 06:40:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-11-11 06:40:08 +0000
commit96f368668bab4f6134a8e4ba34fb5d503a7d6aa1 (patch)
treee6cc67858f5c294c1829c557a169a73e4339b534 /games-emulation
parentversion bump (diff)
downloadgentoo-2-96f368668bab4f6134a8e4ba34fb5d503a7d6aa1.tar.gz
gentoo-2-96f368668bab4f6134a8e4ba34fb5d503a7d6aa1.tar.bz2
gentoo-2-96f368668bab4f6134a8e4ba34fb5d503a7d6aa1.zip
old
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/sdlmame/Manifest1
-rw-r--r--games-emulation/sdlmame/sdlmame-0.139_p3.ebuild152
2 files changed, 0 insertions, 153 deletions
diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest
index 555fb28c168c..d4d2c9b7f2a6 100644
--- a/games-emulation/sdlmame/Manifest
+++ b/games-emulation/sdlmame/Manifest
@@ -14,7 +14,6 @@ DIST sdlmame0139u3_diff.zip 761786 RMD160 8ea3d96586374e5ff8ac2ce728d0dafd53296b
DIST sdlmame0139u4_diff.zip 465332 RMD160 9819f10d082eda7b79d637e651e615f184e53d0e SHA1 7edf060184b9e3f6ef36e307198510f43d632630 SHA256 489d45fb4b1101f67afa83a424a25de8b904416dd23d8b004931fa289a9fdff2
DIST sdlmame0140u1_diff.zip 200321 RMD160 c628c4a077114cc3ba86f113b4cdc7cc380d3308 SHA1 cbc457249cb157f70c14242bc49ab0aa52f9b853 SHA256 f0a6515b0b7213ff99fdf3af40a02cf810c0bc2e88f24254f7ddb9afa517960d
EBUILD sdlmame-0.136.ebuild 3384 RMD160 1d79b94c2af8e8a4dbbf76bb3ad80b796828f85c SHA1 c32128b66147ee8c6cfe01f28f49989711b6a6e9 SHA256 31c6ce4b49f273a2c6fb3d85f8efe1ac91a9bbd85868aa877ff56b16bff54506
-EBUILD sdlmame-0.139_p3.ebuild 3864 RMD160 4244f9cc9085d9c8b15cdd52ecde9dda69b38714 SHA1 10e905de3bce3dc766201e4e45488251f712e97d SHA256 59e857bb72c6ccada8ef9ba8840844f3d26bf9fdb22b0ff727cd45ee5a6c94d7
EBUILD sdlmame-0.139_p4.ebuild 3985 RMD160 145b06a7594da91210e2d5b7896d44973bb44b91 SHA1 32365c2f2eaca39b382bab937e38c2bbb16a1af9 SHA256 8c28b2795100623014f32de217eb91735da4f4642713109713416a887fb318f1
EBUILD sdlmame-0.140_p1.ebuild 3985 RMD160 1aaa890146e3c05c17e27152799994265b71a882 SHA1 9ff8383cc24ac35f5e7fcecd6596aca7fb506dd1 SHA256 63aa57543212af1e6d0db69395a161207105c7b4d5d1123b81e3698d693c2824
MISC ChangeLog 5060 RMD160 d2bef3c133fe8986b6ebe78bf638cb29a7c92cc7 SHA1 769a4d986e403a70d81829dee9acc456a03c3b6a SHA256 6a17d0db26df19c05f8a862288eef67715fb0020df15eee1671fc6319b903147
diff --git a/games-emulation/sdlmame/sdlmame-0.139_p3.ebuild b/games-emulation/sdlmame/sdlmame-0.139_p3.ebuild
deleted file mode 100644
index 96a785f4c38f..000000000000
--- a/games-emulation/sdlmame/sdlmame-0.139_p3.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.139_p3.ebuild,v 1.3 2010/10/13 15:06:31 mr_bones_ Exp $
-
-EAPI=2
-inherit eutils flag-o-matic games
-
-MY_PV=${PV/.}
-MY_CONF_PN=${PN/sdl}
-MY_P=${PN}${MY_PV}
-MY_P=${MY_P%%_p*}
-MY_CONF_VER="0.139"
-DESCRIPTION="Multiple Arcade Machine Emulator (SDL)"
-HOMEPAGE="http://mamedev.org/"
-UPDATES="$(for PATCH_VER in $(seq 1 ${PV##*_p}) ; do echo "mirror://gentoo/${MY_P}u${PATCH_VER}_diff.zip"; done)"
-# Upstream doesn't allow fetching with unknown User-Agent such as wget
-SRC_URI="mirror://gentoo/${MY_P/sdl}s.zip $UPDATES
- http://www.netswarm.net/misc/sdlmame-ui.bdf.gz"
-
-LICENSE="XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug opengl"
-
-RDEPEND=">=media-libs/libsdl-1.2.10[audio,joystick,opengl?,video]
- dev-libs/expat
- x11-libs/libXinerama
- debug? (
- x11-libs/gtk+:2
- gnome-base/gconf
- )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- x11-proto/xineramaproto"
-
-S=${WORKDIR}
-
-# 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"
-}
-
-src_unpack() {
- base_src_unpack
- unpack ./mame.zip
- rm -f mame.zip
-}
-
-src_prepare() {
- if [[ $PV == *_p* ]] ; then
- edos2unix $(grep +++ *diff | awk '{ print $2 }' | sort -u) *diff 2> /dev/null
- einfo "Patching release with source updates"
- epatch ${MY_PV%%_p*}*.diff
- fi
- sed -i \
- -e '/CFLAGS += -O$(OPTIMIZE)/s:^:# :' \
- -e '/CFLAGS += -pipe/s:^:# :' \
- -e '/LDFLAGS += -s/s:^:# :' \
- -e '/LDFLAGS =/d' \
- -e 's:-Werror::' \
- makefile \
- || die "sed failed"
- # 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
-
- if use debug; then
- einfo "Enabling DEBUG support"
- enable_feature DEBUG
- fi
-}
-
-src_compile() {
- local make_opts
-
- use opengl || make_opts="${make_opts} NO_OPENGL=1"
-
- emake \
- NAME="${PN}" \
- OPT_FLAGS='-DINI_PATH=\"\$$HOME/.'${PN}'\;'"${GAMES_SYSCONFDIR}/${PN}"'\"'" ${CXXFLAGS}" \
- CC="${CXX}" \
- SUFFIX="" \
- ${make_opts} \
- all \
- || die "emake failed"
-}
-
-src_install() {
- dogamesbin ${PN}$(use amd64 && echo 64) || die
-
- # Avoid collision on /usr/games/bin/jedutil
- exeinto "$(games_get_libdir)/${PN}"
- doexe chdman jedutil ldverify romcmp testkeys || die
- doman src/osd/sdl/man/{chdman,jedutil,ldverify,romcmp,testkeys}.1
- newman src/osd/sdl/man/mame.1 ${PN}.1
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r src/osd/sdl/keymaps || die "doins -r keymaps failed"
- newins sdlmame-ui.bdf ui.bdf || die "newins ui.bdf failed"
-
- insinto "${GAMES_SYSCONFDIR}/${PN}"
- doins "${FILESDIR}"/vector.ini || die "doins vector.ini failed"
-
- sed \
- -e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
- -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
- "${FILESDIR}/${MY_CONF_PN}-${MY_CONF_VER}".ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/${MY_CONF_PN}".ini \
- || die "sed failed"
-
- dodoc docs/{config,mame,newvideo}.txt whatsnew*.txt
-
- keepdir \
- "${GAMES_DATADIR}/${PN}"/{ctrlr,cheats,roms,samples,artwork,crosshair} \
- "${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheats}
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- elog "It's strongly recommended that you change either the system-wide"
- elog "${MY_CONF_PN}.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 ${MY_CONF_PN}.ini to take advantage of that"
- fi
-}