diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:17:15 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:17:15 +0000 |
commit | e0a67b16d93a3df71794795c1f933a85e8cbf731 (patch) | |
tree | 97c361ed5e9f778f91739f1bb016251929ba2ef2 /games-rpg/bastion | |
parent | doman is no longer needed so simplify ebuild a bit more (diff) | |
download | gentoo-2-e0a67b16d93a3df71794795c1f933a85e8cbf731.tar.gz gentoo-2-e0a67b16d93a3df71794795c1f933a85e8cbf731.tar.bz2 gentoo-2-e0a67b16d93a3df71794795c1f933a85e8cbf731.zip |
initial import wrt #419167
(Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg/bastion')
-rw-r--r-- | games-rpg/bastion/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/bastion/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/bastion/bastion-20120620.ebuild | 120 | ||||
-rw-r--r-- | games-rpg/bastion/metadata.xml | 15 |
4 files changed, 149 insertions, 0 deletions
diff --git a/games-rpg/bastion/ChangeLog b/games-rpg/bastion/ChangeLog new file mode 100644 index 000000000000..a76e17fd38a0 --- /dev/null +++ b/games-rpg/bastion/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/bastion +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/bastion/ChangeLog,v 1.1 2013/03/21 22:17:15 hasufell Exp $ + +*bastion-20120620 (21 Mar 2013) + + 21 Mar 2013; Julian Ospald <hasufell@gentoo.org> +bastion-20120620.ebuild, + +metadata.xml: + initial import wrt #419167 + diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest new file mode 100644 index 000000000000..ed977ec30346 --- /dev/null +++ b/games-rpg/bastion/Manifest @@ -0,0 +1,4 @@ +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 +MISC metadata.xml 357 SHA256 edcc7199ab480ee354907b48f6b4d582a64e82fa5160973b671106f08b153145 SHA512 73094df9982a4b60d3faba468322c1450aa515acc405f3deff1ce29307c1dfb301a66e09586df2ae39cc8262020e6b6f6141372cb9baaf8787910593582a5013 WHIRLPOOL 19503a292e1bb54ac364a724f1a8f785a54439daaeb2c609041759a0f8447e11c38afb754fe617909c68406c0325a0fffbe19ae20a617e1bcedf10d77cb59ef2 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> + |