diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-07-02 03:48:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-07-02 03:48:44 +0000 |
commit | 2b9f120c798f2f397275fc5961a6b8ca8564f0b0 (patch) | |
tree | 7f6ee3e5bbeb5034201f48e55880164cde510df4 /games-emulation | |
parent | Bump blaze-html to 0.7.0.2 (diff) | |
download | gentoo-2-2b9f120c798f2f397275fc5961a6b8ca8564f0b0.tar.gz gentoo-2-2b9f120c798f2f397275fc5961a6b8ca8564f0b0.tar.bz2 gentoo-2-2b9f120c798f2f397275fc5961a6b8ca8564f0b0.zip |
patch version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation')
5 files changed, 178 insertions, 1 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog index 2deb839c2752..39acc02f4956 100644 --- a/games-emulation/generator/ChangeLog +++ b/games-emulation/generator/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-emulation/generator # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.27 2014/05/15 16:36:27 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.28 2014/07/02 03:48:43 mr_bones_ Exp $ + +*generator-0.35_p4 (02 Jul 2014) + + 02 Jul 2014; Michael Sterrett <mr_bones_@gentoo.org> + +files/generator-0.35_p4-configure.patch, + +files/generator-0.35_p4-execstacks.patch, + +files/generator-0.35_p4-underlink.patch, +generator-0.35_p4.ebuild: + patch version bump 15 May 2014; Ulrich Müller <ulm@gentoo.org> generator-0.35_p3.ebuild: Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to diff --git a/games-emulation/generator/files/generator-0.35_p4-configure.patch b/games-emulation/generator/files/generator-0.35_p4-configure.patch new file mode 100644 index 000000000000..72ed087bd296 --- /dev/null +++ b/games-emulation/generator/files/generator-0.35_p4-configure.patch @@ -0,0 +1,94 @@ +--- configure.ac.original 2008-03-17 13:07:48.000000000 -0400 ++++ configure.ac 2008-03-17 13:08:03.000000000 -0400 +@@ -28,15 +28,12 @@ + AC_ARG_WITH(tcltk, + AS_HELP_STRING(--with-tcltk,Create tcltk version), + MY_PROG="generator-tcltk") +- AC_ARG_WITH(gtk, +- AS_HELP_STRING(--with-gtk,Create gtk version), +- MY_PROG="generator-gtk") + AC_ARG_WITH(sdl, + AS_HELP_STRING(--with-sdl,Create SDL version), + [MY_PROG="generator-sdl"; USE_SDL_AUDIO=yes]) + if [[ "x$MY_PROG" = "x" ]]; then + AC_MSG_ERROR(You must select a user interface type: +- svgalib allegro tcltk gtk sdl) ++ svgalib allegro tcltk sdl) + fi + if [[ "x$MY_PROG" = "xgenerator-allegro" ]]; then + AC_DEFINE(ALLEGRO, 1, [Allegro version]) +@@ -202,50 +199,6 @@ + CFLAGS="$CFLAGS -Wstrict-prototypes -Wunused" + fi + fi +- if [[ "x$DEBUG" != "xno" ]]; then +- AC_MSG_RESULT(Turning on debug flags) +- CFLAGS="$CFLAGS -g -O" +- optimum=no +- else +- if [[ "x$GCCVER" != "xno" ]]; then +- AC_MSG_RESULT(Turning on gcc optimisations) +- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer" +- if [[ "x$GCCVER" = "x3" ]]; then +- AC_MSG_RESULT(Turning on gcc 3 optimisations) +- CFLAGS="$CFLAGS -fno-math-errno" +- fi +- case "$CFLAGS" in +- *mcpu*|*march*) AC_MSG_RESULT(Skipping target optimisations) +- ;; +- *) case "$target_cpu" in +- i386) AC_MSG_RESULT(Turning on i386 optimisations) +- CFLAGS="$CFLAGS -march=i386 -ffast-math" +- ;; +- i486) AC_MSG_RESULT(Turning on i486 optimisations) +- CFLAGS="$CFLAGS -march=i486 -ffast-math" +- ;; +- i586) AC_MSG_RESULT(Turning on pentium optimisations) +- # cannot do malign-double as we link to other libraries and +- # it would break binary compatibility +- CFLAGS="$CFLAGS -march=pentium -ffast-math" +- ;; +- i?86) AC_MSG_RESULT(Turning on i686 optimisations) +- # cannot do malign-double as we link to other libraries and +- # it would break binary compatibility +- CFLAGS="$CFLAGS -march=i686 -ffast-math" +- ;; +- alpha*) AC_MSG_RESULT(Adding -mieee for Alpha) +- CFLAGS="$CFLAGS -mieee" +- ;; +- *) AC_MSG_RESULT(Sorry unknown target CPU) +- ;; +- esac +- esac +- else +- AC_MSG_WARN(You did not opt for gcc optimisations!) +- optimum=no +- fi +- fi + AC_CHECK_LIB(jpeg, jpeg_start_compress, + [ MY_LIBS="-ljpeg $MY_LIBS"; AC_DEFINE(JPEG, 1, [JPEG features]) ]) + +@@ -272,14 +225,7 @@ + + AC_PATH_XTRA + +- if [[ "x$MY_PROG" = "xgenerator-gtk" ]]; then +- MY_SUBDIRS="glade gtkopts $MY_SUBDIRS" +- AM_PATH_GTK(1.2.10,,AC_MSG_ERROR(Generator needs gtk 1.2.10 or later)) +- AM_PATH_SDL(1.2.6,,AC_MSG_ERROR(Generator needs sdk 1.2.6 or later)) +- +- MY_LIBS="$MY_LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS" +- CFLAGS="$CFLAGS $X_CFLAGS" +- elif [[ "x$MY_PROG" = "xgenerator-sdl" ]]; then ++ if [[ "x$MY_PROG" = "xgenerator-sdl" ]]; then + MY_SUBDIRS="gtkopts $MY_SUBDIRS" + AM_PATH_SDL(1.2.6,,AC_MSG_ERROR(Generator needs sdk 1.2.6 or later)) + +@@ -305,6 +251,7 @@ + AC_CHECK_SIZEOF(unsigned long, 4) + AC_CHECK_SIZEOF(unsigned long long, 8) + AC_CHECK_HEADERS(sys/param.h) ++ AC_CHECK_HEADERS(sys/time.h) + AC_CHECK_HEADERS(bzlib.h) + AC_CHECK_HEADERS(zlib.h) + AC_CHECK_HEADERS(tcl8.0.h) diff --git a/games-emulation/generator/files/generator-0.35_p4-execstacks.patch b/games-emulation/generator/files/generator-0.35_p4-execstacks.patch new file mode 100644 index 000000000000..f92ef6121f5a --- /dev/null +++ b/games-emulation/generator/files/generator-0.35_p4-execstacks.patch @@ -0,0 +1,12 @@ +--- raze/Makefile.am.old 2006-09-03 03:17:39.000000000 +0200 ++++ raze/Makefile.am 2006-09-03 03:16:36.000000000 +0200 +@@ -343,6 +343,10 @@ + raze: raze.o + raze.o: raze.asm raze.reg + nasm -e raze.asm -o raze2.asm ++ echo "%ifidn __OUTPUT_FORMAT__,elf" >> raze2.asm ++ echo "section .note.GNU-stack noalloc noexec nowrite progbits" \ ++ >> raze2.asm ++ echo "%endif" >> raze2.asm + nasm -f @ASMOUTPUT@ raze2.asm -o raze.o -praze.reg + diff --git a/games-emulation/generator/files/generator-0.35_p4-underlink.patch b/games-emulation/generator/files/generator-0.35_p4-underlink.patch new file mode 100644 index 000000000000..964a6bea0883 --- /dev/null +++ b/games-emulation/generator/files/generator-0.35_p4-underlink.patch @@ -0,0 +1,11 @@ +--- main/Makefile.am.old 2011-06-20 21:35:25.832460030 +0200 ++++ main/Makefile.am 2011-06-20 21:36:29.490503981 +0200 +@@ -7,7 +7,7 @@ + bin_PROGRAMS = @PROGRAM@ + EXTRA_PROGRAMS = generator-svgalib generator-tcltk generator-allegro \ + generator-gtk generator-sdl +-LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ \ ++LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ -lm \ + ../sn76496/libsn76496.a + + ## this should be generator_tcltk_DATA but it won't let me do that diff --git a/games-emulation/generator/generator-0.35_p4.ebuild b/games-emulation/generator/generator-0.35_p4.ebuild new file mode 100644 index 000000000000..3ae96790728e --- /dev/null +++ b/games-emulation/generator/generator-0.35_p4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35_p4.ebuild,v 1.1 2014/07/02 03:48:43 mr_bones_ Exp $ + +EAPI=5 +inherit autotools eutils toolchain-funcs games + +MY_P=${PN}-${PV/_p/-cbiere-r} +DESCRIPTION="Sega Genesis / Mega Drive emulator" +HOMEPAGE="http://www.squish.net/generator/" +SRC_URI="http://www.squish.net/generator/cbiere/generator/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+sdlaudio" + +DEPEND="virtual/jpeg + media-libs/libsdl[joystick,video] + sdlaudio? ( media-libs/libsdl[sound] )" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-configure.patch \ + "${FILESDIR}"/${P}-underlink.patch + + sed -i -e 's/@GTK_CFLAGS@//g' main/Makefile.am || die + eautoreconf +} + +src_configure() { + egamesconf \ + --with-cmz80 \ + --with-sdl \ + --without-tcltk \ + --with-gcc=$(gcc-major-version) \ + $(use_with sdlaudio sdl-audio) +} + +src_compile() { + [[ -f Makefile ]] && emake clean + emake -j1 +} + +src_install() { + dogamesbin main/generator-sdl + dodoc AUTHORS ChangeLog NEWS README TODO docs/* + prepgamesdirs +} |