diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-29 00:04:14 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-29 00:04:14 +0000 |
commit | d91540de884593c0fb17addbcf46d69a012b259f (patch) | |
tree | 5cbc311f119bdad39408163c75530868087721af /games-rpg/grimrock | |
parent | initial import (diff) | |
download | historical-d91540de884593c0fb17addbcf46d69a012b259f.tar.gz historical-d91540de884593c0fb17addbcf46d69a012b259f.tar.bz2 historical-d91540de884593c0fb17addbcf46d69a012b259f.zip |
initial import
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-rpg/grimrock')
-rw-r--r-- | games-rpg/grimrock/Manifest | 18 | ||||
-rw-r--r-- | games-rpg/grimrock/grimrock-20121222.ebuild | 133 | ||||
-rw-r--r-- | games-rpg/grimrock/metadata.xml | 13 |
3 files changed, 162 insertions, 2 deletions
diff --git a/games-rpg/grimrock/Manifest b/games-rpg/grimrock/Manifest index c1d26677fd5c..36b7245356c5 100644 --- a/games-rpg/grimrock/Manifest +++ b/games-rpg/grimrock/Manifest @@ -1,4 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST LegendOfGrimrock-Linux-2012-12-22.sh 316754967 SHA256 b520b8ad907ed95c8a439bc46d5e2c9fdd32d099477be08995abbb45eed288e7 SHA512 66088f768397978c6e3d67bf8d5977dd77e5042a292d72f37405bc60a76ace586940bcffa918030fa925168c4cfc9043edb2d4fb7a117dd884933ec09aea4729 WHIRLPOOL cca611fe2f1a337bee57470952153dc53f973047f3c82e64d0980de5d7957f472dea638b50174e538c722c5f89c4132a868886fa375d1de88df97d44e56e00d9 -EBUILD grimrock-20121222.ebuild 2917 SHA256 da02344bdf6c517abe24c445aa9e7f972f9e53519e48373e46647714b19958fd SHA512 6684d28c6a546aa35b2a7c990fa95277d8a8414303c113d4940342d0bbafc50b74c6547b5e7ebeb293c9f1b2171980b6e49da8d7e090a34ff634f6c515ea40d7 WHIRLPOOL 610422e7d9c52379db02b125669db0254899c1a3a178efa55bf743e746a4048c9a5470339ec59bcdf6f85406cc06133406f409192bc51a359d58f24bf4390d54 -MISC ChangeLog 266 SHA256 d32835049f4843e8c697328d4ebb9553bdb284d5d7220e53fe6bb7d9baaa3287 SHA512 8a9a5556f94f80814ece172003692242d156527d2f9e10132db958c6a85ea7aa7254d2dfe73fbb390860028dcdeeae694792d8008548e8a5536a031c3b99163d WHIRLPOOL d9fa2cac701944040373fa03841caf092a7c21e5e97de31a02e008a434c029bd56d268db336fe82f8ea913513f79db06ab8e0bb750c7b97309493bea0b1b8500 +EBUILD grimrock-20121222.ebuild 3024 SHA256 5de07cfd4bc038fd3d5462e97d04f00ac4628a1592e6d4150dd825b0887be393 SHA512 573edfcdd39a71a8e359e57f40848cf5761f4df4bdf14fd1cd3e67312f5e5223916eb7c83dff45f15cdc1fc9b50f6c80a104fa1a40048c45eafd07c914b9f994 WHIRLPOOL e731762ba027844cd9acc0da1f1088980ee40c249db144b5db98a5a64a89e839e3f193a61bacb89ba4b15c258602b9f9616202d4dca5e0a845555be714ae8898 +MISC ChangeLog 358 SHA256 8bcb1c18e58bbb6bd7abb29208e10ae4d35245f0642e2512165ced287b45ed23 SHA512 94bad209d3a19e48d905d7a7cc7f0f527b875753f4129003c9b36a9b2f2b98d1595d5abe1d0405c0d184f24e33fcb2ebf1daadeee575a308d464f48bd6bd053e WHIRLPOOL 0594c0507a672c7f769249753387b54048b84a9cdc02d4a2c4c8a08969eeba524cf6cab3c9d6e6780e41c97cbed068428d392ae317e61b594d4a814fcd0e1103 MISC metadata.xml 335 SHA256 f001443439368b335fbf18e3a90dd59d996860d712b370f236028a5f13a76179 SHA512 894ff95fde5a2c8e7ee5b9eeb79319985c82d6c7d4dd222bf827d3cdc242a779951cef69eb2f0c20cb436627e9f3ad807c769d330a2c1170007e75df42c0da66 WHIRLPOOL f264004682f60a24344b2f1ca3389f3d27e6aaa0c175713d4093319f1e262646d53756ebdd5f7cc1c82dfe6620f78b5505956201690721b514a9cfa2441b007e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRBxH8AAoJEFpvPKfnPDWziZsIALKgLoxpu4Xk7s2g7TQvHyy9 +fpPxGYI3F69XsH08bVneWhPf/Ngvk0PgWqlUpmIKDWRn+Gpn5dC3HtiC+ls8FZFp +gm6ezrOHkgg9D6WfOfK1P4aaJTOmCd8hjZSeAivIup1Q8vZbT4pBYl1ViDvP8TW1 +yte3lPRldytQzsUEk8bG63CI6I5mUmv+50DmKDqE6MS/W3vRNQqJ7fc0sSucO9zS +I0SBQi3kgsMrVreb1LtQhQPlex1/NbJ2z431d6XpWZt2HqaIXwhuRqshPQ52L517 +OfBPJ6N3WoBiKdCEJzBz6GWBKa1gf7IrcWBVBhvu2Hpwe8khQkzFwo80zh+HZVs= +=HXw/ +-----END PGP SIGNATURE----- diff --git a/games-rpg/grimrock/grimrock-20121222.ebuild b/games-rpg/grimrock/grimrock-20121222.ebuild new file mode 100644 index 000000000000..273644705f81 --- /dev/null +++ b/games-rpg/grimrock/grimrock-20121222.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/grimrock-20121222.ebuild,v 1.1 2013/01/29 00:04:09 hasufell Exp $ + +EAPI=5 + +inherit eutils multilib gnome2-utils unpacker games + +TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PN="Grimrock" +DESCRIPTION="Legend of Grimrock: The Ultimate dungeon crawling RPG + modding engine" +HOMEPAGE="http://www.grimrock.net/" +SRC_URI="LegendOfGrimrock-Linux-${TIMESTAMP}.sh" + +SLOT="0" +LICENSE="all-rights-reserved" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+system-libs" +RESTRICT="fetch bindist" + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin.* + ${GAMES_PREFIX_OPT}/${PN}/lib.*" + +RDEPEND=" + app-arch/bzip2 + media-libs/freetype:2 + media-libs/ilmbase + media-libs/lcms + media-libs/libpng:0 + media-libs/libraw + media-libs/jasper + media-libs/openexr + media-libs/openjpeg + media-libs/tiff + sys-libs/zlib + virtual/jpeg + virtual/opengl + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdmcp + x11-libs/libXext + system-libs? ( + media-libs/freeimage + media-libs/libogg + media-libs/libvorbis + media-libs/openal + sys-libs/zlib[minizip] + )" +DEPEND="app-arch/xz-utils" + +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 "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_unpack() { + use amd64 && myarch=x86_64 || myarch=x86 + + local archivelist=( + subarch + instarchive_all + instarchive_linux_${myarch} + deps/SDL2/SDL2_files_linux_${myarch} + deps/FreeImage/FreeImage_files_linux_${myarch} + deps/libogg/libogg_files_linux_${myarch} + deps/minizip/minizip_files_linux_${myarch} + deps/openal/openal_files_linux_${myarch} + deps/vorbis/vorbis_files_linux_${myarch} + ) + + unpack_makeself + + local i + for i in $(use system-libs && echo ${archivelist[@]:0:4} || echo ${archivelist[@]}) ; do + mv "${i}" "${i}.tar.xz" || die + unpack ./"${i}.tar.xz" + done +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + + insinto "${dir}" + doins ${PN}.{dat,png} + + exeinto "${dir}" + doexe "${MY_PN}.bin.${myarch}" + + exeinto "${dir}"/lib + doexe $(get_libdir)/libSDL2-2.0.so.0 + use system-libs || { + doexe $(get_libdir)/lib{freeimage.so.3,minizip.so.1,ogg.so.0,openal.so.1,vorbisfile.so.3,vorbis.so.0} + } + + games_make_wrapper "${PN}" "./${MY_PN}.bin.${myarch}" "${dir}" "${dir}"/lib + doicon -s 256 ${PN}.png + newicon -s 64 ${MY_PN}.png ${PN}.png + make_desktop_entry "${PN}" "Legend of ${MY_PN}" + + dodoc README.linux + 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/grimrock/metadata.xml b/games-rpg/grimrock/metadata.xml new file mode 100644 index 000000000000..d8a99216b70f --- /dev/null +++ b/games-rpg/grimrock/metadata.xml @@ -0,0 +1,13 @@ +<?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='system-libs'>Use system provided libraries.</flag> + </use> +</pkgmetadata> + |