From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-simulation/lincity-ng/Manifest | 1 + .../lincity-ng/files/lincity-ng-2.0-build.patch | 35 ++++++++++++++++ games-simulation/lincity-ng/lincity-ng-2.0.ebuild | 48 ++++++++++++++++++++++ games-simulation/lincity-ng/metadata.xml | 8 ++++ 4 files changed, 92 insertions(+) create mode 100644 games-simulation/lincity-ng/Manifest create mode 100644 games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch create mode 100644 games-simulation/lincity-ng/lincity-ng-2.0.ebuild create mode 100644 games-simulation/lincity-ng/metadata.xml (limited to 'games-simulation/lincity-ng') diff --git a/games-simulation/lincity-ng/Manifest b/games-simulation/lincity-ng/Manifest new file mode 100644 index 000000000000..215a313311ea --- /dev/null +++ b/games-simulation/lincity-ng/Manifest @@ -0,0 +1 @@ +DIST lincity-ng-2.0.tar.bz2 39475719 SHA256 a6b206a5dfc7a817669f4fc7cbc012bd4a7073c42f918ceb2f1f484cc0b06606 SHA512 d85cd398145d1591f8640458c076f2a0b55713c39ede28b67d99adc7b76d38f09b58cd2ec84d9acac11bbaa794f6d97f6200f54efcdd4286315e6b3133284c55 WHIRLPOOL d218d0475198c9852abf18caab55df57c2dc0026c74db3215c66c4915758c9f4e608906ccdeb8ff9b83eace67ad4cdcb3e5d5d7dd5d1a7aa4c18131e03646d91 diff --git a/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch b/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch new file mode 100644 index 000000000000..ad2f2eeaff8d --- /dev/null +++ b/games-simulation/lincity-ng/files/lincity-ng-2.0-build.patch @@ -0,0 +1,35 @@ +From: Julian Ospald +Date: Mon Jul 30 07:06:54 UTC 2012 +Subject: build system + +arguments to AR would be overwritten if we export AR + +--- lincity-ng-2.0.orig/lincity-ng.desktop ++++ lincity-ng-2.0/lincity-ng.desktop +@@ -1,12 +1,11 @@ + [Desktop Entry] + Type=Application + Version=1.0 +-Encoding=UTF-8 + Name=Lincity-NG + GenericName=City Simulation Game + GenericName[de]=Stadtsimulationsspiel + Comment=Plan and Build a city and take care of transport, economics, electricityand others. +-Icon=lincity-ng.png ++Icon=lincity-ng + Exec=lincity-ng + Terminal=false + StartupNotify=false +--- lincity-ng-2.0.orig/mk/jam/unix.jam ++++ lincity-ng-2.0/mk/jam/unix.jam +@@ -45,4 +45,10 @@ + $(LINK) -o $(<) $(>) $(EXTRAOBJECTS) $(NEEDLIBS) $(LIBS) + } + ++# jam Archive action seems to include the arguments which will break our AR export ++actions Archive ++{ ++ $(AR) ru $(<) $(>) ++} ++ + diff --git a/games-simulation/lincity-ng/lincity-ng-2.0.ebuild b/games-simulation/lincity-ng/lincity-ng-2.0.ebuild new file mode 100644 index 000000000000..ec04ef607f07 --- /dev/null +++ b/games-simulation/lincity-ng/lincity-ng-2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils multiprocessing games + +DESCRIPTION="city/country simulation game for X and opengl" +HOMEPAGE="http://sourceforge.net/projects/lincity-ng.berlios/" +SRC_URI="mirror://sourceforge/lincity-ng.berlios/${P}.tar.bz2" + +LICENSE="GPL-2 BitstreamVera" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" +RESTRICT=mirror + +RDEPEND="virtual/opengl + sys-libs/zlib + dev-libs/libxml2 + media-libs/libsdl[sound,joystick,opengl,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[png] + media-libs/sdl-ttf + media-libs/sdl-gfx + dev-games/physfs" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/ftjam" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + jam -q -dx -j $(makeopts_jobs) || die "jam failed" +} + +src_install() { + jam -sDESTDIR="${D}" \ + -sappdocdir="/usr/share/doc/${PF}" \ + -sapplicationsdir="/usr/share/applications" \ + -spixmapsdir="/usr/share/pixmaps" \ + install \ + || die "jam install failed" + rm -f "${D}"/usr/share/doc/${PF}/COPYING* + prepgamesdirs +} diff --git a/games-simulation/lincity-ng/metadata.xml b/games-simulation/lincity-ng/metadata.xml new file mode 100644 index 000000000000..2389db40c6bc --- /dev/null +++ b/games-simulation/lincity-ng/metadata.xml @@ -0,0 +1,8 @@ + + + + games + + lincity-ng.berlios + + -- cgit v1.2.3-65-gdbad