Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117159 Details for
Bug 139347
Snes9X 1.5.1 bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
snes9x-1.50-r1.ebuild
snes9x-1.50-r1.ebuild (text/plain), 3.07 KB, created by
Richard Westwell
on 2007-04-24 18:24:00 UTC
(
hide
)
Description:
snes9x-1.50-r1.ebuild
Filename:
MIME Type:
Creator:
Richard Westwell
Created:
2007-04-24 18:24:00 UTC
Size:
3.07 KB
patch
obsolete
># ebuild contributed by Justin Blanchard ># Distributed under the terms of the GNU General Public License v2 > ># 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 ># (still true as of 1.50) > >inherit eutils games flag-o-matic multilib > >DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" >HOMEPAGE="http://www.snes9x.com/" >SRC_URI="http://files.ipherswipsite.com/snes9x/snes9x-1.5-src.tar.bz2" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~ppc64" >IUSE="opengl joystick zlib dga debug" > >RDEPEND="|| ( ( x11-libs/libXext > dga? ( x11-libs/libXxf86dga > x11-libs/libXxf86vm ) ) > virtual/x11 ) > 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 ) ) > virtual/x11 )" > >S=${WORKDIR}/snes9x-1.5-src > >pkg_setup() { > use opengl && ewarn "Warning: Graphics in osnes9x 1.50 may be drawn incorrectly!" > 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}-porting.patch \ > "${FILESDIR}"/${P}-build.patch \ > "${FILESDIR}"/${P}-config.patch > > sed -i \ > -e '/X_LDFLAGS=/d' \ > configure.in || die "sed failed" > > sed -i \ > -e 's/HDMAStarted/HDMAEnded/g' \ > offsets.cpp || die "sed failed" > > sed -i \ > -e 's/GFX.Pitch2/256 * sizeof(uint16)/g' \ > unix/opengl.cpp || die "sed failed" > > autoconf || die >} > >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 --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) \ > $(use_with dga extensions) \ > || die > # Makefile doesnt quite support parallel builds > use ppc64 && nooffset="true" > if [[ ${nooffset} != "true" ]] ; then > emake -j1 offsets || die "making offsets" > fi > 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 > einfo "Starting with version 1.50, snes9x's behavior is determined by a" > einfo "configuration file. See readme_unix.txt and snes9x.conf.default" > einfo "in /usr/share/doc/${PV} for details." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 139347
:
93715
|
93716
|
93717
|
93718
|
93719
|
93720
|
104167
|
104168
| 117159 |
117771
|
117773
|
117774
|
117775
|
125055
|
125056
|
125058