* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/
@ 2016-09-15 17:18 Austin English
0 siblings, 0 replies; 5+ messages in thread
From: Austin English @ 2016-09-15 17:18 UTC (permalink / raw
To: gentoo-commits
commit: d184c167e5985c496390425cf717e116b08d7523
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 17:16:33 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 17:18:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d184c167
games-simulation/simutrans: fix missing text files
Also remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/580948
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
games-simulation/simutrans/Manifest | 1 +
.../files/simutrans-0.120.1.3-Makefile.patch | 4 +-
.../simutrans/simutrans-0.120.1.3-r1.ebuild | 69 ++++++++++++++++++++++
3 files changed, 72 insertions(+), 2 deletions(-)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index 5ddd2b6..345785e 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,3 +1,4 @@
+DIST language_pack-Base+texts.zip 1097263 SHA256 3d2e637eb6018ccb5da99614dae7fc6ae1bdb0d8db4b2beea85d7e36ea5edf7c SHA512 015caafaeace03bd5475e66c93bb433d9b07b600c3fcf125a4bda9b2856ba41dc43b923e032920df4a060087ead7180df59092f23ab6dcf12579b580827b1248 WHIRLPOOL 679efda1f4bfa0bf71b2f4aa955cee287ee6e9c10d6b3f9070cb799eae5c7acd3651e59f3d8d46688f56ee9781e102e485ab59b6a16a4ee556b18c95b2c35fb3
DIST simupak64-120-0-1.zip 4051769 SHA256 02a709dfa4b0c22e0b463ebcbd9684548356de1c61566cff9c127a79990dbb78 SHA512 21badd251b9018bef55531923e23cb1935c3831784fab028febd3879384330e843329499ab08a08e71238fb92bf7db36e18ecbbc4e719a942e427f58fc634afc WHIRLPOOL 5ae84653b5a138b5a987b7ca6512994f3ba8dff48fffbb94f6fe0bf4845d5537e93734f73174eb328f20b6c9986235ae6c461c55b5efde53a4b81620a3b1da83
DIST simupak64-120-1-2.zip 4308534 SHA256 125fa5c13a51bb0630ca651fddb8af06a823e8c4d4638bfa1bb2d89e92cc1d54 SHA512 ddc75ad1cafa23d9a7387dc38b14de7414ea7c8bb7caa2afde6d8cdf9c3f5251719966b2274c5bc4ecc9915ec764d517e24b79d5ef199904e3d9185214cba129 WHIRLPOOL 4f91de57be620849f2a278df5510ea390d737a4f063dc659ed2d5f488ce0e631b1c15d6282554574b89316b3b968e4b850db8764b24b714df1a3c5e642e34907
DIST simutrans-src-120-0-1.zip 3909005 SHA256 010a6e3765891e1821364e54f6bcdfb2911b627ffca3acae8350e06e53113683 SHA512 6f32b6f1c12f45125de8a12c4a034387a784e21fd8cdedcf7b1daefd9174d9a94825e8f68effa2ff1436cce2e2bc8cb5707161f3fa004185ae158400840dc450 WHIRLPOOL 36155184f5806a9cfab742f26e3fc78d5d7d928f99cddabbaf36c7c90d065dab02bb174c07d9633958f8b891b0db8cc5c94e45fd4f22d917b9a037c51a99b69a
diff --git a/games-simulation/simutrans/files/simutrans-0.120.1.3-Makefile.patch b/games-simulation/simutrans/files/simutrans-0.120.1.3-Makefile.patch
index d1ff41f..d3d9aae 100644
--- a/games-simulation/simutrans/files/simutrans-0.120.1.3-Makefile.patch
+++ b/games-simulation/simutrans/files/simutrans-0.120.1.3-Makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -81,8 +81,6 @@
ifeq ($(findstring $(OSTYPE), amiga haiku mac),)
CFLAGS += -minline-all-stringops
diff --git a/games-simulation/simutrans/simutrans-0.120.1.3-r1.ebuild b/games-simulation/simutrans/simutrans-0.120.1.3-r1.ebuild
new file mode 100644
index 00000000..6912a06
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-0.120.1.3-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit flag-o-matic eutils
+
+MY_PV=${PV/0./}
+MY_PV=${MY_PV//./-}
+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/simupak64-${MY_PV/3/2}.zip" #FIXME: rev bump when .3 is released
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-arch/bzip2
+ media-libs/libpng:0
+ media-libs/libsdl[sound,video]
+ media-libs/sdl-mixer
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+)
+
+src_unpack() {
+ unpack simutrans-src-${MY_PV}.zip
+ unpack simupak64-${MY_PV/3/2}.zip
+
+ # 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
+ echo "BACKEND=mixer_sdl
+COLOUR_DEPTH=16
+OSTYPE=linux
+VERBOSE=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 -f simutrans/{simutrans,*.txt}
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/
@ 2020-10-23 17:13 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-10-23 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 3cd3ac0da3b0b26ee001e014ccec1aa45d131ef6
Author: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Apr 11 20:56:14 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 17:07:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd3ac0d
games-simulation/simutrans: Version bump 0.122.0.
Also add a Desktop Entry and all the maintained paksets (scenario data) via
use-flags.
Closes: https://bugs.gentoo.org/668504
Closes: https://bugs.gentoo.org/636324
Closes: https://bugs.gentoo.org/664634
Closes: https://bugs.gentoo.org/724470
Closes: https://bugs.gentoo.org/739360
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-simulation/simutrans/Manifest | 8 ++
.../files/simutrans-0.122.0-Fix-Makefile.patch | 21 ++++
games-simulation/simutrans/files/simutrans.desktop | 9 ++
games-simulation/simutrans/metadata.xml | 14 ++-
.../simutrans/simutrans-0.122.0.ebuild | 106 +++++++++++++++++++++
5 files changed, 156 insertions(+), 2 deletions(-)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index f604b92dcbb..404b39b85fe 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,3 +1,11 @@
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
+DIST simutrans_language_pack-Base+texts-0.122.0.zip 1172877 BLAKE2B 6a1646d8bd1e74a54506cd32508b5dd9da3d2ce77c7920049fea6bd42c6b46b91e9b248860a352380a5f2bb1393f2bbc9b837dcb347c132c7132f6813a608212 SHA512 d87b4f65188f6efd7e277f6ae5796584e58a1302dae7246cd7b6e3c06d8cdc81c5eae647e12cdf7598230c588f66f5682d2be0e6628311343daf4bd46b441278
+DIST simutrans_pak128-2.8.1.zip 97430218 BLAKE2B 95b6788fd8e4f539b232e9de563227704f16c05951d8cd42ca3faf6b9f625d08108bda068417e9e04c14db8ee6fe860e9b8d958c703719223de770da36ee686b SHA512 c4635a446d9874fe1cf1a15a1ca8eaa50a0888c7679df540aa7509e30db6cb8f9519a27aad10dc481a7762c6c16bb5df64e18665652dcd777885adf0dae6736a
+DIST simutrans_pak128.Britain.1.18-120-3.zip 67251660 BLAKE2B 6dbebdf77985e2610f4283b1ae252a19cbfcc37cc1c6974e4132300f87c7d881bd87aba29bb01974d56d261ee6694fd81d0d4b09eb0a2854e38de6f278f91b53 SHA512 234a6c3dffa236ae98ba3372efb2e2b2808c0dcc0933ea5f339aa639e0705674435599e27228f0ee82f24af49ffbd7cb7c6c076ff6569a7ce622c6b8009c8472
+DIST simutrans_pak192.comic.0.5.zip 70896173 BLAKE2B 63557e08387802a788f8e77157674847d757a23f329aa452c9ea6c096f875d665bb2090df34886437a2d35519c83b38f03d06566bf052c1ffe3cad718c7c3dfe SHA512 f61ad804d63027e181bb99a92f48d23cf6a6f47047a1ba9e8f83383cc4e6d603c7fe260d0846613d43765d3fc933bf13ae063d8d8176f8aef41db8d6bf187773
+DIST simutrans_simupak64-122-0.zip 4537410 BLAKE2B 300d0248f4f3781578579f31056810c3f1261660b7d1eaa4ec21e735625c3b499548c560d1b1ee918fd7111ca4f872f77119cffc82014c95753520225226665b SHA512 de099d71392130e26a907f4cd30d5e714cc472cb91c606b3dc5e499653a277750cd971440351fd384c368b453704633ad4eda8ec3e6e16e9ea797080371aaa9d
diff --git a/games-simulation/simutrans/files/simutrans-0.122.0-Fix-Makefile.patch b/games-simulation/simutrans/files/simutrans-0.122.0-Fix-Makefile.patch
new file mode 100644
index 00000000000..5effe170758
--- /dev/null
+++ b/games-simulation/simutrans/files/simutrans-0.122.0-Fix-Makefile.patch
@@ -0,0 +1,21 @@
+--- a/Makefile 2020-10-15 08:32:29.000000000 +0200
++++ b/Makefile 2020-10-23 17:59:29.008159331 +0200
+@@ -17,8 +17,7 @@
+ SDL_CONFIG ?= sdl-config
+ SDL2_CONFIG ?= pkg-config sdl2
+ #SDL2_CONFIG ?= sdl2-config
+-FREETYPE_CONFIG ?= freetype-config
+-#FREETYPE_CONFIG ?= pkg-config freetype2
++FREETYPE_CONFIG ?= pkg-config freetype2
+
+ BACKENDS = allegro gdi sdl sdl2 mixer_sdl mixer_sdl2 posix
+ OSTYPES = amiga beos freebsd haiku linux mingw mac openbsd
+@@ -91,8 +90,6 @@
+ endif
+ endif
+ endif
+-else
+- CFLAGS += -O
+ endif
+
+ ifdef DEBUG
diff --git a/games-simulation/simutrans/files/simutrans.desktop b/games-simulation/simutrans/files/simutrans.desktop
new file mode 100644
index 00000000000..a6a556c3b78
--- /dev/null
+++ b/games-simulation/simutrans/files/simutrans.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Simutrans
+Encoding=UTF-8
+Comment=A free Transport Tycoon clone
+TryExec=simutrans
+Exec=simutrans
+Icon=simutrans
+Terminal=false
diff --git a/games-simulation/simutrans/metadata.xml b/games-simulation/simutrans/metadata.xml
index 9d88e43fb07..e411589b3ac 100644
--- a/games-simulation/simutrans/metadata.xml
+++ b/games-simulation/simutrans/metadata.xml
@@ -1,11 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@tastytea.de</email>
+ <name>Ronny (tastytea) Gutbrod</name>
+ </maintainer>
<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">simutrans</remote-id>
</upstream>
+ <use>
+ <flag name="pak128">Install more detailed scenario data</flag>
+ <flag name="pak128-britain">Install British scenario data</flag>
+ <flag name="pak128-german">Install German scenario data</flag>
+ <flag name="pak192-comic">Install comic-like scenario data</flag>
+ </use>
</pkgmetadata>
diff --git a/games-simulation/simutrans/simutrans-0.122.0.ebuild b/games-simulation/simutrans/simutrans-0.122.0.ebuild
new file mode 100644
index 00000000000..1d54030950e
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-0.122.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop flag-o-matic xdg
+
+MY_PV=${PV/0./}
+MY_PV=${MY_PV//./-}
+SIMUPAK_64="simupak64-${MY_PV%-[0-9]*}-0.zip"
+SIMUPAK_128_V="2.8.1"
+SIMUPAK_128_BRITAIN="pak128.Britain.1.18-120-3.zip"
+SIMUPAK_128_GERMAN="PAK128.german_2.0_for_ST_122.0.zip"
+SIMUPAK_192_COMIC="pak192.comic.0.5.zip"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
+ https://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip -> simutrans_language_pack-Base+texts-${PV}.zip
+ mirror://sourceforge/simutrans/${SIMUPAK_64} -> simutrans_${SIMUPAK_64}
+ pak128? ( https://download.sourceforge.net/simutrans/pak128/pak128%20for%20ST%20120.4.1%20%28${SIMUPAK_128_V}%2C%20priority%20signals%20%2B%20bugfix%29/pak128.zip -> simutrans_pak128-${SIMUPAK_128_V}.zip )
+ pak128-britain? ( mirror://sourceforge/simutrans/${SIMUPAK_128_BRITAIN} -> simutrans_${SIMUPAK_128_BRITAIN} )
+ pak128-german? ( mirror://sourceforge/simutrans/${SIMUPAK_128_GERMAN} -> simutrans_${SIMUPAK_128_GERMAN} )
+ pak192-comic? (
+ mirror://sourceforge/simutrans/${SIMUPAK_192_COMIC} -> simutrans_${SIMUPAK_192_COMIC}
+ https://www.dropbox.com/s/3wwyrajrr2oqzo6/coalwagons.rar?dl=1 -> simutrans_coalwagonfix.rar
+ )"
+S=${WORKDIR}
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="+pak128 +pak128-britain +pak128-german +pak192-comic truetype upnp zstd"
+
+RDEPEND="
+ app-arch/bzip2
+ app-arch/zstd
+ media-libs/libpng:0
+ media-libs/libsdl2[sound,video]
+ media-libs/sdl-mixer[midi]
+ sys-libs/zlib
+ truetype? ( media-libs/freetype )
+ upnp? ( net-libs/miniupnpc:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-arch/unrar
+ app-arch/unzip
+ virtual/imagemagick-tools[png]
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/simutrans-0.122.0-Fix-Makefile.patch" )
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ unpack "simutrans_${SIMUPAK_64}"
+ use pak128 && unpack "simutrans_pak128-${SIMUPAK_128_V}.zip"
+ use pak128-britain && unpack "simutrans_${SIMUPAK_128_BRITAIN}"
+ use pak128-german && unpack "simutrans_${SIMUPAK_128_GERMAN}"
+ if use pak192-comic; then
+ unpack "simutrans_${SIMUPAK_192_COMIC}"
+ cd simutrans/pak192.comic || die
+ unpack "simutrans_coalwagonfix.rar" # Fixes invisible wagons.
+ fi
+
+ # Bundled text files are incomplete, bug #580948
+ cd "${S}/simutrans/text" || die
+ unpack "simutrans_language_pack-Base+texts-${PV}.zip"
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ strip-flags # bug #293927
+
+ cat > config.default <<-EOF || die
+ BACKEND=mixer_sdl
+ OSTYPE=linux
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 0)
+ USE_FREETYPE=$(usex truetype 1 0)
+ USE_ZSTD=$(usex zstd 1 0)
+ VERBOSE=1
+ STATIC=0
+ EOF
+
+ # make it look in the install location for the data
+ sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
+}
+
+src_compile() {
+ default
+
+ # Convert icon to PNG for Desktop Entry.
+ convert simutrans.ico simutrans.png || die
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto /usr/share/${PN}
+ doins -r simutrans/*
+ doicon simutrans.png
+ domenu "${FILESDIR}/${PN}.desktop"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/
@ 2020-10-28 7:51 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2020-10-28 7:51 UTC (permalink / raw
To: gentoo-commits
commit: 35be718c95773ae65720d27e327061b29e933cbd
Author: Christopher Head <chead <AT> chead <DOT> ca>
AuthorDate: Mon Oct 26 17:11:06 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 28 07:51:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35be718c
games-simulation/simutrans: fix desktop file
Signed-off-by: Christopher Head <chead <AT> chead.ca>
Closes: https://github.com/gentoo/gentoo/pull/18041
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/files/simutrans.desktop | 1 +
.../simutrans/{simutrans-0.122.0.ebuild => simutrans-0.122.0-r1.ebuild} | 0
2 files changed, 1 insertion(+)
diff --git a/games-simulation/simutrans/files/simutrans.desktop b/games-simulation/simutrans/files/simutrans.desktop
index a6a556c3b78..01d1ec4022f 100644
--- a/games-simulation/simutrans/files/simutrans.desktop
+++ b/games-simulation/simutrans/files/simutrans.desktop
@@ -7,3 +7,4 @@ TryExec=simutrans
Exec=simutrans
Icon=simutrans
Terminal=false
+Categories=Game;Simulation
diff --git a/games-simulation/simutrans/simutrans-0.122.0.ebuild b/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
similarity index 100%
rename from games-simulation/simutrans/simutrans-0.122.0.ebuild
rename to games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/
@ 2024-06-08 7:10 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2024-06-08 7:10 UTC (permalink / raw
To: gentoo-commits
commit: 5c1a1e5198c3884c336fd864f30bcb25f887012c
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu May 9 15:11:33 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 07:10:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1a1e51
games-simulation/simutrans: add 124.0
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 3 +
.../files/simutrans-124.0-disable-svn-check.patch | 33 ++++++
games-simulation/simutrans/simutrans-124.0.ebuild | 111 +++++++++++++++++++++
3 files changed, 147 insertions(+)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index 0b49b78ebdee..da6997234c83 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,4 +1,7 @@
DIST simutrans-src-123-0-1.zip 4771334 BLAKE2B c83edba188225c07bea9aa50d8899a251d3b9f50160aada6839d519bc99f52ef57bd95e7cfdf8db5d6c5efffb9fd421b4b8d8283b7998a352fdd7327332244c4 SHA512 87bc96c201126bc735693dea83a320e79f4b4a0fa6940aa9a6d2f8ef6025788f941a3c816febe3dc8a23ff786a2f016df2ef8a61492bb5ed4a834c721f8fc0a1
+DIST simutrans-src-124-0.zip 5464505 BLAKE2B c50d6dd67dcc8e8166a016e2b7258e8e4aa4c515b08c31b81b239b7bd26013bf23ba9638329e1becf76473a20a1e6280e49a2c2d5af97d16d2f2422317dc9251 SHA512 1d4f00c41061240e1b14e61178640f1b914bb819edfe174210f4f04cfde2b0b1dd414a30ba19618a8362d387b1c7ec9bfe9a64275b3ec2409b6b1d44aee62412
DIST simutrans.svg 2677 BLAKE2B c60f386b13908cda641f8cb41918f8f0b1c70f9104d14ee368d221bf013970de3aee05b009ad56af07710833218d5e15cd24c51da4dae4e964f1c877a820fce0 SHA512 317b9059a1cc863eed778f60d6c3f4569a3cee192fb6f9210aed2cf65f76f098dd5a17020de11d3beb30b9e7a1a49876c0610e7d31e24e141c6ce31747b3809a
DIST simutrans_language_pack-Base+texts-123.0.1.zip 1228228 BLAKE2B cf7bd6dd40f1c5a79bec73a8f3bd993fdeb8abe725b1294cef7e0fa7fe374aa18a563cfd81907d7b3a67a5898594730448b4f9038515415a8b44d99ecc5eb8ea SHA512 4d6b66f810fedaf50734d178e329592e174c48ca36611b15403075b02a3a626581993093e6fd6e6f297c973c5f928a054a557cd135fa487c79df3c2f1f6e0ea0
+DIST simutrans_language_pack-Base+texts-124.0.zip 1234798 BLAKE2B a2a3aed3783156fa8738087107898d284d867109ad0f50d0435efb391fca9fe1f3d14e225e21deb199e213148abeece4eb47257f3e1c91d0b82d3680fae34d4f SHA512 3007662f6e3132966a2bff1384bf32fba9cf6a55df5cd4e337b08c67d7397ad13fd924831709415c015b72a7f7ae0bba432fa13e23c87f14709cd7e0dfa7b939
DIST simutrans_simupak64-123-0.zip 5209700 BLAKE2B 432985b056d2a6ea30a63bb3ce278b6dfa7b02dde390cdbedea68e87538b6fa1626ebe8c2490d1b6e569b53ffa6952c1d72a1e41789a81f05ba3b4705f3b4c7e SHA512 0814bf1b41f8b9d458ffe124a237499f0d9e8105269b983d75c16eb87e164bfa0cd49ff153f603ed56f98e4a04edd483f765230e6e1a182c52fa09eb41c92b71
+DIST simutrans_simupak64-124-0.zip 5084196 BLAKE2B a306f71a41fce6c0dc7c2bcd80717ffd4de88e021d145321e98c8bc5cab9c5ce92b5cd1c33e06ae660f7b6810963397733c137636aa64d74e3e22df804e18bf0 SHA512 d757e29a311d3a344f9816d4313cadaecf44f196209969be30732bfd51a954e87c9333aab3e4d2eb6ea2bca70e1beb23fa364e51a651316146378b12e4821a3c
diff --git a/games-simulation/simutrans/files/simutrans-124.0-disable-svn-check.patch b/games-simulation/simutrans/files/simutrans-124.0-disable-svn-check.patch
new file mode 100644
index 000000000000..889378aba76b
--- /dev/null
+++ b/games-simulation/simutrans/files/simutrans-124.0-disable-svn-check.patch
@@ -0,0 +1,33 @@
+From 1064daf38a99d67a78b1117a289fc72349f1fad9 Mon Sep 17 00:00:00 2001
+From: tastytea <gentoo@tastytea.de>
+Date: Thu, 9 May 2024 12:59:04 +0200
+Subject: [PATCH] disable svn check
+
+---
+ configure.ac | 10 +++-------
+ 1 file changed, 3 insertions(+), 7 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c611af3..b8e3efa 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -145,13 +145,9 @@ else
+ fi
+
+
+-# are we in a svn?
+-if svn info
+-then
+- AC_SUBST(svn, 1)
+-else
+- AC_SUBST(svn, 0)
+-fi
++# we are not in an svn
++AC_SUBST(svn, 0)
++
+
+
+ #switch off assembler on 64 bit (MISSING: Check for GNU Assembler and i86)
+--
+2.43.2
+
diff --git a/games-simulation/simutrans/simutrans-124.0.ebuild b/games-simulation/simutrans/simutrans-124.0.ebuild
new file mode 100644
index 000000000000..87559c0abb1b
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-124.0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic toolchain-funcs xdg
+
+MY_PV=${PV//./-}
+MY_PAK_64="simupak64-${MY_PV}.zip"
+# Required for network games, published in release announcement on the forums
+MY_SVN_REVISION="11164"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="
+ https://downloads.sourceforge.net/simutrans/simutrans-src-${MY_PV}.zip
+ !minimal? ( https://downloads.sourceforge.net/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
+ https://tastytea.de/files/gentoo/simutrans_language_pack-Base+texts-${PV}.zip
+"
+S="${WORKDIR}/simutrans"
+
+# NOTE: get the latest language pack from:
+# https://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="minimal +midi fontconfig upnp zstd"
+
+DEPEND="
+ app-arch/bzip2
+ media-libs/freetype
+ media-libs/libpng:0=
+ media-libs/libsdl2[sound,video]
+ sys-libs/zlib
+ midi? ( media-sound/fluidsynth:=[sdl] )
+ fontconfig? ( media-libs/fontconfig )
+ upnp? ( net-libs/miniupnpc:= )
+ zstd? ( app-arch/zstd )
+"
+RDEPEND="
+ ${DEPEND}
+ midi? ( media-sound/fluid-soundfont )
+ !<games-simulation/simutrans-paksets-${PV}
+"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+RESTRICT="test" # Opens the program and doesn't close it.
+
+PATCHES=( "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch )
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ mv simutrans-Nightly simutrans || die "renaming directory failed"
+ cd simutrans || die "could not cd to ‘simutrans’"
+ use minimal || unpack "simutrans_${MY_PAK_64}"
+
+ # Bundled text files are incomplete, bug #580948
+ cd simutrans/text || die "could not cd to ‘simutrans/text’"
+ unpack "simutrans_language_pack-Base+texts-${PV}.zip"
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ strip-flags # bug #293927
+ append-flags -fno-strict-aliasing # bug #859229
+
+ eautoreconf
+}
+
+src_configure() {
+ default
+
+ # NOTE: some flags need to be 0, some need to be empty to turn them off
+ cat > config.default <<-EOF || die
+ BACKEND=sdl2
+ OSTYPE=linux
+ OPTIMISE=0
+ STATIC=0
+ WITH_REVISION=${MY_SVN_REVISION}
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 '')
+ USE_FREETYPE=1
+ USE_ZSTD=$(usex zstd 1 '')
+ USE_FONTCONFIG=$(usex fontconfig 1 '')
+ USE_FLUIDSYNTH_MIDI=$(usex midi 1 '')
+ VERBOSE=1
+
+ HOSTCC = $(tc-getCC)
+ HOSTCXX = $(tc-getCXX)
+ EOF
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto usr/share/${PN}
+ doins -r simutrans/*
+ doicon src/simutrans/${PN}.svg
+ newmenu src/simutrans/.desktop simutrans.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog "Since 124.0 simutrans allows you to download PakSets to your home directory,"
+ elog "therefore games-simulation/simutrans-paksets has been deprecated."
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/
@ 2024-07-26 7:40 Joonas Niilola
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2024-07-26 7:40 UTC (permalink / raw
To: gentoo-commits
commit: a23c22ab4dc10007242625baab1a678ab714561d
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Jun 29 11:39:34 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 07:40:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23c22ab
games-simulation/simutrans: add 124.1
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 3 +
.../files/simutrans-124.1-fix-miniupnpc-api.patch | 42 ++++++++
games-simulation/simutrans/simutrans-124.1.ebuild | 114 +++++++++++++++++++++
3 files changed, 159 insertions(+)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index da6997234c83..5661707dec8d 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,7 +1,10 @@
DIST simutrans-src-123-0-1.zip 4771334 BLAKE2B c83edba188225c07bea9aa50d8899a251d3b9f50160aada6839d519bc99f52ef57bd95e7cfdf8db5d6c5efffb9fd421b4b8d8283b7998a352fdd7327332244c4 SHA512 87bc96c201126bc735693dea83a320e79f4b4a0fa6940aa9a6d2f8ef6025788f941a3c816febe3dc8a23ff786a2f016df2ef8a61492bb5ed4a834c721f8fc0a1
DIST simutrans-src-124-0.zip 5464505 BLAKE2B c50d6dd67dcc8e8166a016e2b7258e8e4aa4c515b08c31b81b239b7bd26013bf23ba9638329e1becf76473a20a1e6280e49a2c2d5af97d16d2f2422317dc9251 SHA512 1d4f00c41061240e1b14e61178640f1b914bb819edfe174210f4f04cfde2b0b1dd414a30ba19618a8362d387b1c7ec9bfe9a64275b3ec2409b6b1d44aee62412
+DIST simutrans-src-124-1.zip 5965405 BLAKE2B 15e9365df40d9e26f50b63d2e2e2d6f4e03bc5111a28ca3fbe454cfd7339ebbbf3fb99f8f060604f7ca6861fb4220aa9aa0bcd275d98abea6825cbb08956e814 SHA512 f2c95e67ed90a44044264d81dbd1b8db7999a3f192bbfb09f775404924b7583bbf12e1a5841c1e8968ed9bba1bdaff0ca4c913aee83eba5b247c8860a3801c0e
DIST simutrans.svg 2677 BLAKE2B c60f386b13908cda641f8cb41918f8f0b1c70f9104d14ee368d221bf013970de3aee05b009ad56af07710833218d5e15cd24c51da4dae4e964f1c877a820fce0 SHA512 317b9059a1cc863eed778f60d6c3f4569a3cee192fb6f9210aed2cf65f76f098dd5a17020de11d3beb30b9e7a1a49876c0610e7d31e24e141c6ce31747b3809a
DIST simutrans_language_pack-Base+texts-123.0.1.zip 1228228 BLAKE2B cf7bd6dd40f1c5a79bec73a8f3bd993fdeb8abe725b1294cef7e0fa7fe374aa18a563cfd81907d7b3a67a5898594730448b4f9038515415a8b44d99ecc5eb8ea SHA512 4d6b66f810fedaf50734d178e329592e174c48ca36611b15403075b02a3a626581993093e6fd6e6f297c973c5f928a054a557cd135fa487c79df3c2f1f6e0ea0
DIST simutrans_language_pack-Base+texts-124.0.zip 1234798 BLAKE2B a2a3aed3783156fa8738087107898d284d867109ad0f50d0435efb391fca9fe1f3d14e225e21deb199e213148abeece4eb47257f3e1c91d0b82d3680fae34d4f SHA512 3007662f6e3132966a2bff1384bf32fba9cf6a55df5cd4e337b08c67d7397ad13fd924831709415c015b72a7f7ae0bba432fa13e23c87f14709cd7e0dfa7b939
+DIST simutrans_language_pack-Base+texts-124.1.zip 1234798 BLAKE2B a2a3aed3783156fa8738087107898d284d867109ad0f50d0435efb391fca9fe1f3d14e225e21deb199e213148abeece4eb47257f3e1c91d0b82d3680fae34d4f SHA512 3007662f6e3132966a2bff1384bf32fba9cf6a55df5cd4e337b08c67d7397ad13fd924831709415c015b72a7f7ae0bba432fa13e23c87f14709cd7e0dfa7b939
DIST simutrans_simupak64-123-0.zip 5209700 BLAKE2B 432985b056d2a6ea30a63bb3ce278b6dfa7b02dde390cdbedea68e87538b6fa1626ebe8c2490d1b6e569b53ffa6952c1d72a1e41789a81f05ba3b4705f3b4c7e SHA512 0814bf1b41f8b9d458ffe124a237499f0d9e8105269b983d75c16eb87e164bfa0cd49ff153f603ed56f98e4a04edd483f765230e6e1a182c52fa09eb41c92b71
DIST simutrans_simupak64-124-0.zip 5084196 BLAKE2B a306f71a41fce6c0dc7c2bcd80717ffd4de88e021d145321e98c8bc5cab9c5ce92b5cd1c33e06ae660f7b6810963397733c137636aa64d74e3e22df804e18bf0 SHA512 d757e29a311d3a344f9816d4313cadaecf44f196209969be30732bfd51a954e87c9333aab3e4d2eb6ea2bca70e1beb23fa364e51a651316146378b12e4821a3c
+DIST simutrans_simupak64-124-1.zip 5095713 BLAKE2B fdb31043917bd9736cacc6f17a06e0b440a79e077491333491d700bb45b0ec4097d8a13ef34b1a94001cb06c4732250e856b59f7b7faf1537c94860367e16a20 SHA512 fb434104aaf485f78becd99e075fa11d58e59b5e2ee5dfc592b21aec6906f01951bce20181fcb1dacb44ea1d390b4241f1935b4b978474292409c6cf1b6bc849
diff --git a/games-simulation/simutrans/files/simutrans-124.1-fix-miniupnpc-api.patch b/games-simulation/simutrans/files/simutrans-124.1-fix-miniupnpc-api.patch
new file mode 100644
index 000000000000..4ea1a7c51298
--- /dev/null
+++ b/games-simulation/simutrans/files/simutrans-124.1-fix-miniupnpc-api.patch
@@ -0,0 +1,42 @@
+# adapted from <https://github.com/simutrans/simutrans/commit/089b83b>
+
+From 089b83b03acfb2c1db9f2d22cc10e94ff8ed63be Mon Sep 17 00:00:00 2001
+From: prissi <prissi@8aca7d54-2c30-db11-9de9-000461428c89>
+Date: Mon, 3 Jun 2024 03:31:47 +0000
+Subject: [PATCH] Back to nightly and fix the API for miniupnpc
+
+git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@11273 8aca7d54-2c30-db11-9de9-000461428c89
+---
+
+diff --git a/src/simutrans/network/network.cc b/src/simutrans/network/network.cc
+index 5acf10e5c..52669ad9d 100644
+--- a/src/simutrans/network/network.cc
++++ b/src/simutrans/network/network.cc
+@@ -981,7 +981,12 @@ bool prepare_for_server( char *externalIPAddress, char *externalAltIPAddress, in
+ struct UPNPUrls urls;
+ struct IGDdatas data;
+
++#if MINIUPNPC_API_VERSION <= 17
+ UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof(lanaddr) );
++#else
++ char wanaddr[64] = "uset";
++ UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr), wanaddr, sizeof(lanaddr));
++#endif
+ // we must know our IP address first
+ if( UPNP_GetExternalIPAddress(urls.controlURL, data.first.servicetype, externalIPAddress) == UPNPCOMMAND_SUCCESS ) {
+ // this is our ID (at least the routes tells us this)
+@@ -1040,7 +1045,13 @@ void remove_port_forwarding( int port )
+ struct UPNPUrls urls;
+ struct IGDdatas data;
+
+- UPNP_GetValidIGD( devlist, &urls, &data, lanaddr, sizeof(lanaddr) );
++#if MINIUPNPC_API_VERSION <= 17
++ UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr));
++#else
++ char wanaddr[64] = "uset";
++ UPNP_GetValidIGD(devlist, &urls, &data, lanaddr, sizeof(lanaddr), wanaddr, sizeof(lanaddr));
++#endif
++
+ // we must know our IP address first
+ if( UPNP_GetExternalIPAddress(urls.controlURL, data.first.servicetype, externalIPAddress) == UPNPCOMMAND_SUCCESS ) {
+ // this is our ID (at least the routes tells us this)
diff --git a/games-simulation/simutrans/simutrans-124.1.ebuild b/games-simulation/simutrans/simutrans-124.1.ebuild
new file mode 100644
index 000000000000..60803bf4b9a5
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-124.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic toolchain-funcs xdg
+
+MY_PV=${PV//./-}
+MY_PAK_64="simupak64-${MY_PV}.zip"
+# Required for network games, published in release announcement on the forums
+MY_SVN_REVISION="11164"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="
+ https://downloads.sourceforge.net/simutrans/simutrans-src-${MY_PV}.zip
+ !minimal? ( https://downloads.sourceforge.net/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
+ https://tastytea.de/files/gentoo/simutrans_language_pack-Base+texts-${PV}.zip
+"
+S="${WORKDIR}"
+
+# NOTE: get the latest language pack from:
+# https://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="minimal +midi fontconfig upnp zstd"
+
+DEPEND="
+ app-arch/bzip2
+ media-libs/freetype
+ media-libs/libpng:0=
+ media-libs/libsdl2[sound,video]
+ sys-libs/zlib
+ midi? ( media-sound/fluidsynth:=[sdl] )
+ fontconfig? ( media-libs/fontconfig )
+ upnp? ( net-libs/miniupnpc:= )
+ zstd? ( app-arch/zstd )
+"
+# miniupnpc restriction: bug #935134
+RDEPEND="
+ ${DEPEND}
+ midi? ( media-sound/fluid-soundfont )
+ !<games-simulation/simutrans-paksets-${PV}
+"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+RESTRICT="test" # Opens the program and doesn't close it.
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch
+ "${FILESDIR}"/${P}-fix-miniupnpc-api.patch
+)
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ cd simutrans || die "could not cd to ‘simutrans’"
+ use minimal || unpack "simutrans_${MY_PAK_64}"
+
+ # Bundled text files are incomplete, bug #580948
+ cd text || die "could not cd to ‘simutrans/text’"
+ unpack "simutrans_language_pack-Base+texts-${PV}.zip"
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ strip-flags # bug #293927
+ append-flags -fno-strict-aliasing # bug #859229
+
+ eautoreconf
+}
+
+src_configure() {
+ default
+
+ # NOTE: some flags need to be 0, some need to be empty to turn them off
+ cat > config.default <<-EOF || die
+ BACKEND=sdl2
+ OSTYPE=linux
+ OPTIMISE=0
+ STATIC=0
+ WITH_REVISION=${MY_SVN_REVISION}
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 '')
+ USE_FREETYPE=1
+ USE_ZSTD=$(usex zstd 1 '')
+ USE_FONTCONFIG=$(usex fontconfig 1 '')
+ USE_FLUIDSYNTH_MIDI=$(usex midi 1 '')
+ VERBOSE=1
+
+ HOSTCC = $(tc-getCC)
+ HOSTCXX = $(tc-getCXX)
+ EOF
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto usr/share/${PN}
+ doins -r simutrans/*
+ doicon src/simutrans/${PN}.svg
+ domenu src/linux/simutrans.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog "Since 124.0 simutrans allows you to download PakSets to your home directory,"
+ elog "therefore games-simulation/simutrans-paksets has been deprecated."
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-07-26 7:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-28 7:51 [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/files/, games-simulation/simutrans/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-07-26 7:40 Joonas Niilola
2024-06-08 7:10 Joonas Niilola
2020-10-23 17:13 Michał Górny
2016-09-15 17:18 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox