diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-sports/ultimatestunts | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-sports/ultimatestunts')
5 files changed, 98 insertions, 0 deletions
diff --git a/games-sports/ultimatestunts/Manifest b/games-sports/ultimatestunts/Manifest new file mode 100644 index 000000000000..4a40109b6885 --- /dev/null +++ b/games-sports/ultimatestunts/Manifest @@ -0,0 +1 @@ +DIST ultimatestunts-srcdata-0771.tar.gz 47449346 SHA256 fcc06e4a2ff2c5c1bd937670acdb079140f3ce0efdf00578eb6559a20ebb26d3 SHA512 c532d1434570775da8e0b8156659f96dcfbdf82890f07aebbe398bdcf2039a11c832ead8106c8522af1a4a847f685727dc6f7739443a99858621995452ce4741 WHIRLPOOL d4f0d7d7b5c138a949de4aded91a37c371362394d6022546c1e596c52c040bde02d8e9dfa3aafb9ff9b6af1d8a29533100a76ae82f52e8a7113cfd8358897392 diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch new file mode 100644 index 000000000000..0ce375c1a86c --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-gcc-4.7.patch @@ -0,0 +1,16 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sat Jul 14 20:55:35 UTC 2012 +Subject: fix compilation on gcc-4.7 + +https://bugs.gentoo.org/show_bug.cgi?id=426612 + +--- simulation/metaserver.cpp ++++ simulation/metaserver.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/ + #include <cstdio> + #include <cstdlib> ++#include <unistd.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch new file mode 100644 index 000000000000..c9fd879b1887 --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.7.7-paths.patch @@ -0,0 +1,19 @@ +--- ultimatestunts-srcdata-0771.orig/data/Makefile.in ++++ ultimatestunts-srcdata-0771/data/Makefile.in +@@ -358,11 +358,11 @@ + + + install: +- $(mkinstalldirs) ${usdatadir} +- cp -r cars environment lang misc music textures textures.dat tiles tracks ${usdatadir} +- chmod 644 ${usdatadir}/*.* +- chmod 644 ${usdatadir}/*/*.* +- chmod 644 ${usdatadir}/*/*/*.* ++ $(mkinstalldirs) $(DESTDIR)${usdatadir} ++ cp -r cars environment lang misc music textures textures.dat tiles tracks $(DESTDIR)${usdatadir} ++ chmod 644 $(DESTDIR)${usdatadir}/*.* ++ chmod 644 $(DESTDIR)${usdatadir}/*/*.* ++ chmod 644 $(DESTDIR)${usdatadir}/*/*/*.* + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/games-sports/ultimatestunts/metadata.xml b/games-sports/ultimatestunts/metadata.xml new file mode 100644 index 000000000000..247ce7f667a8 --- /dev/null +++ b/games-sports/ultimatestunts/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">ultimatestunts</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild new file mode 100644 index 000000000000..f7fc3a13c46e --- /dev/null +++ b/games-sports/ultimatestunts/ultimatestunts-0.7.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic versionator games + +MY_P=${PN}-srcdata-$(replace_all_version_separators)1 +DESCRIPTION="Remake of the famous Stunts game" +HOMEPAGE="http://www.ultimatestunts.nl/" +SRC_URI="mirror://sourceforge/ultimatestunts/${MY_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl[joystick,opengl,video] + media-libs/sdl-image + >=media-libs/openal-1 + media-libs/libvorbis + media-libs/freealut + virtual/opengl + virtual/glu + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + esvn_clean + epatch "${FILESDIR}"/${P}-paths.patch \ + "${FILESDIR}"/${P}-gcc-4.7.patch + append-cppflags $(sdl-config --cflags) +} + +src_configure() { + egamesconf \ + --with-openal \ + $(use_enable nls) +} + +src_compile() { + emake -C trackedit libtrackedit.a + emake +} + +src_install() { + default + newicon data/cars/diablo/steer.png ${PN}.png + make_desktop_entry ustunts "Ultimate Stunts" + prepgamesdirs +} |