* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2017-07-05 8:14 Lars Wendler
0 siblings, 0 replies; 13+ messages in thread
From: Lars Wendler @ 2017-07-05 8:14 UTC (permalink / raw
To: gentoo-commits
commit: ece5f6c9f42b946f4d96613966615f6eedf1b12b
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 5 08:13:54 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jul 5 08:13:54 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece5f6c9
games-simulation/simutrans: Fixed broken rm call in src_prepare.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
games-simulation/simutrans/simutrans-0.120.2.2.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild
index aab9fb8ef31..f175a36b9e0 100644
--- a/games-simulation/simutrans/simutrans-0.120.2.2.ebuild
+++ b/games-simulation/simutrans/simutrans-0.120.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,17 +50,15 @@ src_prepare() {
default
strip-flags # bug #293927
- echo "BACKEND=mixer_sdl
-COLOUR_DEPTH=16
-OSTYPE=linux
-VERBOSE=1" > config.default || die
+ 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 -v simutrans/{simutrans,*.txt} || die
+ rm simutrans/*.txt || die
}
src_install() {
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2021-11-26 3:40 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-11-26 3:40 UTC (permalink / raw
To: gentoo-commits
commit: 5e71dc45f836c752201af6766bcd77428e28e38d
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Nov 26 02:47:15 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 03:40:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e71dc45
games-simulation/simutrans: Drop -* from KEYWORDS
Reason unclear, apparently not needed.
Bug: https://bugs.gentoo.org/827296
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/23084
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-simulation/simutrans/simutrans-0.122.0-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild b/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
index 1d54030950e5..5a5fa8c117eb 100644
--- a/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
+++ b/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -29,7 +29,7 @@ S=${WORKDIR}
LICENSE="Artistic"
SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+pak128 +pak128-britain +pak128-german +pak192-comic truetype upnp zstd"
RDEPEND="
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2022-02-24 11:34 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2022-02-24 11:34 UTC (permalink / raw
To: gentoo-commits
commit: d7e67c349e80c750d7a033179dbc509b7b09c1a5
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun Jan 2 22:37:50 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 11:28:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e67c34
games-simulation/simutrans: Version bump 123.0.1
- Switched to upstream versioning (no idea why we prefixed it with 0)
- All PakSets but the default one are now in
games-simulation/simutrans-paksets to make updating them without
recompiling simutrans possible
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 4 +
games-simulation/simutrans/metadata.xml | 2 +
.../simutrans/simutrans-123.0.1.ebuild | 103 +++++++++++++++++++++
3 files changed, 109 insertions(+)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index ee3db6e423f1..6af149931af4 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,8 +1,12 @@
DIST simutrans-src-122-0.zip 4534293 BLAKE2B c4117baf82530adced1fbb60e099176b7b63ade07e10f741e19e41aedd4b65f5d7b6ab60145f3bce7ff88def9836eac88323b14aa74f2ce5f1c76eeaa6beb713 SHA512 7a044ceda9359847353c1dcd23c380d1ddcca901fd674a25b66d7bd0ede7f974525c5fc3b37781977e9946626f30b538c483166983ab8b7be9e73903dc9be0bd
+DIST simutrans-src-123-0-1.zip 4771334 BLAKE2B c83edba188225c07bea9aa50d8899a251d3b9f50160aada6839d519bc99f52ef57bd95e7cfdf8db5d6c5efffb9fd421b4b8d8283b7998a352fdd7327332244c4 SHA512 87bc96c201126bc735693dea83a320e79f4b4a0fa6940aa9a6d2f8ef6025788f941a3c816febe3dc8a23ff786a2f016df2ef8a61492bb5ed4a834c721f8fc0a1
+DIST simutrans.svg 2677 BLAKE2B c60f386b13908cda641f8cb41918f8f0b1c70f9104d14ee368d221bf013970de3aee05b009ad56af07710833218d5e15cd24c51da4dae4e964f1c877a820fce0 SHA512 317b9059a1cc863eed778f60d6c3f4569a3cee192fb6f9210aed2cf65f76f098dd5a17020de11d3beb30b9e7a1a49876c0610e7d31e24e141c6ce31747b3809a
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_language_pack-Base+texts-123.0.1.zip 1221740 BLAKE2B 78e80bef6ab033e3ea352fe42ebecedc278cc9b696b509f29be94f47ea1c58d46cf30fa67a5d10daa2e27e9437d5b17e60b071a3e3c71dc5855828c350e4bd46 SHA512 5e1e8448113112364fd81d26a7575537db62ee252caed28983aa186b2b68b1f7648c224148551816314517733e7550b205a1ad0ced07679ff329674df854c997
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
+DIST simutrans_simupak64-123-0.zip 5209700 BLAKE2B 432985b056d2a6ea30a63bb3ce278b6dfa7b02dde390cdbedea68e87538b6fa1626ebe8c2490d1b6e569b53ffa6952c1d72a1e41789a81f05ba3b4705f3b4c7e SHA512 0814bf1b41f8b9d458ffe124a237499f0d9e8105269b983d75c16eb87e164bfa0cd49ff153f603ed56f98e4a04edd483f765230e6e1a182c52fa09eb41c92b71
diff --git a/games-simulation/simutrans/metadata.xml b/games-simulation/simutrans/metadata.xml
index 2d0e0c9220cb..5384b5810c9d 100644
--- a/games-simulation/simutrans/metadata.xml
+++ b/games-simulation/simutrans/metadata.xml
@@ -11,8 +11,10 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">simutrans</remote-id>
+ <remote-id type="github">aburch/simutrans</remote-id>
</upstream>
<use>
+ <flag name="minimal">Don't install any PakSets (scenario data)</flag>
<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>
diff --git a/games-simulation/simutrans/simutrans-123.0.1.ebuild b/games-simulation/simutrans/simutrans-123.0.1.ebuild
new file mode 100644
index 000000000000..0077360fe906
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-123.0.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
+
+MY_PV=${PV//./-}
+MY_PAK_64="simupak64-123-0.zip"
+# Required for network games, published in release announcement.
+MY_SVN_REVISION="10421"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="
+ mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
+ !minimal? ( mirror://sourceforge/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
+ https://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip -> simutrans_language_pack-Base+texts-${PV}.zip
+ https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
+"
+S=${WORKDIR}
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="minimal truetype upnp zstd"
+
+DEPEND="
+ app-arch/bzip2
+ media-libs/libpng:0
+ media-libs/libsdl2[sound,video]
+ media-sound/fluidsynth
+ sys-libs/zlib
+ truetype? ( media-libs/freetype )
+ upnp? ( net-libs/miniupnpc:= )
+ zstd? ( app-arch/zstd )
+"
+RDEPEND="
+ ${DEPEND}
+ media-sound/fluid-soundfont
+"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+RESTRICT="test" # Opens the program and doesn't close it.
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ use minimal || unpack "simutrans_${MY_PAK_64}"
+
+ # 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
+
+ eautoreconf
+
+ # Make it look for the data in the right directory.
+ sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
+}
+
+src_configure() {
+ default
+
+ cat > config.default <<-EOF || die
+ BACKEND=sdl2
+ OSTYPE=linux
+ OPTIMISE=0
+ STATIC=0
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 0)
+ USE_FREETYPE=$(usex truetype 1 0)
+ USE_ZSTD=$(usex zstd 1 0)
+ USE_FLUIDSYNTH_MIDI=1
+ VERBOSE=1
+ FLAGS := -DREVISION="${MY_SVN_REVISION}"
+
+ HOSTCC = $(tc-getCC)
+ HOSTCXX = $(tc-getCXX)
+ EOF
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto usr/share/${PN}
+ doins -r simutrans/*
+ doicon "${DISTDIR}"/${PN}.svg
+ domenu "${FILESDIR}"/${PN}.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
+ optfeature "other PakSets" games-simulation/simutrans-paksets
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2022-02-24 13:04 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2022-02-24 13:04 UTC (permalink / raw
To: gentoo-commits
commit: 7be167f14cc201d0eefdf70d8fb1acfd51155807
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Feb 24 12:33:36 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 13:04:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be167f1
games-simulation/simutrans: Fix language pack URL
The original URL is not versioned.
Closes: https://bugs.gentoo.org/833987
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/24333
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 2 +-
games-simulation/simutrans/simutrans-0.122.0-r1.ebuild | 4 ++--
games-simulation/simutrans/simutrans-123.0.1.ebuild | 5 ++++-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index 6af149931af4..29eca65dd026 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -4,7 +4,7 @@ DIST simutrans.svg 2677 BLAKE2B c60f386b13908cda641f8cb41918f8f0b1c70f9104d14ee3
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_language_pack-Base+texts-123.0.1.zip 1221740 BLAKE2B 78e80bef6ab033e3ea352fe42ebecedc278cc9b696b509f29be94f47ea1c58d46cf30fa67a5d10daa2e27e9437d5b17e60b071a3e3c71dc5855828c350e4bd46 SHA512 5e1e8448113112364fd81d26a7575537db62ee252caed28983aa186b2b68b1f7648c224148551816314517733e7550b205a1ad0ced07679ff329674df854c997
+DIST simutrans_language_pack-Base+texts-123.0.1.zip 1228228 BLAKE2B cf7bd6dd40f1c5a79bec73a8f3bd993fdeb8abe725b1294cef7e0fa7fe374aa18a563cfd81907d7b3a67a5898594730448b4f9038515415a8b44d99ecc5eb8ea SHA512 4d6b66f810fedaf50734d178e329592e174c48ca36611b15403075b02a3a626581993093e6fd6e6f297c973c5f928a054a557cd135fa487c79df3c2f1f6e0ea0
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
diff --git a/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild b/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
index 5a5fa8c117eb..8a03e83ca8d1 100644
--- a/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
+++ b/games-simulation/simutrans/simutrans-0.122.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,7 +16,7 @@ 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
+ https://tastytea.de/files/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} )
diff --git a/games-simulation/simutrans/simutrans-123.0.1.ebuild b/games-simulation/simutrans/simutrans-123.0.1.ebuild
index 0077360fe906..9b027b6b7127 100644
--- a/games-simulation/simutrans/simutrans-123.0.1.ebuild
+++ b/games-simulation/simutrans/simutrans-123.0.1.ebuild
@@ -15,11 +15,14 @@ HOMEPAGE="https://www.simutrans.com/"
SRC_URI="
mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
!minimal? ( mirror://sourceforge/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
- https://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip -> simutrans_language_pack-Base+texts-${PV}.zip
+ https://tastytea.de/files/simutrans_language_pack-Base+texts-${PV}.zip
https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
"
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 ~x86"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2022-06-21 7:02 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2022-06-21 7:02 UTC (permalink / raw
To: gentoo-commits
commit: 954bd04dc394f664bb3f9be0c12d7b6d7f3a7726
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Jun 11 15:38:01 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 07:01:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954bd04d
games-simulation/simutrans: require sdl of fluidsynth dependency
Closes: https://bugs.gentoo.org/851114
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.../simutrans/simutrans-123.0.1-r1.ebuild | 106 +++++++++++++++++++++
1 file changed, 106 insertions(+)
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
new file mode 100644
index 000000000000..368ac8ebd062
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
+
+MY_PV=${PV//./-}
+MY_PAK_64="simupak64-123-0.zip"
+# Required for network games, published in release announcement.
+MY_SVN_REVISION="10421"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="
+ mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
+ !minimal? ( mirror://sourceforge/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
+ https://tastytea.de/files/simutrans_language_pack-Base+texts-${PV}.zip
+ https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
+"
+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 truetype upnp zstd"
+
+DEPEND="
+ app-arch/bzip2
+ media-libs/libpng:0
+ media-libs/libsdl2[sound,video]
+ media-sound/fluidsynth[sdl]
+ sys-libs/zlib
+ truetype? ( media-libs/freetype )
+ upnp? ( net-libs/miniupnpc:= )
+ zstd? ( app-arch/zstd )
+"
+RDEPEND="
+ ${DEPEND}
+ media-sound/fluid-soundfont
+"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+RESTRICT="test" # Opens the program and doesn't close it.
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ use minimal || unpack "simutrans_${MY_PAK_64}"
+
+ # 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
+
+ eautoreconf
+
+ # Make it look for the data in the right directory.
+ sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
+}
+
+src_configure() {
+ default
+
+ cat > config.default <<-EOF || die
+ BACKEND=sdl2
+ OSTYPE=linux
+ OPTIMISE=0
+ STATIC=0
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 0)
+ USE_FREETYPE=$(usex truetype 1 0)
+ USE_ZSTD=$(usex zstd 1 0)
+ USE_FLUIDSYNTH_MIDI=1
+ VERBOSE=1
+ FLAGS := -DREVISION="${MY_SVN_REVISION}"
+
+ HOSTCC = $(tc-getCC)
+ HOSTCXX = $(tc-getCXX)
+ EOF
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto usr/share/${PN}
+ doins -r simutrans/*
+ doicon "${DISTDIR}"/${PN}.svg
+ domenu "${FILESDIR}"/${PN}.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
+ optfeature "other PakSets" games-simulation/simutrans-paksets
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2022-06-21 7:02 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2022-06-21 7:02 UTC (permalink / raw
To: gentoo-commits
commit: b86d9593808fb513e55281252046bb3b40f2e511
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Jun 11 15:44:42 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 07:01:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86d9593
games-simulation/simutrans: drop 123.0.1
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/25857
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.../simutrans/simutrans-123.0.1.ebuild | 106 ---------------------
1 file changed, 106 deletions(-)
diff --git a/games-simulation/simutrans/simutrans-123.0.1.ebuild b/games-simulation/simutrans/simutrans-123.0.1.ebuild
deleted file mode 100644
index c113d11a5210..000000000000
--- a/games-simulation/simutrans/simutrans-123.0.1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
-
-MY_PV=${PV//./-}
-MY_PAK_64="simupak64-123-0.zip"
-# Required for network games, published in release announcement.
-MY_SVN_REVISION="10421"
-
-DESCRIPTION="A free Transport Tycoon clone"
-HOMEPAGE="https://www.simutrans.com/"
-SRC_URI="
- mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
- !minimal? ( mirror://sourceforge/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
- https://tastytea.de/files/simutrans_language_pack-Base+texts-${PV}.zip
- https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
-"
-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 truetype upnp zstd"
-
-DEPEND="
- app-arch/bzip2
- media-libs/libpng:0
- media-libs/libsdl2[sound,video]
- media-sound/fluidsynth
- sys-libs/zlib
- truetype? ( media-libs/freetype )
- upnp? ( net-libs/miniupnpc:= )
- zstd? ( app-arch/zstd )
-"
-RDEPEND="
- ${DEPEND}
- media-sound/fluid-soundfont
-"
-BDEPEND="
- app-arch/unzip
- virtual/pkgconfig
-"
-RESTRICT="test" # Opens the program and doesn't close it.
-
-src_unpack() {
- unpack "simutrans-src-${MY_PV}.zip"
- use minimal || unpack "simutrans_${MY_PAK_64}"
-
- # 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
-
- eautoreconf
-
- # Make it look for the data in the right directory.
- sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
-}
-
-src_configure() {
- default
-
- cat > config.default <<-EOF || die
- BACKEND=sdl2
- OSTYPE=linux
- OPTIMISE=0
- STATIC=0
- MULTI_THREAD=1
- USE_UPNP=$(usex upnp 1 0)
- USE_FREETYPE=$(usex truetype 1 0)
- USE_ZSTD=$(usex zstd 1 0)
- USE_FLUIDSYNTH_MIDI=1
- VERBOSE=1
- FLAGS := -DREVISION="${MY_SVN_REVISION}"
-
- HOSTCC = $(tc-getCC)
- HOSTCXX = $(tc-getCXX)
- EOF
-}
-
-src_install() {
- newbin build/default/sim ${PN}
- insinto usr/share/${PN}
- doins -r simutrans/*
- doicon "${DISTDIR}"/${PN}.svg
- domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
- optfeature "other PakSets" games-simulation/simutrans-paksets
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2022-08-28 8:22 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2022-08-28 8:22 UTC (permalink / raw
To: gentoo-commits
commit: b3d64bd03379c7214b8eb6457d88a8cf6558bc8e
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun Aug 7 17:41:31 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 08:22:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d64bd0
games-simulation/simutrans: append -fno-strict-aliasing
Closes: https://bugs.gentoo.org/859229
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/simutrans-123.0.1-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
index 0c6442d9b393..72b9bcc3eaab 100644
--- a/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
+++ b/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
@@ -64,6 +64,7 @@ src_prepare() {
xdg_environment_reset
strip-flags # bug #293927
+ append-flags -fno-strict-aliasing # bug #859229
eautoreconf
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2023-10-11 11:03 Viorel Munteanu
0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2023-10-11 11:03 UTC (permalink / raw
To: gentoo-commits
commit: 5d4c53037902a82343636ebca2c00a37152f1e6e
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Sep 8 20:26:28 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Oct 11 11:02:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4c5303
games-simulation/simutrans: make midi support optional
Closes: https://bugs.gentoo.org/913715
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/32693
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
games-simulation/simutrans/metadata.xml | 1 +
.../simutrans/simutrans-123.0.1-r2.ebuild | 109 +++++++++++++++++++++
2 files changed, 110 insertions(+)
diff --git a/games-simulation/simutrans/metadata.xml b/games-simulation/simutrans/metadata.xml
index bdfc12b3f89d..e4089ed1e978 100644
--- a/games-simulation/simutrans/metadata.xml
+++ b/games-simulation/simutrans/metadata.xml
@@ -15,5 +15,6 @@
</upstream>
<use>
<flag name="minimal">Don't install any PakSets (scenario data)</flag>
+ <flag name="midi">support for background MIDI music via <pkg>media-sound/fluidsynth</pkg></flag>
</use>
</pkgmetadata>
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
new file mode 100644
index 000000000000..0fafadd3255d
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
+
+MY_PV=${PV//./-}
+MY_PAK_64="simupak64-123-0.zip"
+# Required for network games, published in release announcement.
+MY_SVN_REVISION="10421"
+
+DESCRIPTION="A free Transport Tycoon clone"
+HOMEPAGE="https://www.simutrans.com/"
+SRC_URI="
+ mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
+ !minimal? ( mirror://sourceforge/simutrans/${MY_PAK_64} -> simutrans_${MY_PAK_64} )
+ https://tastytea.de/files/simutrans_language_pack-Base+texts-${PV}.zip
+ https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
+"
+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 truetype upnp zstd"
+
+DEPEND="
+ app-arch/bzip2
+ media-libs/libpng:0=
+ media-libs/libsdl2[sound,video]
+ sys-libs/zlib
+ midi? ( media-sound/fluidsynth:=[sdl] )
+ truetype? ( media-libs/freetype )
+ upnp? ( net-libs/miniupnpc:= )
+ zstd? ( app-arch/zstd )
+"
+RDEPEND="
+ ${DEPEND}
+ midi? ( media-sound/fluid-soundfont )
+"
+BDEPEND="
+ app-arch/unzip
+ virtual/pkgconfig
+"
+RESTRICT="test" # Opens the program and doesn't close it.
+
+PATCHES=( "${FILESDIR}"/${PN}-123.0.1-silence-svn-and-git-errors.patch )
+
+src_unpack() {
+ unpack "simutrans-src-${MY_PV}.zip"
+ use minimal || unpack "simutrans_${MY_PAK_64}"
+
+ # 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
+ append-flags -fno-strict-aliasing # bug #859229
+
+ eautoreconf
+
+ # Make it look for the data in the right directory.
+ sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
+}
+
+src_configure() {
+ default
+
+ cat > config.default <<-EOF || die
+ BACKEND=sdl2
+ OSTYPE=linux
+ OPTIMISE=0
+ STATIC=0
+ MULTI_THREAD=1
+ USE_UPNP=$(usex upnp 1 0)
+ USE_FREETYPE=$(usex truetype 1 0)
+ USE_ZSTD=$(usex zstd 1 0)
+ USE_FLUIDSYNTH_MIDI=$(usex midi 1 0)
+ VERBOSE=1
+ FLAGS := -DREVISION="${MY_SVN_REVISION}"
+
+ HOSTCC = $(tc-getCC)
+ HOSTCXX = $(tc-getCXX)
+ EOF
+}
+
+src_install() {
+ newbin build/default/sim ${PN}
+ insinto usr/share/${PN}
+ doins -r simutrans/*
+ doicon "${DISTDIR}"/${PN}.svg
+ domenu "${FILESDIR}"/${PN}.desktop
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
+ optfeature "other PakSets" games-simulation/simutrans-paksets
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2024-06-08 7:10 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-06-08 7:10 UTC (permalink / raw
To: gentoo-commits
commit: 6374b8e8eba77ebd6473258cd32956b016cafbfa
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu May 9 15:12:22 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=6374b8e8
games-simulation/simutrans: add long description
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/metadata.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/games-simulation/simutrans/metadata.xml b/games-simulation/simutrans/metadata.xml
index e4089ed1e978..6644d41a4ecb 100644
--- a/games-simulation/simutrans/metadata.xml
+++ b/games-simulation/simutrans/metadata.xml
@@ -17,4 +17,11 @@
<flag name="minimal">Don't install any PakSets (scenario data)</flag>
<flag name="midi">support for background MIDI music via <pkg>media-sound/fluidsynth</pkg></flag>
</use>
+ <longdescription lang="en">
+ Simutrans is a freeware and open-source transportation simulator. Your
+ goal is to establish a successful transport company. Transport
+ passengers, mail and goods by rail, road, ship, and even air.
+ Interconnect districts, cities, public buildings, industries and tourist
+ attractions by building a transport network you always dreamed of.
+ </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2024-06-08 7:10 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-06-08 7:10 UTC (permalink / raw
To: gentoo-commits
commit: 819d64ff18626d5c1d2a8528fe626ae9840f738b
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu May 9 15:12:48 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 07:10:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819d64ff
games-simulation/simutrans: drop 123.0.1-r1
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/36618
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
.../simutrans/simutrans-123.0.1-r1.ebuild | 109 ---------------------
1 file changed, 109 deletions(-)
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
deleted file mode 100644
index 75fc169c0a7c..000000000000
--- a/games-simulation/simutrans/simutrans-123.0.1-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
-
-MY_PV=${PV//./-}
-MY_PAK_64="simupak64-123-0.zip"
-# Required for network games, published in release announcement.
-MY_SVN_REVISION="10421"
-
-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/simutrans_language_pack-Base+texts-${PV}.zip
- https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
-"
-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 truetype upnp zstd"
-
-DEPEND="
- app-arch/bzip2
- media-libs/libpng:0
- media-libs/libsdl2[sound,video]
- media-sound/fluidsynth[sdl]
- sys-libs/zlib
- truetype? ( media-libs/freetype )
- upnp? ( net-libs/miniupnpc:= )
- zstd? ( app-arch/zstd )
-"
-RDEPEND="
- ${DEPEND}
- media-sound/fluid-soundfont
-"
-BDEPEND="
- app-arch/unzip
- virtual/pkgconfig
-"
-RESTRICT="test" # Opens the program and doesn't close it.
-
-PATCHES=( "${FILESDIR}"/${PN}-123.0.1-silence-svn-and-git-errors.patch )
-
-src_unpack() {
- unpack "simutrans-src-${MY_PV}.zip"
- use minimal || unpack "simutrans_${MY_PAK_64}"
-
- # 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
- append-flags -fno-strict-aliasing # bug #859229
-
- eautoreconf
-
- # Make it look for the data in the right directory.
- sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
-}
-
-src_configure() {
- default
-
- cat > config.default <<-EOF || die
- BACKEND=sdl2
- OSTYPE=linux
- OPTIMISE=0
- STATIC=0
- MULTI_THREAD=1
- USE_UPNP=$(usex upnp 1 0)
- USE_FREETYPE=$(usex truetype 1 0)
- USE_ZSTD=$(usex zstd 1 0)
- USE_FLUIDSYNTH_MIDI=1
- VERBOSE=1
- FLAGS := -DREVISION="${MY_SVN_REVISION}"
-
- HOSTCC = $(tc-getCC)
- HOSTCXX = $(tc-getCXX)
- EOF
-}
-
-src_install() {
- newbin build/default/sim ${PN}
- insinto usr/share/${PN}
- doins -r simutrans/*
- doicon "${DISTDIR}"/${PN}.svg
- domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
- optfeature "other PakSets" games-simulation/simutrans-paksets
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2024-07-26 7:40 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-07-26 7:40 UTC (permalink / raw
To: gentoo-commits
commit: 84c4b307d7073adfeb1de635e0d6e09819befe92
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Jun 29 11:43:18 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=84c4b307
games-simulation/simutrans: fix net-libs/miniupnpc dependency
miniupnpc changed API in 2.2.8, simutrans doesn't build with it
- patch 124.0
- restrict miniupnpc version in 123.0.1-r2
Bug: https://bugs.gentoo.org/935134
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/37357
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/simutrans-123.0.1-r2.ebuild | 2 +-
games-simulation/simutrans/simutrans-124.0.ebuild | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
index 094782d07975..4c3b32b2f157 100644
--- a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
+++ b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
@@ -35,7 +35,7 @@ DEPEND="
sys-libs/zlib
midi? ( media-sound/fluidsynth:=[sdl] )
truetype? ( media-libs/freetype )
- upnp? ( net-libs/miniupnpc:= )
+ upnp? ( <net-libs/miniupnpc-2.2.8:= )
zstd? ( app-arch/zstd )
"
RDEPEND="
diff --git a/games-simulation/simutrans/simutrans-124.0.ebuild b/games-simulation/simutrans/simutrans-124.0.ebuild
index 87559c0abb1b..897eb3f3b8d1 100644
--- a/games-simulation/simutrans/simutrans-124.0.ebuild
+++ b/games-simulation/simutrans/simutrans-124.0.ebuild
@@ -49,7 +49,10 @@ BDEPEND="
"
RESTRICT="test" # Opens the program and doesn't close it.
-PATCHES=( "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-124.0-disable-svn-check.patch
+ "${FILESDIR}"/${PN}-124.1-fix-miniupnpc-api.patch
+)
src_unpack() {
unpack "simutrans-src-${MY_PV}.zip"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2024-08-20 6:49 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-08-20 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 0a97bc1ba1cce7a95a1b5debfaa88f0862cadb63
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Aug 9 12:39:39 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:42:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a97bc1b
games-simulation/simutrans: drop 123.0.1-r2, 124.0
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/38027
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 7 --
.../simutrans/simutrans-123.0.1-r2.ebuild | 109 --------------------
games-simulation/simutrans/simutrans-124.0.ebuild | 114 ---------------------
3 files changed, 230 deletions(-)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index 22106345b7ca..6b11d1e4bbdc 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,13 +1,6 @@
-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-src-124-2-1.zip 5463858 BLAKE2B 034dabd8a74a9dc9d57f72d92179a27c97a718a27470938d4054283d45e0d6b3a9bb34e31ec3b2574e90e1f9d1ebf27a2343ee760818ebc8b109f758fc45a131 SHA512 e8cd229a08e52542f0760227889f0db30017f43ddf44789770a6d6fe9e76d6b82288d2174381e4ab22391cacad97201dc10bc83d1e51a8947b82c5a013450d35
-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_language_pack-Base+texts-124.2.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
DIST simutrans_simupak64-124-2.zip 5092179 BLAKE2B d953368405ff560eafc25eaa5412a72f3ad7b2344ee9e3ada09922d0291768fb710c4ec9a4ebc0823ac84a4226178c81befaf11c958d771bb15f6f7c7c344f6d SHA512 f2edd7ca15966d7c0284637c3f90d335fd34202d8120e92297de4cc451a6c9c543532e3d5ea38181f59e70db4a6d0bae4da0c240556391e3d5872e782e6bb73d
diff --git a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild b/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
deleted file mode 100644
index 4c3b32b2f157..000000000000
--- a/games-simulation/simutrans/simutrans-123.0.1-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop flag-o-matic optfeature toolchain-funcs xdg
-
-MY_PV=${PV//./-}
-MY_PAK_64="simupak64-123-0.zip"
-# Required for network games, published in release announcement.
-MY_SVN_REVISION="10421"
-
-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/simutrans_language_pack-Base+texts-${PV}.zip
- https://github.com/aburch/simutrans/raw/9c84822/simutrans.svg
-"
-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 truetype upnp zstd"
-
-DEPEND="
- app-arch/bzip2
- media-libs/libpng:0=
- media-libs/libsdl2[sound,video]
- sys-libs/zlib
- midi? ( media-sound/fluidsynth:=[sdl] )
- truetype? ( media-libs/freetype )
- upnp? ( <net-libs/miniupnpc-2.2.8:= )
- zstd? ( app-arch/zstd )
-"
-RDEPEND="
- ${DEPEND}
- midi? ( media-sound/fluid-soundfont )
-"
-BDEPEND="
- app-arch/unzip
- virtual/pkgconfig
-"
-RESTRICT="test" # Opens the program and doesn't close it.
-
-PATCHES=( "${FILESDIR}"/${PN}-123.0.1-silence-svn-and-git-errors.patch )
-
-src_unpack() {
- unpack "simutrans-src-${MY_PV}.zip"
- use minimal || unpack "simutrans_${MY_PAK_64}"
-
- # 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
- append-flags -fno-strict-aliasing # bug #859229
-
- eautoreconf
-
- # Make it look for the data in the right directory.
- sed -i -e "s:argv\[0\]:\"/usr/share/${PN}/\":" simmain.cc || die
-}
-
-src_configure() {
- default
-
- cat > config.default <<-EOF || die
- BACKEND=sdl2
- OSTYPE=linux
- OPTIMISE=0
- STATIC=0
- MULTI_THREAD=1
- USE_UPNP=$(usex upnp 1 0)
- USE_FREETYPE=$(usex truetype 1 0)
- USE_ZSTD=$(usex zstd 1 0)
- USE_FLUIDSYNTH_MIDI=$(usex midi 1 0)
- VERBOSE=1
- FLAGS := -DREVISION="${MY_SVN_REVISION}"
-
- HOSTCC = $(tc-getCC)
- HOSTCXX = $(tc-getCXX)
- EOF
-}
-
-src_install() {
- newbin build/default/sim ${PN}
- insinto usr/share/${PN}
- doins -r simutrans/*
- doicon "${DISTDIR}"/${PN}.svg
- domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- optfeature_header "Since 123.0 this ebuild only installs the Pak64 PakSet. You can install"
- optfeature "other PakSets" games-simulation/simutrans-paksets
-}
diff --git a/games-simulation/simutrans/simutrans-124.0.ebuild b/games-simulation/simutrans/simutrans-124.0.ebuild
deleted file mode 100644
index 897eb3f3b8d1..000000000000
--- a/games-simulation/simutrans/simutrans-124.0.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# 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
- "${FILESDIR}"/${PN}-124.1-fix-miniupnpc-api.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] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/
@ 2024-08-20 6:49 Joonas Niilola
0 siblings, 0 replies; 13+ messages in thread
From: Joonas Niilola @ 2024-08-20 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 3784634b0308762f3cf381717e0bef213951d46b
Author: tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Aug 9 12:10:30 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:42:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3784634b
games-simulation/simutrans: add 124.2.1
Signed-off-by: tastytea <gentoo <AT> tastytea.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
games-simulation/simutrans/Manifest | 3 +
.../simutrans/simutrans-124.2.1.ebuild | 113 +++++++++++++++++++++
2 files changed, 116 insertions(+)
diff --git a/games-simulation/simutrans/Manifest b/games-simulation/simutrans/Manifest
index 5661707dec8d..22106345b7ca 100644
--- a/games-simulation/simutrans/Manifest
+++ b/games-simulation/simutrans/Manifest
@@ -1,10 +1,13 @@
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-src-124-2-1.zip 5463858 BLAKE2B 034dabd8a74a9dc9d57f72d92179a27c97a718a27470938d4054283d45e0d6b3a9bb34e31ec3b2574e90e1f9d1ebf27a2343ee760818ebc8b109f758fc45a131 SHA512 e8cd229a08e52542f0760227889f0db30017f43ddf44789770a6d6fe9e76d6b82288d2174381e4ab22391cacad97201dc10bc83d1e51a8947b82c5a013450d35
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_language_pack-Base+texts-124.2.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
+DIST simutrans_simupak64-124-2.zip 5092179 BLAKE2B d953368405ff560eafc25eaa5412a72f3ad7b2344ee9e3ada09922d0291768fb710c4ec9a4ebc0823ac84a4226178c81befaf11c958d771bb15f6f7c7c344f6d SHA512 f2edd7ca15966d7c0284637c3f90d335fd34202d8120e92297de4cc451a6c9c543532e3d5ea38181f59e70db4a6d0bae4da0c240556391e3d5872e782e6bb73d
diff --git a/games-simulation/simutrans/simutrans-124.2.1.ebuild b/games-simulation/simutrans/simutrans-124.2.1.ebuild
new file mode 100644
index 000000000000..3775cbd70c54
--- /dev/null
+++ b/games-simulation/simutrans/simutrans-124.2.1.ebuild
@@ -0,0 +1,113 @@
+# 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-124-2.zip" # NOTE: usually this is ${MY_PV}
+# Required for network games, published in release announcement on the forums
+# <https://forum.simutrans.com/index.php/board,3.0.html>
+MY_SVN_REVISION="11366"
+
+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}/trunk"
+
+# 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"
+ cd trunk/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] 13+ messages in thread
end of thread, other threads:[~2024-08-20 6:49 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 11:03 [gentoo-commits] repo/gentoo:master commit in: games-simulation/simutrans/ Viorel Munteanu
-- strict thread matches above, loose matches on Subject: below --
2024-08-20 6:49 Joonas Niilola
2024-08-20 6:49 Joonas Niilola
2024-07-26 7:40 Joonas Niilola
2024-06-08 7:10 Joonas Niilola
2024-06-08 7:10 Joonas Niilola
2022-08-28 8:22 Joonas Niilola
2022-06-21 7:02 Florian Schmaus
2022-06-21 7:02 Florian Schmaus
2022-02-24 13:04 Joonas Niilola
2022-02-24 11:34 Joonas Niilola
2021-11-26 3:40 Sam James
2017-07-05 8:14 Lars Wendler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox