Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215851 Details for
Bug 83247
Majesty Gold ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Updated ebuild for majesty 1.4.03
majesty-1.4.03.ebuild (text/plain), 3.43 KB, created by
David King
on 2010-01-09 19:31:01 UTC
(
hide
)
Description:
Updated ebuild for majesty 1.4.03
Filename:
MIME Type:
Creator:
David King
Created:
2010-01-09 19:31:01 UTC
Size:
3.43 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI="2" > >inherit eutils versionator games > >PV_MAJOR=$(get_version_component_range 1-2) >MY_P_MAJOR=${PN}-${PV_MAJOR} >MY_PATCH_ONE=${MY_P_MAJOR}-${PV_MAJOR}.01.run >MY_PATCH_TWO=${MY_P_MAJOR}.01-${PV_MAJOR}.02-x86.run >MY_PATCH_THREE=${MY_P_MAJOR}.02-${PV_MAJOR}.03-x86.run > >DESCRIPTION="The fantasy kingdom sim" >HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&" >SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${MY_PATCH_ONE} > http://updatefiles.linuxgamepublishing.com/${PN}/${MY_PATCH_TWO} > http://updatefiles.linuxgamepublishing.com/${PN}/${MY_PATCH_THREE}" > ># See README.licenses for details of included packages. >LICENSE="Majesty-EULA BSD GPL-2 LGPL-2.1" >SLOT="0" >KEYWORDS="-* ~amd64 ~x86" >IUSE="+music" >PROPERTIES="interactive" >RESTRICT="strip" > >RDEPEND="sys-libs/glibc > x86? ( > x11-libs/libX11 > x11-libs/libXext > x11-libs/libXau > x11-libs/libXdmcp ) > amd64? ( > app-emulation/emul-linux-x86-baselibs > app-emulation/emul-linux-x86-xlibs )" >DEPEND="" > >S=${WORKDIR} > >GAMES_CHECK_LICENSE="yes" > >pkg_setup() { > games_pkg_setup >} > >src_unpack() { > cdrom_get_cds majesty.xpm > > ln -sfn "${CDROM_ROOT}" cd || die "CD symlink failed" > einfo "Copying files from game CD" > cp -rf ./cd/CREDITS ./cd/README* ./cd/majestysite.url . || die "cp READMEs failed" > cp -rf ./cd/majesty.{bmp,xpm} . || die "cp icons failed" > cp -rf ./cd/bin/Linux/x86/glibc-2.1/* . || die "cp exes failed" > # Not installing the game music saves around 22 MB. > if use music; then > cp -rf ./cd/music . || die "cp music failed" > fi > # Installing only the lo-res movies or no movies at all causes majesty to > # crash, so the hi-res movies are always installed. > cp -rf ./cd/movies . || die "cp movies failed" > > einfo "Unpacking game data" > unpack "./cd/data.tar.gz" > unpack "./cd/datamx.tar.gz" > unpack "./cd/quests.tar.gz" > unpack "./cd/questsmx.tar.gz" > rm -f cd > > einfo "Unpacking patches" > mkdir -p patch/one patch/two patch/three || die "mkdir patches failed" > cd patch/one > unpack_makeself ${MY_PATCH_ONE} > cd ../two > unpack_makeself ${MY_PATCH_TWO} > cd ../three > unpack_makeself ${MY_PATCH_THREE} >} > >src_prepare() { > einfo "Patching binaries" > cd patch/one > if use x86; then > bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch 1/3 failed" > cd ../two > bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch 2/3 failed" > cd ../three > bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch 3/3 failed" > elif use amd64; then > bin/Linux/x86_64/loki_patch patch.dat "${S}" || die "loki_patch 1/3 failed" > cd ../two > bin/Linux/x86_64/loki_patch patch.dat "${S}" || die "loki_patch 2/3 failed" > cd ../three > bin/Linux/x86_64/loki_patch patch.dat "${S}" || die "loki_patch 3/3 failed" > fi > cd "${S}" > # EULA is duplicated in licenses > rm -rf patch EULA || die "rm -rf patch EULA failed" >} > >src_install() { > dir=${GAMES_PREFIX_OPT}/${PN} > insinto "${dir}" > exeinto "${dir}" > > dodoc CREDITS README* || die "dodoc failed" > rm CREDITS README* || die "rm CREDITS README* failed" > doins -r * || die "doins -r failed" > # Only install static binaries > doexe ${PN} majx || die "doexe ${PN} majx failed" > doicon ${PN}.xpm || die "doicon failed" > > games_make_wrapper majesty ./majesty "${dir}" "${dir}" > games_make_wrapper majx ./majx "${dir}" "${dir}" > > make_desktop_entry majesty "Majesty" "majesty.xpm" > make_desktop_entry majx "Majesty: The Northern Expansion" "majesty.xpm" > > 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 83247
:
52081
|
90070
|
213783
| 215851 |
215853