Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181649 Details for
Bug 195423
ebuild using gdc for jumpei isshiki's "zlock"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-action/zlock/zlock-0.20.ebuild
zlock-0.20.ebuild (text/plain), 2.47 KB, created by
Account removed
on 2009-02-11 12:14:07 UTC
(
hide
)
Description:
games-action/zlock/zlock-0.20.ebuild
Filename:
MIME Type:
Creator:
Account removed
Created:
2009-02-11 12:14:07 UTC
Size:
2.47 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PN=z-lock >MY_PV=${PV//./_} > >DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/09) " >HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html" >SRC_URI="http://homepage2.nifty.com/isshiki/${MY_PN}.zip" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~ppc ~x86" >IUSE="" > >DEPEND="media-libs/libsdl > media-libs/mesa > media-libs/sdl-mixer > dev-libs/bulletss" >RDEPEND="" > >S=${WORKDIR}/${MY_PN} > >pkg_setup() { > games_pkg_setup > > # gcc must be built with "d" USE-FLAG > if ! built_with_use sys-devel/gcc:4.1 d; then > ewarn "sys-devel/gcc must be built with d for this package" > ewarn "to function." > die "recompile gcc with USE=\"d\"" > fi > if [ "$(gcc-major-version)" == "4" ] && [ "$(gcc-minor-version)" == "2" ] ; then > die "gdc doesn't work with sys-devel/gcc-4.2 currently - use 4.1 instead" > fi >} > >src_unpack(){ > unpack ${A} > epatch "${FILESDIR}"/${P}.diff > mv z-lock/src/reflection.d z-lock/src/reflection.d-OFF > sed -i \ > -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/main.d \ > -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(voice_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(zlock[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i z-lock/src/init.d \ > -e 's:"\(config.dat[^"]*\)":"'${GAMES_STATEDIR}'/'zlock-'\1":g' -i z-lock/src/gctrl.d \ > -e 's:"\(score.dat[^"]*\)":"'${GAMES_STATEDIR}'/'zlock-'\1":g' -i z-lock/src/gctrl.d \ > || die "sed failed" >} > >src_install() { > dogamesbin ${PN} || die "dogamesbin failed" > > local datadir="${GAMES_DATADIR}"/${PN} > dodir "${GAMES_STATEDIR}" > insinto "${GAMES_STATEDIR}" > doins "${FILESDIR}"/zlock-score.dat || die > doins "${FILESDIR}"/zlock-config.dat || die > fperms 660 "${GAMES_STATEDIR}"/zlock-score.dat > fperms 660 "${GAMES_STATEDIR}"/zlock-config.dat > > dodir ${datadir} > insinto "${GAMES_DATADIR}"/${PN} > doins -r *.xml *.bmp *.ogg *.wav || die > newicon "${FILESDIR}"/${PN}.png ${PN}.png > make_desktop_entry ${PN} ${PN} > dodoc readme* > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst >}
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 195423
:
133077
|
133078
|
133085
|
133187
|
133189
|
133190
|
136286
|
136287
| 181649