forked from tastytea/overlay
games-simulation/simutrans: Revbump, added paks.
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
parent
2488cc8643
commit
356081b41b
|
@ -3,15 +3,19 @@ Hash: SHA256
|
|||
|
||||
AUX 0.120.4.1-Makefile.patch 205 BLAKE2B 77e40c646b1d15e63adee7c440972d9f1506df6e9caa0fb64fae54d8b9fe293238b8f339194f23aeb0a13643d4cd79028508efd9d7685be7e539e1a333822216 SHA512 00cdf9787c0c20a59bbd12ac96a5d1a77d38f4a5bfcc093d1f37875faed78668ab6f7e39885195e08720f42459e9dcffccdf3563d8e00a2a408e58bb8be94aa1
|
||||
AUX simutrans.desktop 164 BLAKE2B 016533a2e78f3b9c9e4241695e03289349f7f6876e331f4560a20a072e1c84055fb8566605427b0647bc69036d93574e3e4a6eaf6a39fd79f5511c7ac7e3330c SHA512 123c489484296757bc1586851ba0a4780e8c7e0df143d05172248ad75fce672de283a0977f20df204d756c7e472ffa69fc98ecd081c59a34889042684cca4842
|
||||
DIST language_pack-Base+texts.zip 1097263 BLAKE2B 08678f36a2425b84bf5f440a546af7ca6507ee17bdcfd3096335c20ce60c23a5375eb133f597806bed28db2d9ed067669e83a4df47443be0cb48bf151ba91ef2 SHA512 015caafaeace03bd5475e66c93bb433d9b07b600c3fcf125a4bda9b2856ba41dc43b923e032920df4a060087ead7180df59092f23ab6dcf12579b580827b1248
|
||||
DIST simupak64-120-4.zip 4531808 BLAKE2B 906291c4b56d2836d0d4379cc715b67a6f1b83b08dbb8175fd82abc0940c478ef4055320d9071c3145b33b2ef3f8b708e308d73de2ca32a2388802ccfc2f13c5 SHA512 c42cbf2257950ff981a2fc7b1cced50ca84610591991cf25431829cc8fcbe110c0031879fca0a128593cb766f91c427fec2d3e657217e94369bc90f69fd172cc
|
||||
DIST simutrans-src-120-4-1.zip 4171225 BLAKE2B 5291e73613a2bfa095a98b51d6eaaf5283b9f2b211ddde8dc8aefeccd9459479aad4d233bc975844537fb2792173b9ef15cbf8120117f0f61cd54816912eae69 SHA512 b85b8916e2853a519ccf8c310d67866203e71922aa6b23cd5816fb1924cc64f190735be15a0da9e7c2e94ea844ec6938e91be40ccfa2914f3a3f73d598851357
|
||||
EBUILD simutrans-0.120.4.1.ebuild 1697 BLAKE2B 7fb721f496d138c7e420e5e7f65e84514647323bbd1f5efa1d7856dd21960f098324a7178d292d1010dbc43c09de5020a65c1f465df5e2dec0b7284e4ef9e55e SHA512 da00b0f778cf1bfb967c182e6cdb54dc2da0e20d8eb1d310bc0914ca7bcea05f5ca5a77f1b6234989985b3e68a0969a3e6a28d37487a6b748cd8631ff86128af
|
||||
MISC metadata.xml 321 BLAKE2B c6e6c7c20d3a62aea51c2b2cd7a1739bf68fa078f5a7ffa26102e150dbc414e98e6b0469acabd2eed195e3c240401d9aa3d577daa3d9f8449d9042b4bf644d68 SHA512 4f0e393048086209a54e1ab9a3fb8acd134160be5a9b75c0c26ebcb94dec6ff2165a6379c2374565dd633c83c1bedbe9bfe55c9a5bb9d286099ac9e0d2d57e2e
|
||||
DIST simutrans_PAK128.german_1.1_for_ST_120.4.1.zip 130569973 BLAKE2B 344ad9afc2f8e22893752a27df7eaffb9b9c8112ab6df7f4a40e573fda66249477916b29ec88b563b66aa2ac4a762ea6fc0e017a3d0347c550debef7f121e020 SHA512 99d5e0faec3224dbc95cd9506f21384c4fe7dc99c8d7b3d87cd93aa99815a1b22a1dc62e1c7120a37781c1aa22e76e2fe4255f3effc2c4d97bdb3081e4f4be7b
|
||||
DIST simutrans_language_pack-Base+texts-0.120.4.1.zip 1174644 BLAKE2B 3acd8be8e8bc13fd6df7c06a4cabb0cf73b9b0d680824ad43971fec446e2552c5927e7758ed216f9b2e27416522229058fe2ba67946624ed7f778a8cbec7c0a0 SHA512 6b7f08bb770744b478e91a30fe189d4476a5afa688bd10f2d67eb888b2bbf156d48e6ca39d8495317ca7dda79775e15c01b21ef22438646fd2d8aea8468e650c
|
||||
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-120-4.zip 4531808 BLAKE2B 906291c4b56d2836d0d4379cc715b67a6f1b83b08dbb8175fd82abc0940c478ef4055320d9071c3145b33b2ef3f8b708e308d73de2ca32a2388802ccfc2f13c5 SHA512 c42cbf2257950ff981a2fc7b1cced50ca84610591991cf25431829cc8fcbe110c0031879fca0a128593cb766f91c427fec2d3e657217e94369bc90f69fd172cc
|
||||
EBUILD simutrans-0.120.4.1-r1.ebuild 2870 BLAKE2B 507828433bab9b77116c0d200cd12b6254738bbd981be84cb973849d0a276eab179c067448820a24d5e66cc2a248265fe903763f6d2991dfd326a3cdc6992576 SHA512 52880505acec9b4d35eb5713d486033a5398e6f66018ba2b0b04fad199cb410aaa3b14d527ed5c61aaf9ce9a48bd8cd5b698c6f211ab042ab19207e20eea6fc0
|
||||
MISC metadata.xml 569 BLAKE2B f95bddb6eec0fdf604b4fdd39c0bfc61e44694d2036ef34cc8df1ec2863d49bd3e847018bf1854bf0bc8ae36336fa4892ced73d9af38d8ec601ea5645302a2d9 SHA512 825f32b4d337887506e055097ebfc77abcfac2721f5e5aed023f5079cf56a0b10847b5773b8b0f403e05148e8033e7508a071d9c7b1792820bdc39cbdcca3ecd
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXapPFgAKCRDPw5SX8bJu
|
||||
B4tmAP9R4Q7mCBH0u7xzSqO+WLyPbLzJp9isSe3TTEr4HWWoPQD/cIxX7LQ69OON
|
||||
L9+BZnlUBwTTV6rszFeUlVjwr5xcZPE=
|
||||
=7M+m
|
||||
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXaxfYwAKCRDPw5SX8bJu
|
||||
B5ZwAP9dbnbFkdBTo5yqH0Q2zRMwEsdOK6Tsd3dZT9a1axLVFQD/S1MnFo8qD0ys
|
||||
fON4pJCNwP2oAg9yVk5/KhnaRHk/Es4=
|
||||
=iSAW
|
||||
-----END PGP SIGNATURE-----
|
||||
|
|
|
@ -8,4 +8,10 @@
|
|||
<upstream>
|
||||
<remote-id type="sourceforge">simutrans</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="pak128">Install more detailed theme</flag>
|
||||
<flag name="pak128-britain">Install british theme</flag>
|
||||
<flag name="pak128-german">Install german theme</flag>
|
||||
<flag name="pak192-comic">Install comic-like theme</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
99
games-simulation/simutrans/simutrans-0.120.4.1-r1.ebuild
Normal file
99
games-simulation/simutrans/simutrans-0.120.4.1-r1.ebuild
Normal file
|
@ -0,0 +1,99 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic xdg-utils
|
||||
|
||||
MY_PV=${PV/0./}
|
||||
MY_PV=${MY_PV//./-}
|
||||
SIMUPAK_64="simupak64-${MY_PV%-[0-9]*}.zip"
|
||||
SIMUPAK_128_V="2.8.1"
|
||||
SIMUPAK_128_BRITAIN="pak128.Britain.1.18-120-3.zip"
|
||||
SIMUPAK_128_GERMAN="PAK128.german_1.1_for_ST_120.4.1.zip"
|
||||
SIMUPAK_192_COMIC="pak192.comic.0.5.zip"
|
||||
|
||||
DESCRIPTION="A free Transport Tycoon clone"
|
||||
HOMEPAGE="http://www.simutrans.com/"
|
||||
SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
|
||||
http://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip -> 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%20${PV/0./}%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} )"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+pak128 +pak128-britain +pak128-german +pak192-comic"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
media-libs/sdl-mixer[midi]
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[sound,video]"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
virtual/imagemagick-tools[png]"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-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}"
|
||||
use pak192-comic && unpack "simutrans_${SIMUPAK_192_COMIC}"
|
||||
|
||||
# Bundled text files are incomplete, bug #580948
|
||||
cd "${S}/simutrans/text" || die
|
||||
unpack "simutrans_language_pack-Base+texts-${PV}.zip"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
strip-flags # bug #293927
|
||||
printf "BACKEND=mixer_sdl\nCOLOUR_DEPTH=16\nOSTYPE=linux\nVERBOSE=1" \
|
||||
> config.default || die
|
||||
|
||||
# make it look in the install location for the data
|
||||
sed -i \
|
||||
-e "s:argv\[0\]:\"/usr/share/${PN}/\":" \
|
||||
simmain.cc || die
|
||||
}
|
||||
|
||||
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/*
|
||||
dodoc documentation/*
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
doins simutrans.png
|
||||
insinto /usr/share/applications
|
||||
doins "${FILESDIR}/${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
|
@ -1,83 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic xdg-utils
|
||||
|
||||
MY_PV=${PV/0./}
|
||||
MY_PV=${MY_PV//./-}
|
||||
SIMUPAK="simupak64-${MY_PV%-[0-9]*}.zip"
|
||||
|
||||
DESCRIPTION="A free Transport Tycoon clone"
|
||||
HOMEPAGE="http://www.simutrans.com/"
|
||||
SRC_URI="mirror://sourceforge/simutrans/simutrans-src-${MY_PV}.zip
|
||||
http://simutrans-germany.com/translator/data/tab/language_pack-Base+texts.zip
|
||||
mirror://sourceforge/simutrans/${SIMUPAK}"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
media-libs/sdl-mixer[midi]
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[sound,video]"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
virtual/imagemagick-tools[png]"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-Makefile.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack simutrans-src-${MY_PV}.zip
|
||||
unpack "${SIMUPAK}"
|
||||
|
||||
# Bundled text files are incomplete, bug #580948
|
||||
cd "${S}/simutrans/text" || die
|
||||
unpack language_pack-Base+texts.zip
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
strip-flags # bug #293927
|
||||
printf "BACKEND=mixer_sdl\nCOLOUR_DEPTH=16\nOSTYPE=linux\nVERBOSE=1" \
|
||||
> config.default || die
|
||||
|
||||
# make it look in the install location for the data
|
||||
sed -i \
|
||||
-e "s:argv\[0\]:\"/usr/share/${PN}/\":" \
|
||||
simmain.cc || die
|
||||
|
||||
rm simutrans/*.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin build/default/sim ${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r simutrans/*
|
||||
dodoc documentation/*
|
||||
insinto /usr/share/icons/hicolor/32x32/apps
|
||||
convert simutrans.ico simutrans.png
|
||||
doins simutrans.png
|
||||
insinto /usr/share/applications
|
||||
doins "${FILESDIR}/${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user