diff options
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/osmos/Manifest | 3 | ||||
-rw-r--r-- | games-puzzle/osmos/files/FortuneCity.ttf | bin | 40304 -> 0 bytes | |||
-rw-r--r-- | games-puzzle/osmos/osmos-1.6.0.ebuild | 29 |
3 files changed, 22 insertions, 10 deletions
diff --git a/games-puzzle/osmos/Manifest b/games-puzzle/osmos/Manifest index 703bea5..a3782fc 100644 --- a/games-puzzle/osmos/Manifest +++ b/games-puzzle/osmos/Manifest @@ -1,4 +1,3 @@ -AUX FortuneCity.ttf 40304 RMD160 271d0ec47a8aac715cdd6fa5e0cd2c5aade63a75 SHA1 d1cef76d31397ceefdb89aa363a917125cbf5587 SHA256 8baa477809afc50a0e542b783e4a7e1c3c43d8681cb6b1f3714684a4a3c6d4ae DIST Osmos_1.6.0.tar.gz 20478208 RMD160 dd8bbd93aae3f0ec18acaf84777608e7106ac241 SHA1 75a42968a66109a66ad2ba1c5957cd2405ce508e SHA256 4b75fe092a6e3ed7df849293dfaa59c41e80f0c1c01cf1102a227304656fced6 -EBUILD osmos-1.6.0.ebuild 1229 RMD160 e685dc52e9f6d0fa5763a4ad95f73752018d0be3 SHA1 c6f4ec3a94bd8c1c14eee0459f495c25087e9405 SHA256 8c161002debbc2169c1855d244093148c207641f9aa28116d5fb114d42fa3e8e +EBUILD osmos-1.6.0.ebuild 1588 RMD160 9ef77de46720f5c3990beaeeb451f003baadb7ff SHA1 7116acdce3f9f6ff4e84f697b52f193bad205930 SHA256 11b6d84697f3ffeae314b38681f71f88e34be77a44684eab944d2d0ef8055d79 MISC metadata.xml 359 RMD160 1dec4920fd228daa6c767eb7f577368a3ad746b2 SHA1 c84c9c93f9c3132e936fe6c47fad4d3df79183ee SHA256 914fa8ef8315717cae88b3a25eb68853c382d3af6c65aa433e92e2c4ed28cf27 diff --git a/games-puzzle/osmos/files/FortuneCity.ttf b/games-puzzle/osmos/files/FortuneCity.ttf Binary files differdeleted file mode 100644 index 5ddf297..0000000 --- a/games-puzzle/osmos/files/FortuneCity.ttf +++ /dev/null diff --git a/games-puzzle/osmos/osmos-1.6.0.ebuild b/games-puzzle/osmos/osmos-1.6.0.ebuild index 6461501..b6c252b 100644 --- a/games-puzzle/osmos/osmos-1.6.0.ebuild +++ b/games-puzzle/osmos/osmos-1.6.0.ebuild @@ -33,19 +33,32 @@ S=${WORKDIR}/${MY_PN} GAMES_CHECK_LICENSE="yes" +src_prepare() { + # Fix for font error + # See http://www.hemispheregames.com/forum/viewtopic.php?f=8&t=498&start=0 + # Thanks to Martin von Gagern for proposed way and research! + echo -n $'\x5d\x19\xc3\x5c' | \ + dd of=Fonts/FortuneCity.ttf bs=1 conv=notrunc seek=128 \ + || die "Binary patching failed" + echo -n $'\x80\x77' | \ + dd of=Fonts/FortuneCity.ttf bs=1 conv=notrunc seek=138 \ + || die "Binary patching failed" +} + src_install() { local dir="${GAMES_PREFIX_OPT}/${PN}" - insinto "${dir}" exeinto "${dir}" - doexe ${MY_PN} ${MY_PN}.bin{32,64} || die "doexe" + doexe ${MY_PN} + if use amd64 ; then + doexe ${MY_PN}.bin64 || die "doexe" + fi + if use x86 ; then + doexe ${MY_PN}.bin32 || die "doexe" + fi dohtml readme.html - doins -r Sounds/ Textures/ Osmos-* *.cfg || die "doins failed" - - # Fix for font error - # See http://www.hemispheregames.com/forum/viewtopic.php?f=8&t=498&start=0 - insinto "${dir}"/Fonts - doins "${FILESDIR}"/FortuneCity.ttf + insinto "${dir}" + doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed" newicon Icons/256x256.png ${PN}.png |