Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 213783 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 version with latest patches
majesty-1.4.03.ebuild (text/plain), 2.97 KB, created by
David King
on 2009-12-22 17:48:28 UTC
(
hide
)
Description:
Updated version with latest patches
Filename:
MIME Type:
Creator:
David King
Created:
2009-12-22 17:48:28 UTC
Size:
2.97 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="Control your own kingdom in this simulation." >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}" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~amd64 ~x86" >RESTRICT="strip" >IUSE="" > >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} > >pkg_setup() { > games_pkg_setup >} > >src_unpack() { > cdrom_get_cds majesty.xpm > > ln -sfn "${CDROM_ROOT}" cd > einfo "Copying files from game CD" > cp -rf ./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" > cp -rf ./cd/music . || die "cp music failed" > cp -rf ./cd/movies . || die "cp movies failed" > > einfo "Unpacking game data" > unpack "./cd/data.tar.gz" || die "unpacking data" > unpack "./cd/datamx.tar.gz" || die "unpacking data" > unpack "./cd/quests.tar.gz" || die "unpacking quests" > unpack "./cd/questsmx.tar.gz" || die "unpacking quests" > rm -f cd > > einfo "Unpacking patches" > mkdir -p patch/one patch/two patch/three > 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}" > rm -rf patch >} > >src_install() { > dir=${GAMES_PREFIX_OPT}/${PN} > insinto "${dir}" > exeinto "${dir}" > > 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}" > prepgamesdirs > > make_desktop_entry majesty "Majesty" "majesty.xpm" > make_desktop_entry majx "Majesty: The Northern Expansion" "majesty.xpm" >} >
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