diff options
author | 2010-08-17 19:58:21 +0000 | |
---|---|---|
committer | 2010-08-17 19:58:21 +0000 | |
commit | fabd5260d513a6374adc89eada3e7d9bb018c1d1 (patch) | |
tree | ed2e85dcc4adffcc08737b7cf306e5619858f6ec /games-emulation/sdlmame | |
parent | Revision bump, fixes bug 331899 and bug 332737 (diff) | |
download | historical-fabd5260d513a6374adc89eada3e7d9bb018c1d1.tar.gz historical-fabd5260d513a6374adc89eada3e7d9bb018c1d1.tar.bz2 historical-fabd5260d513a6374adc89eada3e7d9bb018c1d1.zip |
add debug use flag (bug #333219) - patch from Martin Väth
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-emulation/sdlmame')
-rw-r--r-- | games-emulation/sdlmame/ChangeLog | 6 | ||||
-rw-r--r-- | games-emulation/sdlmame/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch | 31 | ||||
-rw-r--r-- | games-emulation/sdlmame/sdlmame-0.136.ebuild | 15 |
4 files changed, 50 insertions, 7 deletions
diff --git a/games-emulation/sdlmame/ChangeLog b/games-emulation/sdlmame/ChangeLog index 054255ec317a..89322fb1a4b9 100644 --- a/games-emulation/sdlmame/ChangeLog +++ b/games-emulation/sdlmame/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/sdlmame # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.29 2010/05/22 15:06:54 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/ChangeLog,v 1.30 2010/08/17 19:58:21 mr_bones_ Exp $ + + 17 Aug 2010; Michael Sterrett <mr_bones_@gentoo.org> sdlmame-0.136.ebuild, + +files/sdlmame-0.136-nodebug.patch: + add debug use flag (bug #333219) - patch from Martin Väth 22 May 2010; Pacho Ramos <pacho@gentoo.org> sdlmame-0.136.ebuild: stable amd64, bug 303487 diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest index 330f9fbcce48..b95fa9c77670 100644 --- a/games-emulation/sdlmame/Manifest +++ b/games-emulation/sdlmame/Manifest @@ -1,8 +1,9 @@ AUX joymap.dat 223 RMD160 d86c536a5d33bec9ecd6efbee2f7389835495328 SHA1 011d631b844316ea5b113ac01407665ea674d1f9 SHA256 bf6e7473b2b1ed573aacf697446e4bdb61e0f63b6e3d55c5b8fac93fb49059f9 AUX mame.ini.in 5962 RMD160 6eb4c315b29d5e6da24a40ad94a646bb56b27998 SHA1 fadb0546bdac23e7162833fad60533c0a4fcf772 SHA256 6205c738b7e57ead9c05885bdaeb3ebfb143bec9dc1de7a97016b791bea532d8 +AUX sdlmame-0.136-nodebug.patch 952 RMD160 4098730d8cdf205b8dfc4f4a4dbcccf36ddff787 SHA1 19365ec2431f808311e49732413b88844b1d0ccc SHA256 92486bf8ff6ba153ef4759205d1250c8294c1f7cd2187e194ab10d0cc7cada17 AUX vector.ini 116 RMD160 e63ed40b21a2426b28571d514933efab6ccce7e8 SHA1 c6615ce44d08b89a65435dfe7e0af9ac6d8459df SHA256 408aeaaffcb2ecccd20db457f22d2d5efa930c0f62a92987b0fbefaf6c038c23 DIST sdlmame-manpages.tar.gz 14400 RMD160 14660470488458a8897a8a924c12f7ab961d6729 SHA1 279fbf37668282c0e4e86d62a29f5ec53fa0ab1a SHA256 507240258dfb816fbfddc674c5995a126c7a975158c2aad1ada8cb064c5e3d08 DIST sdlmame0136.zip 18936113 RMD160 1cb9b24ae6f97c0f223f13ed97a074de14e2892e SHA1 19c11abc3b3ab2633df62f3867921b3541bb582e SHA256 863c34af4850b7687de358601e5b13fbb4ed1c121e11654179e87fb39e7ede2d -EBUILD sdlmame-0.136.ebuild 3262 RMD160 4ff148d8815b485d576a85b23c2f689a9e7ee2b2 SHA1 fb4ce55196cb01873ba5c6992cb03ace6c84e85e SHA256 8e0ab7ce3ac2ca5a2c979c39b20ebcddc11222eb02b695de020a89ec7969d060 -MISC ChangeLog 3740 RMD160 b6ad4cdbed93a434accda8f6d0d4f0fd1ca2876a SHA1 3fde127dec2d96d0d61f712bf571e1ef47b50e42 SHA256 82adfeebf855ea74a27afe6381a6b1e7a201e4aa042db5e7693f4cc4222606ad +EBUILD sdlmame-0.136.ebuild 3384 RMD160 784e2bad30ff8e3b5f4b300eb6a36d088506239d SHA1 7e97dfe4a62138bff8949ef417578f3d619205ed SHA256 6c8e7251b88bc51eec0fd98a8c1151da5f6da811749d197cd19610ab18600817 +MISC ChangeLog 3921 RMD160 bf63db308f366ff9d6fad7c8edecb6b972f88fff SHA1 57edf4fedc391f9f3b7227e118aa10ff674bcc8e SHA256 0dd84ce7e0ecfd2f477adcbfc61f80a45ee1f522ded4bb570779f53f16d5eddf MISC metadata.xml 1089 RMD160 9c8a425da7e10ddc2cdf1bfbbf60b23257eca1e7 SHA1 9ba3821b6dc312016d9cecc295555411e8bc044c SHA256 67982ede09eba43a5e84327f2f529031242424222e0d5170f31c8f2e647e937f diff --git a/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch b/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch new file mode 100644 index 000000000000..0779a907d51b --- /dev/null +++ b/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch @@ -0,0 +1,31 @@ +--- src/osd/sdl/sdl.mak ++++ src/osd/sdl/sdl.mak +@@ -37,6 +37,10 @@ + + # NO_X11 = 1 + ++# comment next line to build with debugging support ++ ++NO_DEBUGGER = 1 ++ + # uncomment and adapt next line to link against specific GL-Library + # this will also add a rpath to the executable + # MESA_INSTALL_ROOT = /usr/local/dfb_GL +@@ -297,12 +301,17 @@ + # the new debugger relies on GTK+ in addition to the base SDLMAME needs + # Non-X11 builds can not use the debugger + ifndef NO_X11 ++ifndef NO_DEBUGGER + OSDCOREOBJS += $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o + CFLAGS += `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gconf-2.0` + LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0` + CFLAGS += -DGTK_DISABLE_DEPRECATED + else + OSDCOREOBJS += $(SDLOBJ)/debugwin.o ++DEFS += -DNO_DEBUGGER ++endif # NO_DEBUGGER ++else ++OSDCOREOBJS += $(SDLOBJ)/debugwin.o + endif # NO_X11 + + # make sure we can find X headers diff --git a/games-emulation/sdlmame/sdlmame-0.136.ebuild b/games-emulation/sdlmame/sdlmame-0.136.ebuild index c3f5075b7ebe..e6c0c82d80bc 100644 --- a/games-emulation/sdlmame/sdlmame-0.136.ebuild +++ b/games-emulation/sdlmame/sdlmame-0.136.ebuild @@ -1,6 +1,6 @@ # 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.136.ebuild,v 1.4 2010/05/22 15:06:54 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/sdlmame/sdlmame-0.136.ebuild,v 1.5 2010/08/17 19:58:21 mr_bones_ Exp $ EAPI=2 inherit eutils flag-o-matic games @@ -18,13 +18,15 @@ SRC_URI="mirror://gentoo/${MY_P}.zip LICENSE="XMAME" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="opengl" +IUSE="opengl debug" RDEPEND=">=media-libs/libsdl-1.2.10[audio,joystick,opengl?,video] dev-libs/expat x11-libs/libXinerama - x11-libs/gtk+:2 - gnome-base/gconf:2" + debug? ( + x11-libs/gtk+:2 + gnome-base/gconf + )" DEPEND="${RDEPEND} app-arch/unzip x11-proto/xineramaproto" @@ -69,6 +71,11 @@ src_prepare() { einfo "Enabling PPC support" enable_feature BIGENDIAN fi + + if ! use debug; then + einfo "Disabling Debugging" + epatch "${FILESDIR}"/${P}-nodebug.patch + fi } src_compile() { |