diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:17:17 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:17:17 +0000 |
commit | 7c5c4f133910f20e57b740f98a6e31bdee35fc14 (patch) | |
tree | a09447ec13e8a80ac3ebfbccad0deb05ec0d9645 /games-rpg | |
parent | initial import wrt #419167 (diff) | |
download | historical-7c5c4f133910f20e57b740f98a6e31bdee35fc14.tar.gz historical-7c5c4f133910f20e57b740f98a6e31bdee35fc14.tar.bz2 historical-7c5c4f133910f20e57b740f98a6e31bdee35fc14.zip |
initial import wrt #419167
Package-Manager: portage-2.2.0_alpha168/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/bastion/Manifest | 18 | ||||
-rw-r--r-- | games-rpg/bastion/bastion-20120620.ebuild | 120 | ||||
-rw-r--r-- | games-rpg/bastion/metadata.xml | 15 |
3 files changed, 151 insertions, 2 deletions
diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest index ed977ec30346..095180379c66 100644 --- a/games-rpg/bastion/Manifest +++ b/games-rpg/bastion/Manifest @@ -1,4 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST Bastion-HIB-2012-06-20.sh 1055161705 SHA256 f1e67f8e8dd0ba823cab0f16f2269dc8d9230ebca7a304927ff540320169c431 SHA512 e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad WHIRLPOOL 2ec712724f263d9cbd181a128a0adc22f38465447db03f1d382aa231bad98e637b27ec2e73b2acf66a5775f53b0406c82cf0cd36befdc13f6afc5434887ac040 -EBUILD bastion-20120620.ebuild 2594 SHA256 09e88823cbacfafa0f33b709adbb815025cb1c6719b1559bbf62af6acac382ed SHA512 c16366acf3211a32bdbc503aafd4d7aedaaa334905f0fa116be9f5b2d0b3d36331642f2cc7e1dd9f139610a530b471f67ee6cb9aa207e94310b2bc557631bdc0 WHIRLPOOL 9a470a0a0c6409155370f5114166336531ae908a2b2e6fbbd126705466e50577c710198ed6c6b2f8f4b6d2d941ba1e62d15f1f63c23e5ebc62d5d7c17b5ccf6e -MISC ChangeLog 275 SHA256 655f69dd6b9460b9bad36e6126b625a6876d7dff3acbf052ad243c0bc3410153 SHA512 ff3075ce19e6c92a8e5f31573309e68aafcd13759d0672f02a444eef6a23cbc90364a52af6ecf9255cddb61444aa5e2c5797d80a0d4a19ff4b44e6b37f0fdfc0 WHIRLPOOL 5aacc24fe321d8651bbb0ce629d4b17fb60d56b7b091bd2364823dc0e357166869f1f2dd44eb803ca9ddced6cc9629927bae8ccfa8c46a3afa9c81a4e9dc6ee1 +EBUILD bastion-20120620.ebuild 2699 SHA256 bce2c34fb29417b0e4ff47eb0f4525fde07c68b5f18977c9f3c7272231c934bf SHA512 4c7b443d05bc3af7d3c9923af0648cab4e5aa732b5ba4850a0ebaa815164a199c767161765008eed08d5a2e34dbe4c7fb8259311b4faed1d2efcfc28009b1285 WHIRLPOOL 196dda398f62c92090c5bca3d3e6e8d7b92d051dd101e073a397d48e4f08a828caedfd99dce09bfb10e2b71b69bd7abe6e1ae312e37c2b91d26d1b8b017bdcea +MISC ChangeLog 366 SHA256 427a990f6058f6bb5c83b1aa48d66551a3b5f596b4e7009cb98fb8d685b57cc4 SHA512 116631256f3ae0aa1068e52bd0912579ab5d09f814f86d364191074af49c7cb0e87195ca3bd7ed68bd28aa2fe2c3384dcbaf0a1325dc96a4324c309ce4c7361c WHIRLPOOL 50b2241e8b4da252eb72590fd866ecff87609085f4d0b2f13be6543ae4713e4cd3e922f1c8e200cf8ab9974b09a7e1bca7605fba2399e2863c7ad15e775b0e3f MISC metadata.xml 357 SHA256 edcc7199ab480ee354907b48f6b4d582a64e82fa5160973b671106f08b153145 SHA512 73094df9982a4b60d3faba468322c1450aa515acc405f3deff1ce29307c1dfb301a66e09586df2ae39cc8262020e6b6f6141372cb9baaf8787910593582a5013 WHIRLPOOL 19503a292e1bb54ac364a724f1a8f785a54439daaeb2c609041759a0f8447e11c38afb754fe617909c68406c0325a0fffbe19ae20a617e1bcedf10d77cb59ef2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRS4btAAoJEFpvPKfnPDWzrDUIAJBQLFqsnVeYtuVsD7d3JyVJ +mJtlJ/jX3wJzfzBXE76zQRTScYLQFGFkvafo3Ovw9F6gSzmuDNRTQPEmmow/Ww+m +o/grzYb98NJdff4jqbLC2C3smtm66TepGw/8NkJ48RZfMrpS27noYkkJK8BzEIvH +ID5epZoTMgrN28XuWg8UCC/LziYhQ9iZLzxhU3OXGhybG66TConGhFflyiO2a8/s +gNL7M4hd4jr8fjssuW8FRUUSujJzEqnbFrsvqX8u1Fkn7lqI4D+vCYJlpCPJbjpM +mE6YKajQE3DDnK8vdbXbymGGD+clwP09pIhYYAQvyeOElLFqP21+CvLC/mdAXT4= +=YD3y +-----END PGP SIGNATURE----- diff --git a/games-rpg/bastion/bastion-20120620.ebuild b/games-rpg/bastion/bastion-20120620.ebuild new file mode 100644 index 000000000000..95312df886f0 --- /dev/null +++ b/games-rpg/bastion/bastion-20120620.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/bastion/bastion-20120620.ebuild,v 1.1 2013/03/21 22:17:15 hasufell Exp $ + +# TODO: - unbundle mono when multilib +# - unbundle fmodex when multilib + +EAPI=5 + +inherit eutils gnome2-utils check-reqs unpacker games + +TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2} +DESCRIPTION="An original action role-playing game set in a lush imaginative world" +HOMEPAGE="http://supergiantgames.com/?page_id=242" +SRC_URI="Bastion-HIB-${TIMESTAMP}.sh" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/Bastion.bin.x86 + ${MYGAMEDIR#/}/lib/*" + +# mono shit: vague dependencies +RDEPEND=" + virtual/opengl + amd64? ( + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-xlibs + ) + x86? ( + media-libs/freealut + media-libs/openal + media-libs/sdl-gfx + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-net + media-libs/sdl-ttf + media-libs/smpeg + x11-libs/libX11 + x11-libs/libXft + !bundled-libs? ( + dev-lang/mono + media-libs/fmod:1 + media-libs/libsdl[X,audio,video,opengl,joystick] + ) + )" + +CHECKREQS_DISK_BUILD="2400M" + +pkg_pretend() { + if has splitdebug ${FEATURES}; then + eerror "FEATURES=splitdebug is broken for this package, disable it locally" + die "FEATURES=splitdebug is broken for this package, disable it locally" + fi + + check-reqs_pkg_pretend +} + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + local myarch=$(usex amd64 "x86" "x86_64") + + unpack_makeself + + mv instarchive_all{,.tar.lzma} || die + mv instarchive_linux_${myarch}{,.tar.lzma} || die + + mkdir ${P} || die + cd ${P} || die + + unpack ./../instarchive_{all,linux_${myarch}}.tar.lzma +} + +src_prepare() { + if ! use bundled-libs ; then + einfo "Removing bundles libs..." + rm -v lib/libSDL-1.2.so* || die + use x86 && { rm -v lib/libmono-2.0.so* lib/libfmodex.so* || die ;} + fi +} + +src_install() { + insinto "${MYGAMEDIR}" + doins -r * + + newicon -s 256 Bastion.png ${PN}.png + make_desktop_entry ${PN} + games_make_wrapper ${PN} "./Bastion.bin.x86" "${MYGAMEDIR}" "${MYGAMEDIR}/lib" + + fperms +x "${MYGAMEDIR}"/Bastion.bin.x86 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + + elog "If you are using opensource drivers you should consider installing:" + elog " media-libs/libtxc_dxtn" + + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-rpg/bastion/metadata.xml b/games-rpg/bastion/metadata.xml new file mode 100644 index 000000000000..d647e74d87ea --- /dev/null +++ b/games-rpg/bastion/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <use> + <flag name='bundled-libs'> + Use the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> + |