Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136240 Details for
Bug 188458
ebuild using gdc for jumpei isshiki's "Gradle Unison"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-action/gradleunison/gradleunison-0.10.ebuild
gradleunison-0.10.ebuild (text/plain), 2.34 KB, created by
Account removed
on 2007-11-18 12:17:45 UTC
(
hide
)
Description:
games-action/gradleunison/gradleunison-0.10.ebuild
Filename:
MIME Type:
Creator:
Account removed
Created:
2007-11-18 12:17:45 UTC
Size:
2.34 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PN=GU >MY_PV=${PV//./_} > >DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/02) " >HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html" >SRC_URI="http://isshiki.la.coocan.jp/game/${MY_PN}.zip" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~ppc ~x86" > >DEPEND="media-libs/libsdl > media-libs/mesa > media-libs/sdl-mixer > dev-libs/bulletss" > >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 GU/src/reflection.d GU/src/reflection.d-OFF > sed -i \ > -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/main.d \ > -e 's:"\(icon.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/util_sdl.d \ > -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(gu_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(./bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i GU/src/init.d \ > -e 's:"\(score.dat[^"]*\)":"'${GAMES_STATEDIR}'/'gu-'\1":g' -i GU/src/gctrl.d \ > || die "sed failed" >} > >src_install() { > dogamesbin ${PN} > > local datadir="${GAMES_DATADIR}"/${PN} > dodir ${datadir} > insinto "${GAMES_DATADIR}"/${PN} > doins -r bullet *.bmp *.ogg *.wav || die > > if [ ! -e "${GAMES_STATEDIR}"/gu-score.dat ] > then > dodir "${GAMES_STATEDIR}" > insinto "${GAMES_STATEDIR}" > doins ${FILESDIR}/gu-score.dat || die > fperms 660 ${GAMES_STATEDIR}/gu-score.dat > fi > 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 188458
:
127735
|
127737
|
128572
|
129126
|
129127
|
131405
|
133076
|
133088
|
133174
|
133175
|
136238
|
136240
|
181647