Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 111310 Details for
Bug 168463
games-action/descent2-data-1.1.ebuild (Update/Enhancement)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
descent2-data-1.0.ebuild
descent2-data-1.0.ebuild (text/plain), 2.28 KB, created by
Paul Bredbury
on 2007-02-26 15:05:39 UTC
(
hide
)
Description:
descent2-data-1.0.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2007-02-26 15:05:39 UTC
Size:
2.28 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PV=${PV/./} >SOW="descent2.sow" > >DESCRIPTION="Data files for Descent 2" >HOMEPAGE="http://www.interplay.com/games/product.asp?GameID=109" >SRC_URI="" ># Don't have a method of applying the ver 1.2 patch in Linux ># http://www.interplay.com/support/product.asp?GameID=109 ># mirror://3dgamers/descent2/d2ptch${MY_PV}.exe > ># See readme.txt >LICENSE="${PN}" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="lowres highres" > ># d2x-0.2.5-r2 may include the CD data itself. ># d2x-0.2.5-r3 does not include the CD data. ># d2x-rebirth is favoured because it is stable. >RDEPEND="|| ( > games-action/d2x-rebirth > >=games-action/d2x-0.2.5-r3 )" >DEPEND="!<games-action/d2x-0.2.5-r3 > app-arch/unarj" > >S=${WORKDIR} >dir=${GAMES_DATADIR}/d2x > >pkg_setup() { > games_pkg_setup > > local m f need_cd="n" > > # Could have the ${SOW} file in ${FILESDIR}, in a local overlay > if [[ -e "${FILESDIR}/${SOW}" ]] ; then > einfo "Using ${SOW} from ${FILESDIR}" > # Check that the movies are available in ${FILESDIR} if needed > if use highres || use lowres ; then > # No need to copy both sets of resolutions > if use highres ; then > D2_RESOLUTION="h" > else > D2_RESOLUTION="l" > fi > > for m in {intro,other,robots}-${D2_RESOLUTION}.mvl ; do > [[ -e "${FILESDIR}/${m}" ]] || need_cd="y" > done > fi > else > need_cd="y" > fi > > if [[ "${need_cd}" == "y" ]] ; then > # The Descent 2 CD is needed > cdrom_get_cds "d2data/${SOW}" > fi >} > >src_unpack() { > local m f="${FILESDIR}/${SOW}" > > [[ -e "${f}" ]] || f="${CDROM_ROOT}/d2data/${SOW}" > # Extract level data > unarj e "${f}" || die "unarj ${f} failed" > > if use highres || use lowres ; then > # Include movie files > for m in {intro,other,robots}-${D2_RESOLUTION}.mvl ; do > f="${FILESDIR}/${m}" > [[ -e "${f}" ]] || f="${CDROM_ROOT}/d2data/${m}" > einfo "Copying ${f}" > cp -f "${f}" . || die "cp ${f} failed" > done > fi > > rm endnote.txt > mkdir doc > mv *.txt doc > > # Remove files not needed by any Linux native client > rm *.{bat,dll,exe,ini,lst} >} > >src_install() { > insinto "${dir}" > doins * || die "doins * failed" > > dodoc doc/* > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > elog "A client is needed to run the game, e.g. games-action/d2x-rebirth." > echo >}
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 168463
:
111286
|
111310
|
111312
|
111318