public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-emulation/sdlmame: ChangeLog sdlmame-0.142_p5.ebuild
@ 2011-06-15 16:39 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2011-06-15 16:39 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    11/06/15 16:39:02

  Modified:             ChangeLog
  Added:                sdlmame-0.142_p5.ebuild
  Log:
  version bump; also works around bug #370657
  
  (Portage version: 2.1.9.42/cvs/Linux i686)

Revision  Changes    Path
1.49                 games-emulation/sdlmame/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?r1=1.48&r2=1.49

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ChangeLog	29 May 2011 16:26:22 -0000	1.48
+++ ChangeLog	15 Jun 2011 16:39:01 -0000	1.49
@@ -1,6 +1,14 @@
 # ChangeLog for games-emulation/sdlmame
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.48 2011/05/29 16:26:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.49 2011/06/15 16:39:01 mr_bones_ Exp $
+
+*sdlmame-0.142_p5 (15 Jun 2011)
+
+  15 Jun 2011; Michael Sterrett <mr_bones_@gentoo.org>
+  +sdlmame-0.142_p5.ebuild, files/sdlmame-0.142-makefile.patch,
+  +files/sdlmame-0.142_p5-makefile.patch,
+  +files/sdlmame-0.142_p5-no-opengl.patch:
+  version bump; also works around bug #370657 
 
   29 May 2011; Markos Chandras <hwoarang@gentoo.org> sdlmame-0.142.ebuild:
   Stable on amd64 wrt bug #367123



1.1                  games-emulation/sdlmame/sdlmame-0.142_p5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.1&content-type=text/plain

Index: sdlmame-0.142_p5.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v 1.1 2011/06/15 16:39:01 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]
	media-libs/sdl-ttf
	dev-libs/expat
	debug? (
		x11-libs/gtk+:2
		gnome-base/gconf
		x11-libs/libXinerama
	)"
DEPEND="${RDEPEND}
	app-arch/unzip
	debug? ( 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}"/${2:-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
	epatch \
			"${FILESDIR}"/${P}-makefile.patch \
			"${FILESDIR}"/${P}-no-opengl.patch

	# 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
	else
		einfo "Disabling debug support"
		enable_feature NO_X11 src/osd/sdl/sdl.mak
	fi

	if ! use opengl ; then
		einfo "Disabling opengl support"
		enable_feature NO_OPENGL src/osd/sdl/sdl.mak
	fi
}

src_compile() {
	emake \
		NAME="${PN}" \
		OPT_FLAGS='-DINI_PATH=\"\$$HOME/.'${PN}'\;'"${GAMES_SYSCONFDIR}/${PN}"'\"'" ${CXXFLAGS}" \
		CC="${CXX}" \
		all || die
}

src_install() {
	newgamesbin ${PN}$(use amd64 && echo 64)$(use debug && echo d) ${PN} || 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
}






