diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-04 07:32:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-04 07:32:57 +0000 |
commit | e70e41225ace2c650c9e53df7c5505c4acab9b24 (patch) | |
tree | 9ae1e69326c4f22e72764cd679f3152a9c6a342e /dev-games/vamos | |
parent | alphabetical order!. (diff) | |
download | historical-e70e41225ace2c650c9e53df7c5505c4acab9b24.tar.gz historical-e70e41225ace2c650c9e53df7c5505c4acab9b24.tar.bz2 historical-e70e41225ace2c650c9e53df7c5505c4acab9b24.zip |
initial import
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-games/vamos')
-rw-r--r-- | dev-games/vamos/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/vamos/Manifest | 16 | ||||
-rw-r--r-- | dev-games/vamos/files/digest-vamos-0.5.4 | 1 | ||||
-rw-r--r-- | dev-games/vamos/files/vamos-0.5.4-datadir.patch | 42 | ||||
-rw-r--r-- | dev-games/vamos/files/vamos-0.5.4-gcc.patch | 21 | ||||
-rw-r--r-- | dev-games/vamos/metadata.xml | 5 | ||||
-rw-r--r-- | dev-games/vamos/vamos-0.5.4.ebuild | 35 |
7 files changed, 128 insertions, 0 deletions
diff --git a/dev-games/vamos/ChangeLog b/dev-games/vamos/ChangeLog new file mode 100644 index 000000000000..5f8609892d35 --- /dev/null +++ b/dev-games/vamos/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-games/vamos +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/ChangeLog,v 1.1 2005/07/04 07:32:57 vapier Exp $ + +*vamos-0.5.4 (04 Jul 2005) + + 04 Jul 2005; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/dev-games/vamos/Manifest b/dev-games/vamos/Manifest new file mode 100644 index 000000000000..89f8056d07e0 --- /dev/null +++ b/dev-games/vamos/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 17f6ab009acef0cf26fa4646d346ecf3 vamos-0.5.4.ebuild 853 +MD5 612a3c4dc3ac46fc2cb3a7de759274e9 ChangeLog 326 +MD5 2fc465e0159c32d283ffb99cf54a37f0 files/vamos-0.5.4-datadir.patch 1279 +MD5 b6bf35ad7f7bc9c70b05768fa183377a files/digest-vamos-0.5.4 64 +MD5 587f57a2fffe95c9f18fc85a67ab935b files/vamos-0.5.4-gcc.patch 375 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCyOZTgIKl8Uu19MoRAgADAJ993Zwfwbrpz783Y09P61ISt23F+wCdGzSM +rVimN6zq/Ne0ti98u3Bmvrs= +=d9QF +-----END PGP SIGNATURE----- diff --git a/dev-games/vamos/files/digest-vamos-0.5.4 b/dev-games/vamos/files/digest-vamos-0.5.4 new file mode 100644 index 000000000000..477ba4e133ce --- /dev/null +++ b/dev-games/vamos/files/digest-vamos-0.5.4 @@ -0,0 +1 @@ +MD5 c6247a0b70583d021b6dbec10609c67d vamos-0.5.4.tar.gz 1465833 diff --git a/dev-games/vamos/files/vamos-0.5.4-datadir.patch b/dev-games/vamos/files/vamos-0.5.4-datadir.patch new file mode 100644 index 000000000000..1acdf7b6d224 --- /dev/null +++ b/dev-games/vamos/files/vamos-0.5.4-datadir.patch @@ -0,0 +1,42 @@ +Don't hardcode the data paths, use the info from configure. + +--- vamos/vamos.cc ++++ vamos/vamos.cc +@@ -143,7 +143,7 @@ + if (check) + return path; + } +- path = "/usr/local/share/vamos/" + section + "/" + file + ".xml"; ++ path = DATADIR "/" + section + "/" + file + ".xml"; + { + std::ifstream check (path.c_str ()); + if (check) +@@ -202,7 +202,7 @@ + + // How I can I get this automatically set to the configured data + // directory? +- data_dir = "/usr/local/share/vamos/"; ++ data_dir = DATADIR "/"; + try + { + Texture_Image test_tex (data_dir + "textures/wall.png"); +@@ -210,7 +210,7 @@ + catch (Missing_Texture_File) + { + std::cerr << "Couldn't find the data direcory ../data, or " +- << "/usr/local/share/vamos/." ++ << DATADIR "/." + << std::endl; + std::exit (EXIT_FAILURE); + } +--- vamos/Makefile.in ++++ vamos/Makefile.in +@@ -154,7 +154,7 @@ + `pkg-config --cflags sigc++-1.2` + + +-AM_CXXFLAGS = -Wall -pedantic -O1 -g -gstabs+ ++AM_CXXFLAGS = -Wall -pedantic -O1 -g -gstabs+ -DDATADIR=\"$(pkgdatadir)\" + subdir = vamos + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs diff --git a/dev-games/vamos/files/vamos-0.5.4-gcc.patch b/dev-games/vamos/files/vamos-0.5.4-gcc.patch new file mode 100644 index 000000000000..dc9c97ae5c46 --- /dev/null +++ b/dev-games/vamos/files/vamos-0.5.4-gcc.patch @@ -0,0 +1,21 @@ +Compile with newer gcc versions + +--- track/Strip_Track.cc ++++ track/Strip_Track.cc +@@ -181,14 +181,14 @@ + fixed (false), + vertical_field_angle (10.0), + range (range_in) +-{}; ++{} + + Camera::Camera () + : segment_index (0), + fixed (false), + vertical_field_angle (10.0), + range (0.0) +-{}; ++{} + + //* Class Strip_Track + Strip_Track::Strip_Track () : diff --git a/dev-games/vamos/metadata.xml b/dev-games/vamos/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/dev-games/vamos/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/dev-games/vamos/vamos-0.5.4.ebuild b/dev-games/vamos/vamos-0.5.4.ebuild new file mode 100644 index 000000000000..7e840501b075 --- /dev/null +++ b/dev-games/vamos/vamos-0.5.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/vamos-0.5.4.ebuild,v 1.1 2005/07/04 07:32:57 vapier Exp $ + +inherit eutils + +DESCRIPTION="an automotive simulation framework" +HOMEPAGE="http://vamos.sourceforge.net/" +SRC_URI="mirror://sourceforge/vamos/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/plib + =dev-libs/libsigc++-1.2* + media-libs/libpng + virtual/x11 + virtual/opengl + virtual/glu" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc.patch + epatch "${FILESDIR}"/${P}-datadir.patch +} + +src_install() { + make install DESTDIR="${D}" || die "make install" + dobin caelum/.libs/caelum || die "caelum" + newdoc caelum/README README.caelum + dodoc AUTHORS ChangeLog NEWS README TODO +} |