Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 280819 Details for
Bug 361837
games-strategy/oilrush - A real-time strategy game based on control of oil platforms and naval/air units
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
oilrush-0.72.ebuild - Version bump
oilrush-0.72.ebuild (text/plain), 3.74 KB, created by
Zorzo Luca
on 2011-07-24 11:40:58 UTC
(
hide
)
Description:
oilrush-0.72.ebuild - Version bump
Filename:
MIME Type:
Creator:
Zorzo Luca
Created:
2011-07-24 11:40:58 UTC
Size:
3.74 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >inherit eutils games > >MY_PN="OilRush" > >DESCRIPTION="A real-time strategy game based on control of oil platforms and naval/air units." >HOMEPAGE="http://oilrush-game.com" >SRC_URI="${MY_PN}-${PV}.run" > >RESTRICT="fetch strip" >LICENSE="" > >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="doc" > >RDEPEND="media-libs/openal > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > x11-libs/libXext > x11-libs/libXinerama > x11-libs/libXrandr > x11-libs/libXrender > virtual/opengl" > >S="${WORKDIR}" > >GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" > >pkg_nofetch() { > einfo "" > einfo "Please buy and download \"${SRC_URI}\" from:" > einfo " ${HOMEPAGE}" > einfo "and move it to \"${DISTDIR}\"" > einfo "" >} > >src_unpack() { > unpack_makeself || die "unpack_makeself failed" >} > >src_prepare() { > # Take version specific params from launcher: > LAUNCHER_MAIN="data/launcher/js/launcher.js" > LAUNCHER_DIRECT_PARAMS="system_script extern_plugin" > LAUNCHER_CONSOLE_CMD="world_load" > PARAMS="" > for direct_param in ${LAUNCHER_DIRECT_PARAMS} > do > PARAMS="$(grep -oe "\-${direct_param}\ .*\"" "${LAUNCHER_MAIN}") ${PARAMS}" > done > CONCMD="" > for concmd_param in ${LAUNCHER_CONSOLE_CMD} > do > if [[ "${CONCMD}" == "" ]] > then > CONCMD="$(grep -oe "${concmd_param}\ .*\"" "${LAUNCHER_MAIN}")" > else > CONCMD="${CONCMD} && $(grep -oe "${concmd_param}\ .*\"" "${LAUNCHER_MAIN}")" > fi > done > PARAMS="${PARAMS//\"/} -console_command \"${CONCMD//\"/}\"" > > > # Wrapper: > touch "${PN}" || die "touch \"${PN}\" failed" > > cat << EOF >> "${PN}" || die "echo \"${PN}\" failed" >#!/bin/sh > >CFG_FILE="${PN}.cfg" >DATA_PATH="../" >SAVE_PATH="\${HOME}/.${MY_PN}" > >PARAMS="" >for param in \${@} >do > case "\${param}" in > "--init" ) initial_config="1";; > * ) PARAMS="\${PARAMS} \${param}";; > esac >done > >cd "${GAMEDIR}" >export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:${GAMEDIR}/lib" > >if [[ ! -f "\${SAVE_PATH}/\${CFG_FILE}" || "\${initial_config}" == "1" ]] >then > ./bin/${PN} -data_path "\${DATA_PATH}" -engine_config "\${DATA_PATH}\${CFG_FILE}" -video_app opengl -audio-app openal -video_fullscreen 0 ${PARAMS// / } \${PARAMS} >else > ./bin/${PN} -data_path "\${DATA_PATH}" -engine_config "\${DATA_PATH}\${CFG_FILE}" \${PARAMS} >fi >EOF > > # Files to remove: > REMOVE="*.sh > bin/launcher* > bin/libopenal* > bin/libQt* > data/launcher*" > > einfo " Removing useless files ..." > for remove in ${REMOVE} > do > rm -r "${S}/"${remove} || die "rm \"${remove}\" failed" > done >} > >src_install() { > # Install data > insinto "${GAMEDIR}" || die "insinto \"${GAMEDIR}\" failed" > > einfo " Installing game data files ..." > doins -r "data" || die "doins game data files failed" > # Changing config name allow us to keep settings through versions in an easy way. > newins "${P}.cfg" "${PN}.cfg" || die "newins \"${P}.cfg\" failed" > > > # Install libraries and executables > einfo " Installing libraries and executables ..." > > if use amd64 > then > local suff="x64d" > fi > if use x86 > then > local suff="x86d" > fi > > exeinto "${GAMEDIR}/lib" || die "exeinto \"lib\" failed" > doexe bin/*${suff}*.so || die "doexe \"lib\" failed" > > exeinto "${GAMEDIR}/bin" || die "exeinto \"bin\" failed" > newexe bin/${MY_PN}*${suff}* "${PN}" || die "newexe \"bin\" failed" > > exeinto "${GAMES_BINDIR}" || die "exeinto \"wrapper\" failed" > doexe "${PN}" || die "doexe \"${PN}\" failed" > > > # Install icon and desktop file > local icon="${PN}.png" > doicon "${FILESDIR}/${icon}" || die "newicon \"${icon}\" failed" > make_desktop_entry "${PN}" "${MY_PN}" "/usr/share/pixmaps/${icon}" || die "make_desktop_entry failed" > > > # Install documentation > if use doc > then > docinto "${PN}" > dodoc documentation/* || die "dodoc failed" > fi > > > # Setting permissions. > einfo " Setting permissions ..." > 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 361837
:
268399
|
268403
|
268415
|
268417
| 280819 |
328430