Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133231 Details for
Bug 145023
games-emulation/sdlmame (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sdlmame-0.119_p3.ebuild
sdlmame-0.119_p3.ebuild (text/plain), 2.44 KB, created by
Tiago Pierezan Camargo
on 2007-10-12 04:12:31 UTC
(
hide
)
Description:
sdlmame-0.119_p3.ebuild
Filename:
MIME Type:
Creator:
Tiago Pierezan Camargo
Created:
2007-10-12 04:12:31 UTC
Size:
2.44 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games flag-o-matic > >MY_PV=${PV/./} ># Minor releases >MY_PV=${MY_PV/_p/u} >MY_P=${PN}${MY_PV} >MY_V=${PV%%_p*} > >DESCRIPTION="Multiple Arcade Machine Emulator (SDL)" >HOMEPAGE="http://rbelmont.mameworld.info/?page_id=163" ># Hope it goes to gentoo mirrors... >SRC_URI="mirror://gentoo/${MY_P}.zip" ># Same as xmame. Should it be renamed to MAME? >LICENSE="XMAME" >SLOT="0" > >KEYWORDS="x86 ~amd64 ~ppc" > >IUSE="minimal debug" > ># Already striped >RESTRICT="strip" > >DEPEND=">=media-libs/libsdl-1.2.10 > sys-libs/zlib > dev-libs/expat > debug? ( > >gnome-base/gconf-2 > >=x11-libs/gtk+-2 )" > >RDEPEND="${DEPEND}" > >S=${WORKDIR}/${MY_P} > ># Function to disable a makefile option >disable_feature() { > sed -i \ > -e "/$1.*=/s:^:# :" \ > ${S}/makefile || die "disable $1 pacth failed" >} > ># Function to enable a makefile option >enable_feature() { > sed -i \ > -e "/^#.*$1.*=/s:^# ::" \ > ${S}/makefile || die "enable $1 patch failed" >} > >src_unpack() { > > unpack ${A} > # Don't compile zlib and expat > einfo "Disabling embedded libraries: zlib and expat" > $(disable_feature BUILD_ZLIB) > $(disable_feature BUILD_EXPAT) > > case ${ARCH} in > amd64) einfo "Enabling 64-bit support" > $(enable_feature PTR64) > $(enable_feature AMD64) > ;; > > x86) einfo "Optimizing build for $(get-flag march)" > case $(get-flag march) in > pentium3) $(enable_feature PM);; > pentium-m) $(enable_feature PM);; > pentium4) $(enable_feature P4);; > athlon) $(enable_feature ATHLON);; > k7) $(enable_feature ATHLON);; > i686) $(enable_feature I686);; > pentiumpro) $(enable_feature I686);; > esac > ;; > > ppc) einfo "Enabling PPC support" > $(enable_feature G4) > ;; > esac > > if use debug ; then > $(enable_feature DEBUG) > $(enable_feature SYMBOLS) > $(enable_feature PROFILE) > fi > > #einfo "Applying WolfMAME patches" > #cd ${S} > #epatch ${FILESDIR}/${MY_V} >} > >src_compile() { > # Minimal driver support. Good for ebuild testing... > if use minimal ; then > make_opts="SUBTARGET=tiny" > fi > > emake \ > NAME=${PN} \ > SUFFIX="" \ > ${make_opts} \ > || die "emake failed" >} > >src_install() { > dogamesbin ${PN} || die "dogamesbin ${PN} failed" > > # Follows xmame ebuild, avoiding collision on /usr/games/bin/jedutil > exeinto $(games_get_libdir)/${PN} > local f > for f in chdman jedutil romcmp ; do > doexe "${f}" || die "doexe ${f} failed" > done > > dodoc docs/* *.txt > > prepgamesdirs >}
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 145023
:
95036
|
95037
|
95841
|
96620
|
100530
|
100533
|
100559
|
100560
|
101089
|
101118
|
101244
|
101772
|
102256
|
102497
|
102523
|
104099
|
109840
|
109841
|
109846
|
124822
|
124986
|
128316
|
131628
|
131632
|
131877
| 133231 |
137353
|
137358
|
141808