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 | af9c14f1d16c5bfbaf2f86c874d9563398a5429a (patch) | |
tree | e55594738ca81d3befbd78210f9eac5fc0551567 /dev-games | |
parent | Add category metadata. (diff) | |
download | gentoo-2-af9c14f1d16c5bfbaf2f86c874d9563398a5429a.tar.gz gentoo-2-af9c14f1d16c5bfbaf2f86c874d9563398a5429a.tar.bz2 gentoo-2-af9c14f1d16c5bfbaf2f86c874d9563398a5429a.zip |
initial import
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/vamos/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/vamos/Manifest | 2 | ||||
-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, 114 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..82dfcddf3a47 --- /dev/null +++ b/dev-games/vamos/Manifest @@ -0,0 +1,2 @@ +MD5 0f542e152aceec049c88c66c462ce275 vamos-0.5.4.ebuild 400 +MD5 b6bf35ad7f7bc9c70b05768fa183377a files/digest-vamos-0.5.4 64 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 +} |