Portage is a package management system used by Gentoo Linux
# ChangeLog for games-emulation/snes9x
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.31 2008/02/09 06:22:47 mr_bones_ Exp $
09 Feb 2008; Michael Sterrett
enhance license
*snes9x-1.51 (09 Feb 2008)
09 Feb 2008; Michael Sterrett
+files/snes9x-1.51-build.patch, +files/snes9x-1.51-config.patch,
+files/snes9x-1.51-opengl.patch, +files/snes9x-1.51-x11.patch,
-snes9x-1.43-r1.ebuild, +snes9x-1.51.ebuild:
version bump (bug #139347) with lots of patch work from Justin Blanchard
09 Oct 2007; Christoph Mende
Stable on amd64 wrt bug #193120
21 Sep 2007; Christian Faulhammer
snes9x-1.43-r2.ebuild:
stable x86, bug 193120
20 Sep 2007; Lars Weiler
Stable on ppc; bug #193120.
*snes9x-1.43-r2 (28 Jul 2007)
28 Jul 2007; Tupone Alfredo
+files/snes9x-1.43-gcc412.patch, +snes9x-1.43-r2.ebuild:
Fix build with gcc-4.1.2 Bug #170568 by Stefan Vunckx
01 Nov 2006; Tristan Heaven
Use autotools eclass
13 Apr 2006; Chris Gianelloni
Moved games_pkg_setup to the beginning of pkg_setup.
13 Feb 2006; Mark Loeser
Fix: RDEPEND: 'emul-linux-x86-xlibs' not a valid atom
07 Feb 2006; Michael Sterrett
+files/snes9x-1.43-config.patch, snes9x-1.43-r1.ebuild:
modular X patch + fixups from Tupone Alfredo (bug #121160)
26 Dec 2005; Michael Sterrett
-files/snes9x-139-r1-BE-sound-fix.diff, -files/1.41.1-system-zlib.patch,
-files/snes9x-gcc3.diff, -files/snes9x-139-r1-Makefile-ppc.diff,
-files/1.42-system-zlib.patch, -snes9x-1.42-r1.ebuild,
-snes9x-1.43.ebuild:
clean out old files
26 Dec 2005; Simon Stelling
fix bug 103775
28 Aug 2005; Mike Frysinger
+files/snes9x-1.43-porting.patch, snes9x-1.43-r1.ebuild:
Add dev support for building for native amd64 #104049.
*snes9x-1.43-r1 (27 Aug 2005)
27 Aug 2005; Mike Frysinger
+files/snes9x-1.43-key-bindings-fix.patch, +snes9x-1.43-r1.ebuild:
Fix reverse save/load keys by Matteo Settenvini #81980.
22 Jul 2005; Mike Frysinger
+files/snes9x-1.43-build.patch, snes9x-1.43.ebuild:
Fix amd64 support so it works.
21 Jul 2005; Mike Frysinger
Punt 3dfx support since it requires glide-2 but we only have glide-3 #93097.
04 Jan 2005; Mike Frysinger
Add support for USE=dga. Also remove forced linking with X libs (let
configure script do it) #76538.
*snes9x-1.43 (03 Jan 2005)
03 Jan 2005; Mike Frysinger
Version bump.
11 Nov 2004; Joseph Jezak
Marked ppc stable.
11 Jun 2004; Travis Tilley
added ~amd64 keyword
03 Jun 2004; Michael Sterrett
attempt at fixing bug #48859
03 May 2004; Michael Sterrett
clean old ebuild
27 Apr 2004; Aron Griffis
Add inherit eutils
*snes9x-1.42-r1 (13 Apr 2004)
13 Apr 2004; Michael Sterrett
add nojoy.patch to support the -nojoy option even when compiled without
joystick support (bug #46210); tidy
11 Apr 2004; Michael Sterrett
snes9x-1.41.1.ebuild:
clean older ebuilds
*snes9x-1.42 (04 Dec 2003)
04 Dec 2003; Mike Frysinger
More version bumpage.
*snes9x-1.41.1 (03 Oct 2003)
03 Oct 2003; Mike Frysinger
Version bumpage #25935.
*snes9x-1.39-r1 (20 Feb 2003)
03 Mar 2003; Bartosch Pixa
BE sound fix
20 Feb 2003; Bartosch Pixa
added a patch to enable fallback to c routines, RDEPEND and set ~ppc in keywords
*snes-139-r1 (27 Jul 2002)
02 Nov 2002: Mark Guertin
set -ppc in keywords
16 Oct 2002; Mike Frysinger
Changed 'glide' to '3dfx' since only 3dfx cards use glide and '3dfx' is the correct USE
03 Oct 2002; Mike Frysinger
Fixed dependencies and made snes9x better ... #8717
Now you can have X or svga or glide or opengl ... X + svga is NOT required
06 Aug 2002; Mark Guertin
Added -ppc to keywords
27 Jul 2002; Stuart Bouyer
snes-139.ebuild:
Added KEYWORDS="x86" and SLOT.
*snes-139-r1 (23 Jun 2002)
14 Jul 2002; Ryan Phillips
files/snes9x-gcc3.diff :
Added GCC 3.1 patch
23 Jun 2002; Ryan Phillips
Thanks to Per Wigren the ebuild has been updated with X11 support and
opengl.
*snes-139 (26 May 2002)
26 May 2002; Ryan Phillips
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX nojoy.patch 507 RMD160 cc341aa07cc1ea707e66c864dd8fd5ee0234cb0c SHA1 19c467c0f8ce6b4442cef09bb2ec752bce10c784 SHA256 20f9c04757643cf6db4a9fcd7041bf23c27dc46385913f20999f4d1687b54e61
AUX snes9x-1.43-build.patch 1104 RMD160 9a5502223a1f052d6c30f61293f6bb5cd36a0dd3 SHA1 5676d726da0a6b1d69b020c288029a140c5f44ca SHA256 40912ece42780e53259f60aa53f6cf69e49c9d6b6d17839ef06608bcac32868a
AUX snes9x-1.43-config.patch 371 RMD160 9d16c5ca51901b6c5abbdf1b025dfced4a9e96a7 SHA1 0768d9068b2a7c3dc9599227014895615fde320d SHA256 0a99f13b0c58a78feca200c301a24dd09ebfb3aee99e74229870bd8728f93952
AUX snes9x-1.43-gcc412.patch 627 RMD160 9dc49ebfb8f212633f672acf803f905e0fd9b475 SHA1 97ba7a8474c6d6b55ffe15892358c523378090e4 SHA256 e41de369da57997b1163d79af87d1e27b62aad389184887721b39554969c37e9
AUX snes9x-1.43-key-bindings-fix.patch 2526 RMD160 d1dd054cf8f7f637c759ed7cd82dfb7511a0629d SHA1 e9992f6550d9420d9e6da74be78828f366025ed8 SHA256 22a6df46d15438aaaeddc5f86564474988f810037d2810da4773ff365f907b77
AUX snes9x-1.43-porting.patch 1903 RMD160 b95939f656e669dcca1df0fb5bd584e40ba6eba2 SHA1 a057eb6493ee81d4720ee343b11e3aa17dfb76dd SHA256 a38fedbd355487ac0ff28a79a39e108bd0063446befc4d5081a707f944bed286
AUX snes9x-1.51-build.patch 497 RMD160 6db003d87d71392e45aaf8388b89068f545af3f7 SHA1 a448d6ae07ce9455b069f5d269c07a4ef15f7853 SHA256 2e1c87802b9022c901f6ee7c940e767ddbcbdb300e532e75e77a6a02a6dfd6c8
AUX snes9x-1.51-config.patch 299 RMD160 6e9c32e668e69625747e09149209f5aafd226ca8 SHA1 ecc4edd9d81d1f5c60043602ca235f96eb72e90f SHA256 9a9b0ebcb45ab9ca9aae1eaf81cee7503f534fb78d64796aefb3491fd325366d
AUX snes9x-1.51-opengl.patch 3265 RMD160 372edbbdcad3091c7f3dbdc43bfa661da11df9ec SHA1 8ba87226b5e271768fd9e1f5d6106d7eef1df838 SHA256 3006fe29f027b8be2a8f0a9c8cd41392bfd1ae6999333edb0e4d1b5b9ada2a64
AUX snes9x-1.51-x11.patch 4297 RMD160 40998bbd623779dd6160ebd98a542f7e1d3c97cb SHA1 464066c638d80168fb904544256150f66b6ec1df SHA256 edc568083e20ba99698f500f60bcb6f0ffe4c84dd772d6ec9aa0c47918ed8787
DIST snes9x-1.43-src.tar.gz 1016251 RMD160 d2003f7afb208109405b41f4eec586b93518f9b2 SHA1 c6883c451aeb442030862ec19a8dca25ee02d82c SHA256 cb60baaeabc28b68f7dfc8fd54453f6268b66aae33ea64eb1788c19df09be6f1
DIST snes9x-1.51-src.tar.bz2 1707256 RMD160 5813405b05f181224614f95e8ba3c309f79e1b36 SHA1 a0de23fb376463d27f4e8fc7f11424bd3c598585 SHA256 70c8f41fc7f1e000605127e0f4261e3eb52c72019b3cbf9bc8061b0b8ccdf687
EBUILD snes9x-1.43-r2.ebuild 2815 RMD160 153c03c36cef9511ea5b8db00a539e5bb8efc01b SHA1 94aa63240996daa48d10814d755f9de9348f9255 SHA256 8ed82e408ae0c49f52ac05a911c85ce7db11f52f0027062497a7445e10370144
EBUILD snes9x-1.51.ebuild 2794 RMD160 2b1d10339273d0f90c5596d85b55ed807df6f2b5 SHA1 e6b2df84d78c31f2a0dcd46e5e8452388241bc4e SHA256 fdf58f9189ae9f3e3c6b068d569bffacbe2abb588f34172863d5dd6fad329b84
MISC ChangeLog 5835 RMD160 b16f7bdde3ec21b3b63445da54a790b9426143fc SHA1 f9f9f3f317a0c7557177f290c240880fb63e7846 SHA256 d03438151323b9a941dc87b31f55b2be86864ce944e9c8607b718f991d871cc9
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43-r2.ebuild,v 1.4 2007/10/09 14:40:41 angelos Exp $
# 3dfx support (glide) is disabled because it requires
# glide-v2 while we only provide glide-v3 in portage
# http://bugs.gentoo.org/show_bug.cgi?id=93097
WANT_AUTOCONF=latest
inherit autotools eutils flag-o-matic multilib games
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
HOMEPAGE="http://www.snes9x.com/"
SRC_URI="http://www.lysator.liu.se/snes9x/${PV}/snes9x-${PV}-src.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug dga joystick opengl zlib"
RDEPEND="x11-libs/libXext
dga? ( x11-libs/libXxf86dga
x11-libs/libXxf86vm )
media-libs/libpng
amd64? ( app-emulation/emul-linux-x86-xlibs )
opengl? ( virtual/opengl
virtual/glu )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
x11-proto/xextproto
x11-proto/xproto
dga? ( x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto )"
S=${WORKDIR}/${P}-src
src_unpack() {
unpack ${A}
cd "${S}"/snes9x
rm offsets # stupid prebuilt file
sed -i \
-e 's:-lXext -lX11::' Makefile.in \
|| die "sed failed"
epatch \
"${FILESDIR}"/nojoy.patch \
"${FILESDIR}"/${P}-porting.patch \
"${FILESDIR}"/${P}-key-bindings-fix.patch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-gcc412.patch \
"${FILESDIR}"/${P}-config.patch
sed -i \
-e 's:png_jmpbuf:png_write_info:g' \
-e '/X_LDFLAGS=/d' \
configure.in || die "sed failed"
eautoconf
}
src_compile() {
[[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] && use amd64 && multilib_toolchain_setup x86
local vidconf=
local target=
local vid=
append-ldflags -Wl,-z,noexecstack
mkdir mybins
for vid in opengl fallback ; do
if [[ ${vid} != "fallback" ]] ; then
use ${vid} || continue
fi
cd "${S}"/snes9x
case ${vid} in
# 3dfx)
# vidconf="--with-glide --without-opengl --without-x"
# target=gsnes9x;;
opengl)
vidconf="--with-opengl --without-glide --without-x"
target=osnes9x;;
fallback)
vidconf="--with-x --without-glide --without-opengl"
target=snes9x;;
esac
# this stuff is ugly but hey the build process sucks ;)
egamesconf \
${vidconf} \
$(use_with x86 assembler) \
$(use_with joystick) \
$(use_with debug debugger) \
$(use_with zlib) \
--with-screenshot \
$(use_with dga extensions) \
|| die
# Makefile doesnt quite support parallel builds
emake -j1 offsets || die "making offsets"
emake ${target} || die "making ${target}"
mv ${target} "${S}"/mybins/
cd "${WORKDIR}"
rm -r "${S}"/snes9x
src_unpack
done
}
src_install() {
dogamesbin mybins/* || die "dogamesbin failed"
dodoc faqs.txt readme.txt readme.unix snes9x/*.txt
prepgamesdirs
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.51.ebuild,v 1.2 2008/02/09 06:22:47 mr_bones_ Exp $
# 3dfx support (glide) is disabled because it requires
# glide-v2 while we only provide glide-v3 in portage
# http://bugs.gentoo.org/show_bug.cgi?id=93097
inherit autotools eutils flag-o-matic multilib games
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
HOMEPAGE="http://www.snes9x.com/"
SRC_URI="http://files.ipherswipsite.com/snes9x/${P}-src.tar.bz2
http://vincent.grigorieff.free.fr/snes9x/${P}-src.tar.bz2"
LICENSE="as-is GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="debug dga joystick netplay opengl zlib"
RDEPEND="x11-libs/libXext
dga? ( x11-libs/libXxf86dga
x11-libs/libXxf86vm )
media-libs/libpng
amd64? ( app-emulation/emul-linux-x86-xlibs )
opengl? ( virtual/opengl
virtual/glu )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
x11-proto/xextproto
x11-proto/xproto
dga? ( x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto )"
S=${WORKDIR}/${P}-src
pkg_setup() {
use amd64 && [[ -z ${NATIVE_AMD64_BUILD_PLZ} ]] && has_multilib_profile && ABI=x86
games_pkg_setup
}
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e 's:-lXext -lX11::' Makefile.in \
|| die "sed failed"
epatch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-config.patch \
"${FILESDIR}"/${P}-opengl.patch \
"${FILESDIR}"/${P}-x11.patch
eautoconf
}
src_compile() {
local vidconf
local target
local vid
local nooffset
append-ldflags -Wl,-z,noexecstack
mkdir "${WORKDIR}"/mybins
for vid in opengl fallback ; do
if [[ ${vid} != "fallback" ]] ; then
use ${vid} || continue
fi
cd "${S}"
case ${vid} in
# 3dfx)
# vidconf="--with-glide --without-opengl"
# target=gsnes9x;;
opengl)
vidconf="--with-opengl --without-glide"
target=osnes9x;;
fallback)
vidconf="--without-glide --without-opengl"
target=snes9x;;
esac
# this stuff is ugly but hey the build process sucks ;)
egamesconf \
${vidconf} \
$(use_with x86 assembler) \
$(use_with joystick) \
$(use_with debug debugger) \
$(use_with zlib) \
$(use_with dga extensions) \
$(use_with netplay) \
|| die
# Makefile doesn't quite support parallel builds
emake ${target} || die "making ${target}"
mv ${target} "${WORKDIR}"/mybins/
cd "${WORKDIR}"
rm -r "${S}"
src_unpack
done
}
src_install() {
dogamesbin "${WORKDIR}"/mybins/* || die "dogamesbin failed"
dodoc doc/* unix/docs/*
prepgamesdirs
elog "Starting with version 1.50, snes9x's behavior is determined by a"
elog "configuration file. See readme_unix.txt and snes9x.conf.default"
elog "in /usr/share/doc/${PF} for details."
}