From: Alfredo Tupone Date: Tue, 16 Jan 2007 16:21:18 +0000 (+0000) Subject: New ebuild. Bug #96781 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2453ec091add09868a18166490e82d9058381c2;p=gentoo.git New ebuild. Bug #96781 Package-Manager: portage-2.1.1-r2 --- diff --git a/games-strategy/dark-oberon/ChangeLog b/games-strategy/dark-oberon/ChangeLog new file mode 100644 index 000000000000..e80f8b34e92c --- /dev/null +++ b/games-strategy/dark-oberon/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-strategy/dark-oberon +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/ChangeLog,v 1.1 2007/01/16 16:21:18 tupone Exp $ + +*dark-oberon-1.0.2_rc1 (16 Jan 2007) + + 16 Jan 2007; +files/dark-oberon-1.0.2_rc1-gcc41.patch, + +files/dark-oberon-1.0.2_rc1-gentoo.patch, +metadata.xml, + +dark-oberon-1.0.2_rc1.ebuild: + New ebuild. Bug #96781 by Christoph Brill (egore) + diff --git a/games-strategy/dark-oberon/Manifest b/games-strategy/dark-oberon/Manifest new file mode 100644 index 000000000000..1b6a51fab364 --- /dev/null +++ b/games-strategy/dark-oberon/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX dark-oberon-1.0.2_rc1-gcc41.patch 4888 RMD160 f7276c553dfcc197cb03a227f4e8af029454e2d1 SHA1 0f1c6db414af1b0a52cc1fb5b4ce39bcb3b04308 SHA256 4d699edf129f34cbf2b0f0580899071bb254b68b8b23159fbe4fb7af43639b40 +MD5 d5041889e4b9a35d7de8e8e2beaecf79 files/dark-oberon-1.0.2_rc1-gcc41.patch 4888 +RMD160 f7276c553dfcc197cb03a227f4e8af029454e2d1 files/dark-oberon-1.0.2_rc1-gcc41.patch 4888 +SHA256 4d699edf129f34cbf2b0f0580899071bb254b68b8b23159fbe4fb7af43639b40 files/dark-oberon-1.0.2_rc1-gcc41.patch 4888 +AUX dark-oberon-1.0.2_rc1-gentoo.patch 2072 RMD160 ccb14124b10b0594fc7818ca202db48370d68353 SHA1 88c3052420ca99206a62ede961209b76fea7af20 SHA256 6a8f44189744c72c07d4114e9efdc782dcf7ed8d574c4814d11027bc7fd55d08 +MD5 f5f665f18e910b0b0e72523151fdef85 files/dark-oberon-1.0.2_rc1-gentoo.patch 2072 +RMD160 ccb14124b10b0594fc7818ca202db48370d68353 files/dark-oberon-1.0.2_rc1-gentoo.patch 2072 +SHA256 6a8f44189744c72c07d4114e9efdc782dcf7ed8d574c4814d11027bc7fd55d08 files/dark-oberon-1.0.2_rc1-gentoo.patch 2072 +DIST dark-oberon-1.0.2-RC1.tar.gz 28487655 RMD160 078de205c884ff1255b9600c9a763d526fed066d SHA1 1708a1e6ed762c674bd7aa3296d3d28e297bc589 SHA256 d867bac1f75c844a005d1f873059090d25f9f266730fcd7d0d261a5b84a420b1 +EBUILD dark-oberon-1.0.2_rc1.ebuild 1077 RMD160 ad12fc0304cc32fef562cc49cc55f6affb694e4d SHA1 d8eb8eb4095fe62136d4c23d2a0143db749de052 SHA256 1275a503d8a7a4aebf37213d6606bdc3fa72ed81ea44adf54849253033911d9a +MD5 c8c009961543b8122921f92362d7529a dark-oberon-1.0.2_rc1.ebuild 1077 +RMD160 ad12fc0304cc32fef562cc49cc55f6affb694e4d dark-oberon-1.0.2_rc1.ebuild 1077 +SHA256 1275a503d8a7a4aebf37213d6606bdc3fa72ed81ea44adf54849253033911d9a dark-oberon-1.0.2_rc1.ebuild 1077 +MISC ChangeLog 486 RMD160 83ee4d85939e2011a082ecb59a446c14c9e7cafa SHA1 4a367ec8537dc4c3b7b0785881ca1a757d8a833c SHA256 543298ff262534ca2f508a3399d71e4f3a83b91e53c6590854786fd5f54ef34b +MD5 db994662b2d2edcebfb46f5450692244 ChangeLog 486 +RMD160 83ee4d85939e2011a082ecb59a446c14c9e7cafa ChangeLog 486 +SHA256 543298ff262534ca2f508a3399d71e4f3a83b91e53c6590854786fd5f54ef34b ChangeLog 486 +MISC metadata.xml 399 RMD160 29dd17115e53323d0d80c445c4cfa7b0b0285d56 SHA1 6a496aa231f4d91f0ecc18fe256b56198dcdc120 SHA256 036e21f06131ada040bf03addaed5b6cd9e9bcea6b5ec06291c23d19db3953ed +MD5 3c87995d8932940266a6ab4c6aca8390 metadata.xml 399 +RMD160 29dd17115e53323d0d80c445c4cfa7b0b0285d56 metadata.xml 399 +SHA256 036e21f06131ada040bf03addaed5b6cd9e9bcea6b5ec06291c23d19db3953ed metadata.xml 399 +MD5 0621bbee28e3ec9623b0896f1c1ee885 files/digest-dark-oberon-1.0.2_rc1 271 +RMD160 7e05d237e833dd0c6f89ea8580fbf8416e4298c9 files/digest-dark-oberon-1.0.2_rc1 271 +SHA256 9dc65a24039de3d069019382059dec302b099caf0431b5ce621dddbb7c111ff3 files/digest-dark-oberon-1.0.2_rc1 271 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFrPuMbfN2jvlVAhwRAr3UAJ4tNtqyUWmK7mIk3z1WocRwrwYj3ACdGxNU +bEWiZuTXMw+T3a5iOh+B4A4= +=P59P +-----END PGP SIGNATURE----- diff --git a/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild b/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild new file mode 100644 index 000000000000..4a64e38b86f6 --- /dev/null +++ b/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild,v 1.1 2007/01/16 16:21:18 tupone Exp $ + +inherit eutils games + +MY_PV=${PV/_rc/-RC} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="a Warcraft like RTS game" +HOMEPAGE="http://dark-oberon.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="fmod" + +DEPEND="virtual/opengl + virtual/glu + media-libs/glfw + fmod? ( media-libs/fmod )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}/${P}"-gentoo.patch +} + +src_compile() { + cd src + if use fmod; then + emake SOUND=1 ../${PN} || die "emake failed" + else + emake ../${PN} || die "emake failed" + fi +} + +src_install() { + dogamesbin dark-oberon || die "dogamesbin failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r dat maps races schemes || die "doins failed" + dodoc README docs/* || die "dodoc failed" + + prepgamesdirs +} diff --git a/games-strategy/dark-oberon/files/dark-oberon-1.0.2_rc1-gcc41.patch b/games-strategy/dark-oberon/files/dark-oberon-1.0.2_rc1-gcc41.patch new file mode 100644 index 000000000000..a579debe71f4 --- /dev/null +++ b/games-strategy/dark-oberon/files/dark-oberon-1.0.2_rc1-gcc41.patch @@ -0,0 +1,111 @@ +--- src/donet.h.old 2007-01-16 13:53:05.000000000 +0100 ++++ src/donet.h 2007-01-16 13:53:20.000000000 +0100 +@@ -489,7 +489,7 @@ + /** Exception throwed when there was an error with resolving hostname. */ + class ResolveException {}; + +- TNET_RESOLVER::TNET_RESOLVER (); ++ TNET_RESOLVER (); + + static std::string GetHostName (); + +--- src/dofight.h.old 2007-01-16 13:53:31.000000000 +0100 ++++ src/dofight.h 2007-01-16 13:53:43.000000000 +0100 +@@ -230,7 +230,7 @@ + void SetProtection(const float new_value) + {if (new_value > 1.0f) protection = 1.0f; else if (new_value < 0) protection = 0; else protection = new_value;}; + +- TDEFENSE::TDEFENSE() ++ TDEFENSE() + { armour = 0; protection = 0; } + + private: +--- src/doraces.h.old 2007-01-16 13:53:50.000000000 +0100 ++++ src/doraces.h 2007-01-16 13:54:02.000000000 +0100 +@@ -755,7 +755,7 @@ + //! buildable[DAT_SEGMENTS_COUNT]; +--- src/dodraw.h.old 2007-01-16 13:54:12.000000000 +0100 ++++ src/dodraw.h 2007-01-16 13:54:25.000000000 +0100 +@@ -140,7 +140,7 @@ + void SetProjection(TPROJECTION_TYPE projection); + void Update(); + +- TPROJECTION::TPROJECTION() { SetProjection(PRO_MENU); }; ++ TPROJECTION() { SetProjection(PRO_MENU); }; + }; + + +--- src/dounits.h.old 2007-01-16 13:54:41.000000000 +0100 ++++ src/dounits.h 2007-01-16 13:55:05.000000000 +0100 +@@ -1094,7 +1094,7 @@ + + TSOURCE_UNIT * FindNewSource(TPOSITION_3D position); + //bool FindNewSource(TPOSITION_3D position); +- TSOURCE_UNIT * TWORKER_UNIT::IsSourceOnPosition(int pos_x, int pos_y); ++ TSOURCE_UNIT * IsSourceOnPosition(int pos_x, int pos_y); + + //! Constructor. + TWORKER_UNIT(int uplayer, int ux, int uy, int uz, int udirection, TFORCE_ITEM *mi, int new_unit_id, bool global_unit) +--- src/dowalk.h.old 2007-01-16 13:55:13.000000000 +0100 ++++ src/dowalk.h 2007-01-16 13:55:39.000000000 +0100 +@@ -270,7 +270,7 @@ + bool TestLastPathPosition(void); //!< Tests if a_stem is last step. + TPOSITION_3D GetGoalPosition(); //! + + +games + +Dark Oberon is an open source real-time strategy game similar to Warcraft II +released under GPL. It has got unique graphics - textures created from shots of +real models made out of plasticine! + + +