diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-05-17 20:11:01 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-05-17 20:11:01 +0000 |
commit | c17bba0e100e8d8e1cb9f64747bc03665936bc2b (patch) | |
tree | ca94f40095f4f017d6bd11cd901bbc2a17d0dc6d /games-simulation/cultivation | |
parent | Remove generation 1 ebuild. (diff) | |
download | historical-c17bba0e100e8d8e1cb9f64747bc03665936bc2b.tar.gz historical-c17bba0e100e8d8e1cb9f64747bc03665936bc2b.tar.bz2 historical-c17bba0e100e8d8e1cb9f64747bc03665936bc2b.zip |
New package. Bug #150406
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'games-simulation/cultivation')
-rw-r--r-- | games-simulation/cultivation/ChangeLog | 10 | ||||
-rw-r--r-- | games-simulation/cultivation/Manifest | 30 | ||||
-rw-r--r-- | games-simulation/cultivation/cultivation-7.ebuild | 49 | ||||
-rw-r--r-- | games-simulation/cultivation/files/cultivation-7-gentoo.patch | 86 | ||||
-rw-r--r-- | games-simulation/cultivation/files/digest-cultivation-7 | 3 | ||||
-rw-r--r-- | games-simulation/cultivation/metadata.xml | 20 |
6 files changed, 198 insertions, 0 deletions
diff --git a/games-simulation/cultivation/ChangeLog b/games-simulation/cultivation/ChangeLog new file mode 100644 index 000000000000..2c975372cf9b --- /dev/null +++ b/games-simulation/cultivation/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-simulation/cultivation +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/cultivation/ChangeLog,v 1.1 2007/05/17 20:11:01 tupone Exp $ + +*cultivation-7 (17 May 2007) + + 17 May 2007; Tupone Alfredo <tupone@gentoo.org> + +files/cultivation-7-gentoo.patch, +metadata.xml, +cultivation-7.ebuild: + New package. Bug #150406 by Cedric Krier <cedk@gentoo.org> + diff --git a/games-simulation/cultivation/Manifest b/games-simulation/cultivation/Manifest new file mode 100644 index 000000000000..9a7702714e55 --- /dev/null +++ b/games-simulation/cultivation/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX cultivation-7-gentoo.patch 3186 RMD160 b4ec07202d8a61901a1989c59251731e660e168c SHA1 8d1949bb690825cbec83aaa07f63532c2152b7d5 SHA256 08939a9c9ed35410ae1e790fd3c7d9899621534bd949b43eb86c64fb407a1fc1 +MD5 8d8eeb0a38d1a80a2d6151e111033d31 files/cultivation-7-gentoo.patch 3186 +RMD160 b4ec07202d8a61901a1989c59251731e660e168c files/cultivation-7-gentoo.patch 3186 +SHA256 08939a9c9ed35410ae1e790fd3c7d9899621534bd949b43eb86c64fb407a1fc1 files/cultivation-7-gentoo.patch 3186 +DIST Cultivation_7_UnixSource.tar.gz 1117852 RMD160 94a9ce95e774c5ca981d2bcd41cfa2228daf7c67 SHA1 64f3b4a59815c8cd3976de0ec6c67b99d21729a8 SHA256 17c3b2efcf6bf059178058a04bd0b555e257bfb9117a25445d6fbf00a70ac8b2 +EBUILD cultivation-7.ebuild 1244 RMD160 09631152ab274bbe7fd3416d08c9146afe03e2ef SHA1 f9e08f75836d6d73d3a3ec0500210db9ecf74e1a SHA256 d05e8639a863984cd4f7d056b0db3207df600869154627f33a993fa912b76823 +MD5 0ec316a226ba0cb30d4721f789934f16 cultivation-7.ebuild 1244 +RMD160 09631152ab274bbe7fd3416d08c9146afe03e2ef cultivation-7.ebuild 1244 +SHA256 d05e8639a863984cd4f7d056b0db3207df600869154627f33a993fa912b76823 cultivation-7.ebuild 1244 +MISC ChangeLog 446 RMD160 ea31e27526a05eb9ffe49d28b4d4ff4bf9117287 SHA1 69a1a1d57e177c63c27f3a5da0b9ffcb00d66570 SHA256 db7b8fb4d20d11e60e0559e83806e57a1a2e2089339745cefc4ff7372f7edc3d +MD5 e55e6f2ad454baab5b609bc64397fe90 ChangeLog 446 +RMD160 ea31e27526a05eb9ffe49d28b4d4ff4bf9117287 ChangeLog 446 +SHA256 db7b8fb4d20d11e60e0559e83806e57a1a2e2089339745cefc4ff7372f7edc3d ChangeLog 446 +MISC metadata.xml 982 RMD160 835e540eb7bc0b9e4a16f21ebf3c70ed2c2062ff SHA1 975211e7e000ceccf671f00d5f432f9b031844bf SHA256 fbb4a448f5d958f99372d8fbacd9938da0e477302ada4e048845d1c772577025 +MD5 acdb2dc3510778aeb3929f97dcd0494c metadata.xml 982 +RMD160 835e540eb7bc0b9e4a16f21ebf3c70ed2c2062ff metadata.xml 982 +SHA256 fbb4a448f5d958f99372d8fbacd9938da0e477302ada4e048845d1c772577025 metadata.xml 982 +MD5 8164218497b3fef31cff80abe1f95eee files/digest-cultivation-7 277 +RMD160 7599c15a5067c2e345ce73fdbdd22c8d1e1a6832 files/digest-cultivation-7 277 +SHA256 7a0d2e83c70a7fa92eea7bfb3a09b3d00b253c7f0874c2183cd3e63a98559768 files/digest-cultivation-7 277 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFGTLbbRmMZkarFlIwRAp+MAKDRGG8Hp3Oj6UeV1gI2FVOudd1UngCglDVp +GCz/60w2lZxKe02owVHjFAE= +=gMtY +-----END PGP SIGNATURE----- diff --git a/games-simulation/cultivation/cultivation-7.ebuild b/games-simulation/cultivation/cultivation-7.ebuild new file mode 100644 index 000000000000..f0b07fe9c9b8 --- /dev/null +++ b/games-simulation/cultivation/cultivation-7.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/cultivation/cultivation-7.ebuild,v 1.1 2007/05/17 20:11:01 tupone Exp $ + +inherit eutils flag-o-matic games + +MY_P=Cultivation_${PV}_UnixSource + +DESCRIPTION="A game about the interactions within a gardening community." +HOMEPAGE="http://cultivation.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="virtual/glut + media-libs/pablio" + +S="${WORKDIR}/${MY_P}/game2/gameSource" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + ../../minorGems/util/TranslationManager.cpp \ + features.cpp \ + game.cpp || die "Changing data path failed" +} + +src_compile() { + cd .. + platformSelection=1 ./configure + cd gameSource + emake || die "emake failed" +} + +src_install() { + dogamesbin Cultivation || die "Installing binary failed" + insinto "${GAMES_DATADIR}/${PN}" + doins -r features.txt font.tga language.txt languages \ + || die "doins languages failed" + cd ../documentation + dodoc how_to_*.txt changeLog.txt + + prepgamesdirs +} diff --git a/games-simulation/cultivation/files/cultivation-7-gentoo.patch b/games-simulation/cultivation/files/cultivation-7-gentoo.patch new file mode 100644 index 000000000000..03bc8e80bd8e --- /dev/null +++ b/games-simulation/cultivation/files/cultivation-7-gentoo.patch @@ -0,0 +1,86 @@ +--- ../../minorGems/util/TranslationManager.cpp.old 2007-05-17 00:04:50.000000000 +0200 ++++ ../../minorGems/util/TranslationManager.cpp 2007-05-17 00:05:09.000000000 +0200 +@@ -147,7 +147,7 @@ + mNaturalLanguageStrings( NULL ) { + + // default +- setDirectoryAndLanguage( "languages", "English" ); ++ setDirectoryAndLanguage( "@GENTOO_DATADIR@/languages", "English" ); + } + + +--- game.cpp.old 2007-05-17 00:16:44.000000000 +0200 ++++ game.cpp 2007-05-17 00:17:18.000000000 +0200 +@@ -589,7 +589,7 @@ + mStartTimeSeconds( time( NULL ) ), + mPaused( false ), + mMaxFrameRate( 400 ), // don't limit frame rate +- mPrintFrameRate( true ), ++ mPrintFrameRate( false ), + mNumFrames( 0 ), mFrameBatchSize( 100 ), + mFrameBatchStartTimeSeconds( time( NULL ) ), + mFrameBatchStartTimeMilliseconds( 0 ), +@@ -897,7 +897,7 @@ + // load font image + TGAImageConverter tga; + +- File fontFile( NULL, "font.tga" ); ++ File fontFile( NULL, "@GENTOO_DATADIR@/font.tga" ); + FileInputStream fontInput( &fontFile ); + + Image *fontImage = tga.deformatImage( &fontInput ); +@@ -980,7 +980,7 @@ + mCurrentTipStoredItem = -1; + + // translation language for tool tips +- File languageNameFile( NULL, "language.txt" ); ++ File languageNameFile( NULL, "@GENTOO_DATADIR@/language.txt" ); + + if( languageNameFile.exists() ) { + char *languageNameText = languageNameFile.readFileContents(); +--- features.cpp.old 2007-05-17 00:20:16.000000000 +0200 ++++ features.cpp 2007-05-17 00:20:54.000000000 +0200 +@@ -57,7 +57,7 @@ + + + void initializeFeatures() { +- FILE *featuresFile = fopen( "features.txt", "r" ); ++ FILE *featuresFile = fopen( "@GENTOO_DATADIR@/features.txt", "r" ); + + char stringBuffer[100]; + int switchValue; +--- sound/SoundPlayer.h.old 2007-05-17 20:23:32.000000000 +0200 ++++ sound/SoundPlayer.h 2007-05-17 20:24:39.000000000 +0200 +@@ -52,8 +52,8 @@ + #include "SoundFilter.h" + #include "PlayableSound.h" + +-#include "minorGems/sound/portaudio/pa_common/portaudio.h" +-#include "minorGems/sound/portaudio/pablio/pablio.h" ++#include <portaudio/portaudio.h> ++#include <portaudio/pablio.h> + + + #include "minorGems/util/SimpleVector.h" +--- ../Makefile.common.old 2007-05-17 20:33:05.000000000 +0200 ++++ ../Makefile.common 2007-05-17 20:33:37.000000000 +0200 +@@ -51,7 +51,7 @@ + + + +-COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -I${ROOT_PATH} -I${PORT_AUDIO_PATH}/pa_common ++COMPILE_FLAGS = $(CXXFLAGS) ${PLATFORM_COMPILE_FLAGS} -I${ROOT_PATH} + + + COMPILE = ${GXX} ${COMPILE_FLAGS} -c +--- ../Makefile.GnuLinux.old 2007-05-17 20:32:12.000000000 +0200 ++++ ../Makefile.GnuLinux 2007-05-17 20:32:35.000000000 +0200 +@@ -17,7 +17,7 @@ + + # various GL and X windows librariesneeded for linux + # also need portaudio library (which in turn needs pthreads) +-PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu ${PORT_AUDIO_PATH}/lib/libportaudio.a -lpthread ++PLATFORM_LINK_FLAGS = -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu -lportaudio -lpthread + + + # All platforms but OSX support g++ and need no linker hacks diff --git a/games-simulation/cultivation/files/digest-cultivation-7 b/games-simulation/cultivation/files/digest-cultivation-7 new file mode 100644 index 000000000000..123a08f63714 --- /dev/null +++ b/games-simulation/cultivation/files/digest-cultivation-7 @@ -0,0 +1,3 @@ +MD5 8a124674d5b395f15d277e4b7191f1a8 Cultivation_7_UnixSource.tar.gz 1117852 +RMD160 94a9ce95e774c5ca981d2bcd41cfa2228daf7c67 Cultivation_7_UnixSource.tar.gz 1117852 +SHA256 17c3b2efcf6bf059178058a04bd0b555e257bfb9117a25445d6fbf00a70ac8b2 Cultivation_7_UnixSource.tar.gz 1117852 diff --git a/games-simulation/cultivation/metadata.xml b/games-simulation/cultivation/metadata.xml new file mode 100644 index 000000000000..81c88c1cfa4d --- /dev/null +++ b/games-simulation/cultivation/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription lang="en"> +Cultivation is a game about a community of gardeners growing food for themselves +in a shared space. + +Cultivation is quite different from most other games. It is a social simulation, +and the primary form of conflict is over land and plant resources---there is no +shooting, but there are plenty of angry looks. It is also an evolution +simulation. Within the world of Cultivation, you can explore a virtually +infinite spectrum of different plant and gardener varieties. + +All of the graphics, sounds, melodies,and other content in Cultivation are 100% +procedurally generated at playtime. In other words, there are no hand-painted +texture maps---instead, each object has a uniquely "grown" appearance. Every +time you play, Cultivation generates fresh visuals, music, and behaviors. +</longdescription> +</pkgmetadata> |