diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-06 21:41:37 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-06 21:41:37 +0000 |
commit | 439084a2c0eb75c9df123d69d4ba676372acfe74 (patch) | |
tree | 5abb1e9576d4bbe72d923c3d4d706218cadf61c3 | |
parent | EAPI=2; add slot- and use-based deps (diff) | |
download | gentoo-2-439084a2c0eb75c9df123d69d4ba676372acfe74.tar.gz gentoo-2-439084a2c0eb75c9df123d69d4ba676372acfe74.tar.bz2 gentoo-2-439084a2c0eb75c9df123d69d4ba676372acfe74.zip |
old
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
-rw-r--r-- | games-emulation/sdlmame/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/sdlmame/sdlmame-0.125.ebuild | 156 | ||||
-rw-r--r-- | games-emulation/sdlmame/sdlmame-0.127.ebuild | 141 |
3 files changed, 0 insertions, 301 deletions
diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest index 7eedd5775e24..179f9c8ca0b4 100644 --- a/games-emulation/sdlmame/Manifest +++ b/games-emulation/sdlmame/Manifest @@ -2,11 +2,7 @@ AUX joymap.dat 223 RMD160 d86c536a5d33bec9ecd6efbee2f7389835495328 SHA1 011d631b AUX mame.ini.in 5962 RMD160 6eb4c315b29d5e6da24a40ad94a646bb56b27998 SHA1 fadb0546bdac23e7162833fad60533c0a4fcf772 SHA256 6205c738b7e57ead9c05885bdaeb3ebfb143bec9dc1de7a97016b791bea532d8 AUX vector.ini 116 RMD160 e63ed40b21a2426b28571d514933efab6ccce7e8 SHA1 c6615ce44d08b89a65435dfe7e0af9ac6d8459df SHA256 408aeaaffcb2ecccd20db457f22d2d5efa930c0f62a92987b0fbefaf6c038c23 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 EBUILD sdlmame-0.129.ebuild 3272 RMD160 63795cc800d41403090b1fbbfed0a5812d27de6e SHA1 32501da71a9586fbb14fc1b9268e0986a836905b SHA256 0a6133f325d7d1c718b47d66082312bcecee415976a0a15d609a4393e2c87972 MISC ChangeLog 1289 RMD160 259cc6d75f24a00d8f3bf497661d85bebd852779 SHA1 e7d3b49cf516a6afa45d8f9ffa3d5c93e27d9616 SHA256 e91a996fa2dd0f8cc6c104d13788b77007df6a1cd562a8dee955a917844c4c26 MISC metadata.xml 1089 RMD160 9c8a425da7e10ddc2cdf1bfbbf60b23257eca1e7 SHA1 9ba3821b6dc312016d9cecc295555411e8bc044c SHA256 67982ede09eba43a5e84327f2f529031242424222e0d5170f31c8f2e647e937f diff --git a/games-emulation/sdlmame/sdlmame-0.125.ebuild b/games-emulation/sdlmame/sdlmame-0.125.ebuild deleted file mode 100644 index 30482ee0a1ba..000000000000 --- a/games-emulation/sdlmame/sdlmame-0.125.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.125.ebuild,v 1.1 2008/05/16 21:34:23 joker 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="debug opengl" - -RDEPEND=">=media-libs/libsdl-1.2.10 - sys-libs/zlib - dev-libs/expat - x11-libs/libXinerama - debug? ( - >gnome-base/gconf-2 - >=x11-libs/gtk+-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" - - # CFLAGS and build debugging help - #sed -i \ - # -e "/^\(AR\|CC\|LD\|RM\) =/s:@::" \ - # -i "${S}"/makefile -} - -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 - - if use debug ; then - ewarn "Building with DEBUG support is not recommended for normal use" - enable_feature DEBUG - enable_feature PROFILE - enable_feature SYMBOLS - enable_feature DEBUGGER - 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 makemeta 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 -} diff --git a/games-emulation/sdlmame/sdlmame-0.127.ebuild b/games-emulation/sdlmame/sdlmame-0.127.ebuild deleted file mode 100644 index 38816a0de362..000000000000 --- a/games-emulation/sdlmame/sdlmame-0.127.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.127.ebuild,v 1.1 2008/10/16 19:51:09 tupone 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 -} |