^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-emulation/sdlmame: ChangeLog sdlmame-0.142_p5.ebuild
@ 2011-08-22 14:19 Tony Vroon (chainsaw)
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Vroon (chainsaw) @ 2011-08-22 14:19 UTC (permalink / raw
  To: gentoo-commits

chainsaw    11/08/22 14:19:55

  Modified:             ChangeLog sdlmame-0.142_p5.ebuild
  Log:
  Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney in bug #380183.
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.50                 games-emulation/sdlmame/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog	15 Jun 2011 16:39:01 -0000	1.49
+++ ChangeLog	22 Aug 2011 14:19:55 -0000	1.50
@@ -1,6 +1,10 @@
 # ChangeLog for games-emulation/sdlmame
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.49 2011/06/15 16:39:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.50 2011/08/22 14:19:55 chainsaw Exp $
+
+  22 Aug 2011; Tony Vroon <chainsaw@gentoo.org> sdlmame-0.142_p5.ebuild:
+  Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney in bug
+  #380183.
 
 *sdlmame-0.142_p5 (15 Jun 2011)
 



1.2                  games-emulation/sdlmame/sdlmame-0.142_p5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?r1=1.1&r2=1.2

Index: sdlmame-0.142_p5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sdlmame-0.142_p5.ebuild	15 Jun 2011 16:39:01 -0000	1.1
+++ sdlmame-0.142_p5.ebuild	22 Aug 2011 14:19:55 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v 1.1 2011/06/15 16:39:01 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v 1.2 2011/08/22 14:19:55 chainsaw Exp $
 
 EAPI=2
 inherit eutils flag-o-matic games
@@ -19,7 +19,7 @@
 
 LICENSE="XMAME"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="debug opengl"
 
 RDEPEND=">=media-libs/libsdl-1.2.10[audio,joystick,opengl?,video]






^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-emulation/sdlmame: ChangeLog sdlmame-0.142_p5.ebuild
@ 2011-09-04 17:35 PaweA Hajdan (phajdan.jr)
  0 siblings, 0 replies; 4+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2011-09-04 17:35 UTC (permalink / raw
  To: gentoo-commits

phajdan.jr    11/09/04 17:35:36

  Modified:             ChangeLog sdlmame-0.142_p5.ebuild
  Log:
  x86 stable wrt bug #380183
  
  (Portage version: 2.1.10.11/cvs/Linux i686)

Revision  Changes    Path
1.52                 games-emulation/sdlmame/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog	4 Sep 2011 02:40:54 -0000	1.51
+++ ChangeLog	4 Sep 2011 17:35:36 -0000	1.52
@@ -1,6 +1,9 @@
 # ChangeLog for games-emulation/sdlmame
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.51 2011/09/04 02:40:54 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.52 2011/09/04 17:35:36 phajdan.jr Exp $
+
+  04 Sep 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> sdlmame-0.142_p5.ebuild:
+  x86 stable wrt bug #380183
 
 *sdlmame-0.143_p4 (04 Sep 2011)
 



1.3                  games-emulation/sdlmame/sdlmame-0.142_p5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild?r1=1.2&r2=1.3

Index: sdlmame-0.142_p5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sdlmame-0.142_p5.ebuild	22 Aug 2011 14:19:55 -0000	1.2
+++ sdlmame-0.142_p5.ebuild	4 Sep 2011 17:35:36 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v 1.2 2011/08/22 14:19:55 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.142_p5.ebuild,v 1.3 2011/09/04 17:35:36 phajdan.jr Exp $
 
 EAPI=2
 inherit eutils flag-o-matic games
@@ -19,7 +19,7 @@
 
 LICENSE="XMAME"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="debug opengl"
 
 RDEPEND=">=media-libs/libsdl-1.2.10[audio,joystick,opengl?,video]






^ permalink raw reply	[flat|nested] 4+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-emulation/sdlmame: ChangeLog sdlmame-0.142_p5.ebuild
@ 2013-11-03 20:36 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2013-11-03 20:36 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    13/11/03 20:36:26

  Modified:             ChangeLog
  Removed:              sdlmame-0.142_p5.ebuild
  Log:
  old
  
  (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.65                 games-emulation/sdlmame/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.65&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?rev=1.65&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/ChangeLog?r1=1.64&r2=1.65

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- ChangeLog	2 Oct 2013 10:11:47 -0000	1.64
+++ ChangeLog	3 Nov 2013 20:36:26 -0000	1.65
@@ -1,6 +1,11 @@
 # ChangeLog for games-emulation/sdlmame
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.64 2013/10/02 10:11:47 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.65 2013/11/03 20:36:26 mr_bones_ Exp $
+
+  03 Nov 2013; Michael Sterrett <mr_bones_@gentoo.org>
+  -files/sdlmame-0.142_p5-makefile.patch,
+  -files/sdlmame-0.142_p5-no-opengl.patch, -sdlmame-0.142_p5.ebuild:
+  old
 
   02 Oct 2013; Chema Alonso <nimiux@gentoo.org> sdlmame-0.148_p1-r1.ebuild:
   Stable for amd64 wrt bug #486686





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-03 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 16:39 [gentoo-commits] gentoo-x86 commit in games-emulation/sdlmame: ChangeLog sdlmame-0.142_p5.ebuild Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2011-08-22 14:19 Tony Vroon (chainsaw)
2011-09-04 17:35 PaweA Hajdan (phajdan.jr)
2013-11-03 20:36 Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox