Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90323 Details for
Bug 138290
Jagged Alliance 2 ebuild ( ja2 )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
jaggedalliance2-1.06b.ebuild
jaggedalliance2-1.06b.ebuild (text/plain), 2.81 KB, created by
Larry Kopenkoskey
on 2006-06-27 20:12:00 UTC
(
hide
)
Description:
jaggedalliance2-1.06b.ebuild
Filename:
MIME Type:
Creator:
Larry Kopenkoskey
Created:
2006-06-27 20:12:00 UTC
Size:
2.81 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-strategy/heroes3/heroes3-1.3.1a-r1.ebuild,v 1.10 2006/04/17 13:29:32 wolf31o2 Exp $ > ># [x] Base Install Required (+304 MB) ># [x] File from game (second) disk (+26 MB) ># [x] Maps (+76 MB) ># [x] Speech (+395 MB) ># [x] Cinematics (+74 MB) ># -------------------- ># Total 875 MB > >inherit games > >DESCRIPTION="Jagged Alliance 2 - turn-based 2-D commando combat" >HOMEPAGE="http://www.titan-computer.com/linux/ja2/index.html" > > >LICENSE="as-is" >SLOT="0" >IUSE="nocd maps sounds videos" >KEYWORDS="x86" > >GAMES_CHECK_LICENSE="no" >dir=${GAMES_PREFIX_OPT}/${PN} >Ddir=${D}/${dir} > >pkg_setup() { > games_pkg_setup > cdrom_get_cds tar/base.tar.gz data/loadscreens.slf > use nocd && ewarn "The full installation takes about 875 MB of space!" >} > >src_install() { > dodir ${dir} > einfo "Copying files... this may take a while..." > > cd ${Ddir} > tar xvf ${CDROM_ROOT}/tar/base.tar.gz || die "unpacking base" > > if ((use nocd) || (use maps && use sounds && use videos)); then > tar xvf ${CDROM_ROOT}/tar/maps.tar.gz || die "unpacking maps" > tar xvf ${CDROM_ROOT}/tar/speech.tar.gz || die "unpacking speech" > tar xvf ${CDROM_ROOT}/tar/cinematics.tar.gz || die "unpacking cinematics" > else > use maps && tar xvf ${CDROM_ROOT}/tar/maps.tar.gz || die "unpacking maps" > use sounds && tar xvf ${CDROM_ROOT}/tar/speech.tar.gz || die "unpacking speech" > use videos && tar xvf ${CDROM_ROOT}/tar/cinematics.tar.gz || die "unpacking cinematics" > fi > > cdrom_load_next_cd > > if ((use nocd) || (use maps && use sounds && use videos)); then > insinto ${dir}/data/ > doins ${CDROM_ROOT}/data/loadscreens.slf > > insinto ${dir} > doins ${FILESDIR}/jaggedalliance2-fix.c > > einfo "patching ja2 executable..." > gcc jaggedalliance2-fix.c -o jaggedalliance2-fix > ./jaggedalliance2-fix > > # We don't need these files anymore > rm -f jaggedalliance2-fix* > einfo "patching ja2 executable done..." > fi > > # now, since these files are coming off a cd, the times/sizes/md5sums wont > # be different ... that means portage will try to unmerge some files (!) > # we run touch on ${D} so as to make sure portage doesnt do any such thing > find ${Ddir} -exec touch '{}' \; > > newicon ${Ddir}/data/ja2aimsmall.xpm ja2.xpm > games_make_wrapper ja2 ./ja2 "${dir}" "${dir}" > make_desktop_entry ja2 "Jagged Alliance 2" "ja2.xpm" > > prepgamesdirs > >} > >pkg_postinst() { > games_pkg_postinst > if ! ((use nocd) || (use maps && use sounds && use videos)); then > einfo "You will need to mount the Jagged Alliance 2 Game CD to play the game." > echo > fi > einfo "Note: there is a serious bug in ja2 if you buy insurance on your mercenaries. You may wish to avoid doing that." > einfo "To play the game run:" > einfo " ja2" >}
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 138290
: 90323 |
90324