games-sports/stuntrally: moved to gamerlay

This commit is contained in:
Sergey Popov 2013-05-03 21:59:24 +04:00
parent 410165f77c
commit d07e329647
4 changed files with 0 additions and 130 deletions

View File

@ -1,4 +0,0 @@
AUX stuntrally-1.9-sharedir-absolute-path.patch 687 SHA256 97587e8551f9ba61c12a47d967e68bcfc620394b3b53e6685ef54d4b2446dcfa SHA512 80ca9e08afc94a13abea32caec90d3362a26f729eb920debaaa4a54a9eb66baf9b39ffd2b2d112e25efb30c8782e49dd2fb0ed9b38a0d7aee6792e814eac7721 WHIRLPOOL bfbb1dc279d732739f67572b665b71e3448519f528b1ff957007820dba85e5e092bd2e31ec25d0924f6d125d8bf63c1faac191eae19cd56aaa2335cc8e3893de
DIST StuntRally-1.9-sources.tar.xz 394374672 SHA256 dfd036c66ec9b7df4f5e3a7aa664dcc4860ebfaeedfb5c16eb6c999b4fa1715e SHA512 008871538eba089d17c9b10eec485751f180e2c488565887e04455a9fe7a4b6b010b9ea9c30d7183e15192a5cca9ea6b5f44c61857f358c94938678cbaab8245 WHIRLPOOL eef07267d42fdad0f835a1bfd15e96eda6ef0f088218c7b5b0e80df7ac311940ee0f42a8859653b6e68d142c72798fd4313c1e2623e0753d49eb10a1130e63e1
EBUILD stuntrally-1.9.ebuild 2153 SHA256 b97aca028799a65c1bd2f3826d3a8fe4d563498df1b31b69dc057b97c076deb8 SHA512 e6f41aab9dd98d114902a035d26d04966b5f244c4d5bbbc52588bd30a95db3edc55288cae69bcf27f5accc1e8dc82d43bf9a2e889bcfe98bc885810171d0930e WHIRLPOOL 9052af6eac3161b7f3395a1fb89270ad190cd45b12733058b2f160f8b9ffc4ec8f5f38dcad77f4df570a11307d143d3df0d4c75613140fecba6e69bf4ab41169
MISC metadata.xml 541 SHA256 b3f7a125a9309dabbdfc5c68589f46d7fd842327156a84bd55a5c1c792fe545f SHA512 b90200bde6868573a2e0130c0e2db4294d70cc3ac437bc8809d7109eedf9585689cb46e4d68ce44cbc5ab740c57fa14ccbb27f9b2d3d53961894b8acb7b9be4f WHIRLPOOL cf87e200f2e26f8cc3377476bf10267f5546c85c56c6ded789e64e7fb36ed7e2cc39dc9b60ff211c2d5cbbcae057757ef1410f664f94fc0c3f35ed53a3cac7ac

View File

@ -1,16 +0,0 @@
Draft version of patch, that makes possible to define SHARED_DATA_DIR as
absolute path.
Notes: possibly breaks loading of data from user's home folder
--- source/vdrift/pathmanager.cpp.orig 2013-04-22 14:44:09.626544667 +0400
+++ source/vdrift/pathmanager.cpp 2013-04-22 14:45:01.010546299 +0400
@@ -176,7 +176,7 @@
//dirs.push_back(user_data_dir);
// Adding relative path from installed executable
- dirs.push_back(execname().parent_path().parent_path() / shareDir);
+ dirs.push_back(shareDir);
// Adding relative path for running from sources
dirs.push_back(execname().parent_path().parent_path() / "data");
dirs.push_back(execname().parent_path().parent_path());

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>mva@mva.name</email>
<description>
If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription>FIXME</longdescription>
<use>
<flag name="editor">Build and install maps editor</flag>
<flag name="game">Build and install game client itself</flag>
</use>
</pkgmetadata>

View File

@ -1,94 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
MY_P="StuntRally-${PV}-sources"
inherit cmake-utils eutils games
DESCRIPTION="Rally game focused on closed rally tracks with possible stunt elements (jumps, loops, pipes)."
HOMEPAGE="http://code.google.com/p/vdrift-ogre/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dedicated +game editor"
S="${WORKDIR}/${MY_P}"
# TODO:
# - check for bundled dependencies(for e.g. libbullet)
# - verify dependencies in RDEPEND(libXcursor is already confirmed)
# - possibly add one more string to REQUIRED_USE to avoid unneeded building with USE="-*"
RDEPEND="game? (
dev-games/ogre[cg,boost,ois,freeimage,opengl,zip]
dev-games/mygui
media-libs/libsdl:0
media-libs/libvorbis
media-libs/libogg
x11-libs/libXcursor
)
dev-libs/boost
net-libs/enet:1.3
virtual/libstdc++"
DEPEND="${RDEPEND}"
REQUIRED_USE="editor? ( game )"
DOCS=( Readme.txt )
PATCHES=( "${FILESDIR}/${P}-sharedir-absolute-path.patch" )
src_prepare() {
sed -i -e '/^Categories/s/Application;//' dist/*.desktop || die "sed on desktop files failed"
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DSHARE_INSTALL="${GAMES_DATADIR}/${PN}"
$(cmake-utils_use_build dedicated MASTER_SERVER)
$(cmake-utils_use_build game GAME)
$(cmake-utils_use_build editor EDITOR)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
insinto "${GAMES_DATADIR}/${PN}"
doins -r data/*
rm config/CMakeLists.txt || die
doins -r config
dodoc ${DOCS[@]}
if use dedicated; then
pushd "${CMAKE_BUILD_DIR}" &>/dev/null || die
dogamesbin sr-masterserver
popd &>/dev/null
fi
if use editor; then
pushd "${CMAKE_BUILD_DIR}" &>/dev/null || die
dogamesbin sr-editor
popd &>/dev/null
domenu dist/sr-editor.desktop
doicon -s 64 dist/sr-editor.png
fi
if use game; then
pushd "${CMAKE_BUILD_DIR}" &>/dev/null || die
dogamesbin ${PN}
popd &>/dev/null
domenu dist/${PN}.desktop
doicon -s 64 dist/${PN}.png
fi
prepgamesdirs
}