diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-02-13 19:25:04 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-02-13 19:25:04 +0000 |
commit | 413c1efc3e89ad63c59c056049f9ef2ea152f3c0 (patch) | |
tree | 14bccd2d005c79ca91bcd15619ca70c4e22c856b /games-action | |
parent | initial import wrt #412057 (diff) | |
download | historical-413c1efc3e89ad63c59c056049f9ef2ea152f3c0.tar.gz historical-413c1efc3e89ad63c59c056049f9ef2ea152f3c0.tar.bz2 historical-413c1efc3e89ad63c59c056049f9ef2ea152f3c0.zip |
initial import wrt #412057
Package-Manager: portage-2.2.0_alpha162/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/trine2/Manifest | 18 | ||||
-rw-r--r-- | games-action/trine2/metadata.xml | 14 | ||||
-rw-r--r-- | games-action/trine2/trine2-1.16.ebuild | 128 |
3 files changed, 158 insertions, 2 deletions
diff --git a/games-action/trine2/Manifest b/games-action/trine2/Manifest index 8fa434655c2c..790dae9d3eba 100644 --- a/games-action/trine2/Manifest +++ b/games-action/trine2/Manifest @@ -1,4 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST trine2_linux_installer.run 1631149097 SHA256 39edf004fb4001360bb4b432cd365ab4b14350612e5632df789d568d682177e7 SHA512 d0c402f4f73f45290784c9414a5b59f89513b14bd09ade815d4456a77ae95909082e0a6a1afad198f6f58707a5d10eedbacd30d6cc5d063eabb702b03a7dc56e WHIRLPOOL 888073296772659c87d9955c14ac116c93bcf5da6ec2715e6a74b10520f2dcd94c5e50a794d0833f3242e3c47689f3f0042883b6673c6f8e0563fea829e06ad0 -EBUILD trine2-1.16.ebuild 2962 SHA256 afbc0cb8ccbc871166dc7a97cbde8db6613b6ee3831fc12c5ba9b4a6d42e73a5 SHA512 839b15290ef60c61044a5f20c98a611d501eda3455cf727d6dfe3881a7b67f60a100ae3216fb594bdeb6271cb1e5d822cd02247e65ac5714ba20e6b6f4255f66 WHIRLPOOL 307041c0bd1c37df118c8478e71d5ef476f4d4918f1217d3c78174b8ad9946ad3c71e22b500373f3d0b93c7b592a5aba0704ef68978fb10c99d8e55b13443a47 -MISC ChangeLog 267 SHA256 6e80fa00a611724eb7cdfde4d79f49817c82383375ad4a91192a48ff411b1401 SHA512 b89b95fc6da47502df85bcecca1e515499505239ebf2d3dd92fb525932b03ccd80fe8b9aee39bc6292fb48e077723bba30675ca93c3e170fcaf1238c469f593e WHIRLPOOL 7d637d38f5428bf5ffefdd7a112f2c0e182dcf5a3aafcff4a344dbb27ca30d770abe0afe0ceb68fa7167c9d192b97f9ab1235b470a65e196a35b7e0d1380af43 +EBUILD trine2-1.16.ebuild 3064 SHA256 5a83654ee9b2d33de3eaa843b3e1292a7431e096ec25ce5c3ac38e2c6b6a1bdb SHA512 e7e0405612fef2bdc6c3186aa3a331c3f32e66f9b705428816f0d26342505cf7cd483af30db0a87e369d4ebc4f45e7ba7eb04c73908d3c3b9920610fad8d0f3e WHIRLPOOL 59a0df1492eec0c6654996ad258a6faed9fb8fa4f39eba0402542792b2bbcabc4a92457a23faaf63f8c6b27e2931d7baa4972c88c6047205bd8c27d75fc737be +MISC ChangeLog 360 SHA256 e158b76eda6444123987173bb28f59082bb5f6da978697e06425f815cf30191c SHA512 be4b3b8afd472b30fffa84254fec33dfe4d3aff503b90adca5b41ce8ecdd2f8a04e101dc6a4388a5af3e3b3dbd32fabaab1ce3d690895ea2d4580d54815e0d1e WHIRLPOOL 6c0d054effe0a7441d3f8d9fd6b2c7e3d3ee6e3bd1505c9bbce38075eefeddb8b99a98ea7ff88b61210735cf99984e139403cb085161c420d613a7dad4e0aab0 MISC metadata.xml 388 SHA256 5bb2190dcf14f5fff13049e43bcbc4deba982da6855991b8795fd6dae2b8fae4 SHA512 f8c502a2dc695f8b8436a6b10112ba5a7d4db96d4d73986d8d809f2724c27ef7b63f44e8761d5c898f1fc680240472e2a3e0820afdc83c1e0aef579670156a9b WHIRLPOOL 06bbcebccf49bb15668c0704ce4df869d91f2975598d2f94f556d93d6a83d09ea392ae60529d0982f0f421ea55c3602062c754038696eca9277bf7913750a8e6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRG+iQAAoJEFpvPKfnPDWzBU8H/3oO3rtsgHWhYmrclceyADol +0SLL1rM1T0DXX4yYLx8LGOQ5lfPrV3GSr/+qyb9wk028mvNG0/aHekkm/kcYvtm/ +xhbAA/DK4O4fgm9toSRdMRHs7bpcEy3/hls0rWy0RB5zGIDUIjnRGpOc8S996ceb +hdvuWY9i4XiQvQp/3FGSDEOc7VWhVLpbXlpuGPbjwy8iyhZhuOzhIL4calgQT5Dh ++SyjWEpAsoBjZGwv/vrF3rZTbqzpW34DbLH8784tlOK4pxNUn22mcI8KSuvy5RQq +Lhz4Mw3AJG5OB1tdS8wsWPpCQLhaT32lfArRm5Lv8q1fyNCn5lDNbUMFpuzhNTw= +=bgSm +-----END PGP SIGNATURE----- diff --git a/games-action/trine2/metadata.xml b/games-action/trine2/metadata.xml new file mode 100644 index 000000000000..aa527189e358 --- /dev/null +++ b/games-action/trine2/metadata.xml @@ -0,0 +1,14 @@ +<?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='launcher'>Install gtk+ launcher</flag> + <flag name='system-libs'>Use system provided libraries.</flag> + </use> +</pkgmetadata> + diff --git a/games-action/trine2/trine2-1.16.ebuild b/games-action/trine2/trine2-1.16.ebuild new file mode 100644 index 000000000000..082ea67c3101 --- /dev/null +++ b/games-action/trine2/trine2-1.16.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/trine2/trine2-1.16.ebuild,v 1.1 2013/02/13 19:24:58 hasufell Exp $ + +EAPI=5 +inherit eutils unpacker gnome2-utils games + +MY_PN="Trine 2" +DESCRIPTION="A sidescrolling game of action, puzzles and platforming" +HOMEPAGE="http://www.trine2.com/" +SRC_URI="${PN}_linux_installer.run" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+launcher system-libs" +RESTRICT="fetch" + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${PN}* + ${GAMES_PREFIX_OPT}/${PN}/lib/*" + +# TODO: system-libs: no libsdl-1.3, no physx +RDEPEND=" + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-xlibs + launcher? ( app-emulation/emul-linux-x86-gtklibs ) + system-libs? ( media-gfx/nvidia-cg-toolkit[multilib] ) + ) + x86? ( + dev-libs/glib:2 + media-libs/freetype + media-libs/libogg + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + virtual/glu + virtual/opengl + launcher? ( + media-libs/fontconfig + media-libs/libpng:0 + x11-libs/gtk+:2 + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXinerama + x11-libs/libXxf86vm + ) + system-libs? ( media-gfx/nvidia-cg-toolkit ) + )" + +S=${WORKDIR} + +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 +} + +pkg_nofetch() { + einfo + einfo "Please buy & download \"${SRC_URI}\" from:" + einfo " ${HOMEPAGE}" + einfo "and move/link it to \"${DISTDIR}\"" + einfo +} + +src_unpack() { + local offset="$(( $(grep -a -h -n -m 1 -F -e THIS_IS_THE_LAST_SCRIPT_LINE_ARCHIVE_DATA_FOLLOWS "${DISTDIR}"/${A} | cut -d':' -f1) + 1 ))" + unpack_makeself ${A} "${offset}" "tail" +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + + insinto "${dir}" + doins -r data* + + exeinto "${dir}" + newexe "bin/trine2_linux_32bit" ${PN} + + exeinto "${dir}/lib" + use system-libs && { find lib/lib32 -type f -name "libCg*.so*" -delete || die ;} + doexe lib/lib32/* + + games_make_wrapper ${PN} "./${PN}" "${dir}" "${dir}/lib" + doicon -s 64 ${PN}.png + make_desktop_entry ${PN} "${MY_PN}" + + if use launcher ; then + exeinto "${dir}" + newexe bin/trine2_linux_launcher_32bit ${PN}-launcher + + games_make_wrapper ${PN}-launcher "./${PN}-launcher" "${dir}" "${dir}/lib" + make_desktop_entry ${PN}-launcher "${MY_PN} (launcher)" + + # launcher binary has hardcoded the script path + dodir "${dir}"/bin + dosym "${GAMES_BINDIR}"/trine2 "${dir}"/bin/trine2_bin_starter.sh + fi + + dodoc KNOWN_LINUX_ISSUES README + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + + einfo + elog "${MY_PN} savegames and configurations are stored in:" + elog " \${HOME}/.frozenbyte/${MY_PN//\ /}" + einfo + + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |