diff options
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/simutrans/Manifest | 3 | ||||
-rw-r--r-- | games-simulation/simutrans/files/simutrans-0.120.2.2-Makefile.patch | 89 | ||||
-rw-r--r-- | games-simulation/simutrans/simutrans-0.120.2.2.ebuild | 71 |
3 files changed, 0 insertions, 163 deletions
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest index 404b39b85fea..ee3db6e423f1 100644 --- a/games-simulation/simutrans/Manifest +++ b/games-simulation/simutrans/Manifest @@ -1,6 +1,3 @@ -DIST language_pack-Base+texts.zip 1097263 BLAKE2B 08678f36a2425b84bf5f440a546af7ca6507ee17bdcfd3096335c20ce60c23a5375eb133f597806bed28db2d9ed067669e83a4df47443be0cb48bf151ba91ef2 SHA512 015caafaeace03bd5475e66c93bb433d9b07b600c3fcf125a4bda9b2856ba41dc43b923e032920df4a060087ead7180df59092f23ab6dcf12579b580827b1248 -DIST simupak64-120-2.zip 4453079 BLAKE2B 910f7937d5eabe8c97f9b9fb6b1d0a63ffe5c7a897a83d5649581f629c1e6d000442399f3e181c0a6e2b08a6f9948354df1848b84df6c2d37bd65d4c303d1626 SHA512 c7f819142b66c093c8631fcfe8e70c3be667680d745a66eab65e06979f849592d2c09ed18eb33ca2e359b2830f57874ae23d989ab5aa901eece69de83180f357 -DIST simutrans-src-120-2-2.zip 3900947 BLAKE2B 69e9f78883d1b611bc76bbff1dc46ab1a645580ec0114f342aeb5e243c643c0fa4d3684e8102a0196f95320b4f93a0a50a93bb61802e81236f286a2989ac646f SHA512 db9797be132bb1936d8c3192e536523d1249d20a513f3758037097ef46c2bab40d4be8adb68cb21eda2b4820369e89bd0a6e2abc4fe2bbcefe40bb414a3d1ab2 DIST simutrans-src-122-0.zip 4534293 BLAKE2B c4117baf82530adced1fbb60e099176b7b63ade07e10f741e19e41aedd4b65f5d7b6ab60145f3bce7ff88def9836eac88323b14aa74f2ce5f1c76eeaa6beb713 SHA512 7a044ceda9359847353c1dcd23c380d1ddcca901fd674a25b66d7bd0ede7f974525c5fc3b37781977e9946626f30b538c483166983ab8b7be9e73903dc9be0bd DIST simutrans_PAK128.german_2.0_for_ST_122.0.zip 186572954 BLAKE2B 1f21655660f947767657f79fa45f66cd434888c37596e17dbd8400ce684251c33617dc78096c34b23bad3f241cc4641029d0f12b5f09d199013582c89fa02ab3 SHA512 9e6250b333e6b31e0ad23f2629409c2b4914e5fb9cb0304baa1e70f0c268d5eca7db27d77b51f18fff57569df56eecb82c8ec9b48c3a3efacf7d47501546347d DIST simutrans_coalwagonfix.rar 10769 BLAKE2B 4ebb14c5585fcb09b2c9e70451a0a4f1133d1bf7a184c898463c4393026dcbaf10954430d83e64cd7430ec3e3708e0d51f04b805ac0c32656c138b001e617079 SHA512 503c795b4fdc168cc925a3b5ff385880dd28c8e3214a7c5aeb80e937378cf19b1f2408d19f2ab6ef066f47d6f6ab0955e6d5ec59981d1e76fbe3cd661b8bd22e diff --git a/games-simulation/simutrans/files/simutrans-0.120.2.2-Makefile.patch b/games-simulation/simutrans/files/simutrans-0.120.2.2-Makefile.patch deleted file mode 100644 index f9fb48ab682f..000000000000 --- a/games-simulation/simutrans/files/simutrans-0.120.2.2-Makefile.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- a/Makefile 2017-03-29 12:04:15.000000000 +0300 -+++ b/Makefile 2017-06-08 01:41:32.605031258 +0300 -@@ -87,8 +87,6 @@ - CFLAGS += -minline-all-stringops
- endif
- endif
--else
-- CFLAGS += -O
- endif
-
- ifdef DEBUG
-@@ -110,6 +108,7 @@ - endif
- else
- CFLAGS += -DNDEBUG
-+ CXXFLAGS += -DNDEBUG
- endif
-
- ifdef MSG_LEVEL
-@@ -127,6 +126,7 @@ - ifneq ($(MULTI_THREAD),)
- ifeq ($(shell expr $(MULTI_THREAD) \>= 1), 1)
- CFLAGS += -DMULTI_THREAD
-+ CXXFLAGS += -DMULTI_THREAD
- ifneq ($(OSTYPE),haiku)
- LDFLAGS += -lpthread
- endif
-@@ -142,11 +142,13 @@ - endif
- ifneq ($(REV),)
- CFLAGS += -DREVISION="$(REV)"
-+ CXXFLAGS += -DREVISION="$(REV)"
- endif
- endif
- endif
-
- CFLAGS += -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align $(FLAGS)
-+CXXFLAGS += -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align $(FLAGS)
- CCFLAGS += -ansi -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-
-
-@@ -514,6 +516,7 @@ - endif
- endif
- CFLAGS += $(SDL_CFLAGS)
-+ CXXFLAGS += $(SDL_CFLAGS)
- LIBS += $(SDL_LDFLAGS)
- endif
-
-@@ -553,6 +556,7 @@ - endif
- endif
- CFLAGS += $(SDL_CFLAGS)
-+ CXXFLAGS += $(SDL_CFLAGS)
- LIBS += $(SDL_LDFLAGS)
- endif
-
-@@ -568,6 +572,7 @@ - SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs)
- endif
- CFLAGS += $(SDL_CFLAGS)
-+ CXXFLAGS += $(SDL_CFLAGS)
- LIBS += $(SDL_LDFLAGS) -lSDL_mixer
- endif
-
-@@ -594,6 +599,7 @@ - SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs)
- endif
- CFLAGS += $(SDL_CFLAGS)
-+ CXXFLAGS += $(SDL_CFLAGS)
- LIBS += $(SDL_LDFLAGS) -lglew32
- ifeq ($(OSTYPE),mingw)
- LIBS += -lopengl32
-@@ -609,6 +615,7 @@ - endif
-
- CFLAGS += -DCOLOUR_DEPTH=$(COLOUR_DEPTH)
-+CXXFLAGS += -DCOLOUR_DEPTH=$(COLOUR_DEPTH)
-
- ifneq ($(findstring $(OSTYPE), cygwin mingw),)
- SOURCES += simres.rc
-@@ -616,7 +623,6 @@ - endif
-
- CCFLAGS += $(CFLAGS)
--CXXFLAGS += $(CFLAGS)
-
- BUILDDIR ?= build/$(CFG)
- PROGDIR ?= $(BUILDDIR)
diff --git a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild deleted file mode 100644 index f175a36b9e03..000000000000 --- a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic eutils - -MY_PV=${PV/0./} -MY_PV=${MY_PV//./-} -SIMUPAK="simupak64-${MY_PV%-[0-9]*}.zip" - -DESCRIPTION="A free Transport Tycoon clone" -HOMEPAGE="http://www.simutrans.com/" -SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip - http://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip - mirror://sourceforge/simutrans/${SIMUPAK}" - -LICENSE="Artistic" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND=" - sys-libs/zlib - app-arch/bzip2 - media-libs/sdl-mixer - media-libs/libpng:0 - media-libs/libsdl[sound,video]" - -DEPEND=" - ${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} - -PATCHES=( - "${FILESDIR}"/${P}-Makefile.patch -) - -src_unpack() { - unpack simutrans-src-${MY_PV}.zip - unpack "${SIMUPAK}" - - # Bundled text files are incomplete, bug #580948 - cd "${S}/simutrans/text" || die - unpack language_pack-Base+texts.zip -} - -src_prepare() { - default - - strip-flags # bug #293927 - printf "BACKEND=mixer_sdl\nCOLOUR_DEPTH=16\nOSTYPE=linux\nVERBOSE=1" \ - > config.default || die - - # make it look in the install location for the data - sed -i \ - -e "s:argv\[0\]:\"/usr/share/${PN}/\":" \ - simmain.cc || die - - rm simutrans/*.txt || die -} - -src_install() { - newbin build/default/sim ${PN} - insinto /usr/share/${PN} - doins -r simutrans/* - dodoc documentation/* - doicon simutrans.ico - make_desktop_entry simutrans Simutrans /usr/share/pixmaps/simutrans.ico -} |