summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-05-28 23:20:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-05-28 23:20:05 +0000
commitfc0558a7d75be24061760c4ea00074af7482c9bf (patch)
tree3faac6f3f4323b49a1d88a9569b9cefac6f3d8e1 /games-simulation/simutrans
parentRemove imaging-2.0.0, add blocker for dev-python/pillow. (diff)
downloadgentoo-2-fc0558a7d75be24061760c4ea00074af7482c9bf.tar.gz
gentoo-2-fc0558a7d75be24061760c4ea00074af7482c9bf.tar.bz2
gentoo-2-fc0558a7d75be24061760c4ea00074af7482c9bf.zip
version bump
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-simulation/simutrans')
-rw-r--r--games-simulation/simutrans/ChangeLog11
-rw-r--r--games-simulation/simutrans/files/simutrans-0.112.3-Makefile.patch (renamed from games-simulation/simutrans/files/simutrans-0.112.2-Makefile.patch)38
-rw-r--r--games-simulation/simutrans/files/simutrans-0.112.3-overflow.patch (renamed from games-simulation/simutrans/files/simutrans-0.112.2-overflow.patch)0
-rw-r--r--games-simulation/simutrans/simutrans-0.112.3.ebuild (renamed from games-simulation/simutrans/simutrans-0.112.2.ebuild)10
4 files changed, 32 insertions, 27 deletions
diff --git a/games-simulation/simutrans/ChangeLog b/games-simulation/simutrans/ChangeLog
index a2288b20a391..33dbe64c2da3 100644
--- a/games-simulation/simutrans/ChangeLog
+++ b/games-simulation/simutrans/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for games-simulation/simutrans
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.31 2013/03/21 01:44:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/ChangeLog,v 1.32 2013/05/28 23:20:04 mr_bones_ Exp $
+
+*simutrans-0.112.3 (28 May 2013)
+
+ 28 May 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/simutrans-0.112.3-Makefile.patch,
+ +files/simutrans-0.112.3-overflow.patch, +simutrans-0.112.3.ebuild,
+ -files/simutrans-0.112.2-Makefile.patch,
+ -files/simutrans-0.112.2-overflow.patch, -simutrans-0.112.2.ebuild:
+ version bump
*simutrans-0.112.2 (21 Mar 2013)
diff --git a/games-simulation/simutrans/files/simutrans-0.112.2-Makefile.patch b/games-simulation/simutrans/files/simutrans-0.112.3-Makefile.patch
index 26a563a58454..3becef9ae9eb 100644
--- a/games-simulation/simutrans/files/simutrans-0.112.2-Makefile.patch
+++ b/games-simulation/simutrans/files/simutrans-0.112.3-Makefile.patch
@@ -1,14 +1,15 @@
---- Makefile.orig 2013-01-22 16:53:11.574351933 -0500
-+++ Makefile 2013-01-22 16:57:38.801999641 -0500
-@@ -90,7 +90,6 @@
+--- Makefile.orig 2013-05-28 17:58:03.379228527 -0400
++++ Makefile 2013-05-28 17:58:24.768491369 -0400
+@@ -88,8 +88,6 @@
+ endif
endif
endif
- else
+-else
- CFLAGS += -O
endif
ifdef DEBUG
-@@ -109,6 +108,7 @@
+@@ -108,6 +106,7 @@
endif
else
CFLAGS += -DNDEBUG
@@ -16,7 +17,7 @@
endif
ifneq ($(PROFILE),)
-@@ -121,6 +121,7 @@
+@@ -120,6 +119,7 @@
ifneq ($(MULTI_THREAD),)
CFLAGS += -DMULTI_THREAD=$(MULTI_THREAD)
@@ -24,7 +25,7 @@
ifneq ($(MULTI_THREAD),1)
ifeq ($(OSTYPE),mingw)
#use lpthreadGC2d for debug alternatively
-@@ -135,10 +136,12 @@
+@@ -134,10 +134,12 @@
REV = $(shell svnversion)
ifneq ($(REV),)
CFLAGS += -DREVISION="$(REV)"
@@ -37,7 +38,7 @@
CCFLAGS += -Wstrict-prototypes
-@@ -450,6 +453,7 @@
+@@ -456,6 +458,7 @@
ifeq ($(BACKEND),sdl)
SOURCES += simsys_s.cc
CFLAGS += -DUSE_16BIT_DIB
@@ -45,7 +46,7 @@
ifeq ($(OSTYPE),mac)
# Core Audio (Quicktime) base sound system routines
SOURCES += sound/core-audio_sound.mm
-@@ -482,6 +486,7 @@
+@@ -488,6 +491,7 @@
endif
endif
CFLAGS += $(SDL_CFLAGS)
@@ -53,7 +54,7 @@
LIBS += $(SDL_LDFLAGS)
endif
-@@ -491,6 +496,7 @@
+@@ -497,6 +501,7 @@
SOURCES += sound/sdl_mixer_sound.cc
SOURCES += music/sdl_midi.cc
CFLAGS += -DUSE_16BIT_DIB
@@ -61,7 +62,7 @@
ifeq ($(SDL_CONFIG),)
SDL_CFLAGS := -I$(MINGDIR)/include/SDL -Dmain=SDL_main
SDL_LDFLAGS := -lmingw32 -lSDLmain -lSDL
-@@ -505,12 +511,14 @@
+@@ -511,6 +516,7 @@
endif
endif
CFLAGS += $(SDL_CFLAGS)
@@ -69,22 +70,15 @@
LIBS += $(SDL_LDFLAGS) -lSDL_mixer
endif
- ifeq ($(BACKEND),opengl)
- SOURCES += simsys_opengl.cc
- CFLAGS += -DUSE_16BIT_DIB
-+ CXXFLAGS += -DUSE_16BIT_DIB
- ifeq ($(OSTYPE),mac)
- # Core Audio (Quicktime) base sound system routines
- SOURCES += sound/core-audio_sound.mm
-@@ -538,6 +546,7 @@
+@@ -544,6 +550,7 @@
endif
endif
CFLAGS += $(SDL_CFLAGS)
+ CXXFLAGS += $(SDL_CFLAGS)
- LIBS += $(SDL_LDFLAGS)
+ LIBS += $(SDL_LDFLAGS) -lglew32
ifeq ($(OSTYPE),mingw)
LIBS += -lopengl32
-@@ -553,6 +562,7 @@
+@@ -559,6 +566,7 @@
endif
CFLAGS += -DCOLOUR_DEPTH=$(COLOUR_DEPTH)
@@ -92,7 +86,7 @@
ifneq ($(findstring $(OSTYPE), cygwin mingw),)
SOURCES += simres.rc
-@@ -560,7 +570,6 @@
+@@ -566,7 +574,6 @@
endif
CCFLAGS += $(CFLAGS)
diff --git a/games-simulation/simutrans/files/simutrans-0.112.2-overflow.patch b/games-simulation/simutrans/files/simutrans-0.112.3-overflow.patch
index 6597ca071f92..6597ca071f92 100644
--- a/games-simulation/simutrans/files/simutrans-0.112.2-overflow.patch
+++ b/games-simulation/simutrans/files/simutrans-0.112.3-overflow.patch
diff --git a/games-simulation/simutrans/simutrans-0.112.2.ebuild b/games-simulation/simutrans/simutrans-0.112.3.ebuild
index 7ace1e68dc98..2dc6050ac56e 100644
--- a/games-simulation/simutrans/simutrans-0.112.2.ebuild
+++ b/games-simulation/simutrans/simutrans-0.112.3.ebuild
@@ -1,18 +1,17 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.112.2.ebuild,v 1.1 2013/03/21 01:44:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.112.3.ebuild,v 1.1 2013/05/28 23:20:04 mr_bones_ Exp $
EAPI=5
inherit flag-o-matic eutils games
MY_PV=${PV/0./}
MY_PV=${MY_PV//./-}
-MY_FOOD_PV=${MY_PV/%-2/-1}
DESCRIPTION="A free Transport Tycoon clone"
HOMEPAGE="http://www.simutrans.com/"
SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
- mirror://sourceforge/simutrans/simupak64-${MY_PV}.zip
- mirror://sourceforge/simutrans/simupak64-addon-food-${MY_FOOD_PV}.zip"
+ mirror://sourceforge/simutrans/simulinux-${MY_PV}.zip
+ mirror://sourceforge/simutrans/simupak64-${MY_PV}.zip"
LICENSE="Artistic"
SLOT="0"
@@ -47,10 +46,13 @@ VERBOSE=1" > config.default || die
epatch \
"${FILESDIR}"/${P}-Makefile.patch \
"${FILESDIR}"/${P}-overflow.patch
+ rm -f simutrans/{simutrans,*.txt}
+ mv simutrans/get_pak.sh "${T}" || die
}
src_install() {
newgamesbin build/default/sim ${PN}
+ dogamesbin "${T}"/get_pak.sh
insinto "${GAMES_DATADIR}"/${PN}
doins -r simutrans/*
dodoc documentation/*