summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-29 00:04:09 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-29 00:04:09 +0000
commit737339e61740c4bfbf16f7c8bb0a48e5ae34c57d (patch)
tree6daeebfc4d68be96f44b0b9e415836cf854dfc00 /games-rpg
parentVersion bump #454382 by Alexandre Rostovtsev. (diff)
downloadgentoo-2-737339e61740c4bfbf16f7c8bb0a48e5ae34c57d.tar.gz
gentoo-2-737339e61740c4bfbf16f7c8bb0a48e5ae34c57d.tar.bz2
gentoo-2-737339e61740c4bfbf16f7c8bb0a48e5ae34c57d.zip
initial import
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/grimrock/ChangeLog10
-rw-r--r--games-rpg/grimrock/Manifest4
-rw-r--r--games-rpg/grimrock/grimrock-20121222.ebuild133
-rw-r--r--games-rpg/grimrock/metadata.xml13
4 files changed, 160 insertions, 0 deletions
diff --git a/games-rpg/grimrock/ChangeLog b/games-rpg/grimrock/ChangeLog
new file mode 100644
index 000000000000..b80c69b1f4a1
--- /dev/null
+++ b/games-rpg/grimrock/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-rpg/grimrock
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/grimrock/ChangeLog,v 1.1 2013/01/29 00:04:09 hasufell Exp $
+
+*grimrock-20121222 (29 Jan 2013)
+
+ 29 Jan 2013; Julian Ospald <hasufell@gentoo.org> +grimrock-20121222.ebuild,
+ +metadata.xml:
+ initial import
+
diff --git a/games-rpg/grimrock/Manifest b/games-rpg/grimrock/Manifest
new file mode 100644
index 000000000000..c1d26677fd5c
--- /dev/null
+++ b/games-rpg/grimrock/Manifest
@@ -0,0 +1,4 @@
+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
+MISC metadata.xml 335 SHA256 f001443439368b335fbf18e3a90dd59d996860d712b370f236028a5f13a76179 SHA512 894ff95fde5a2c8e7ee5b9eeb79319985c82d6c7d4dd222bf827d3cdc242a779951cef69eb2f0c20cb436627e9f3ad807c769d330a2c1170007e75df42c0da66 WHIRLPOOL f264004682f60a24344b2f1ca3389f3d27e6aaa0c175713d4093319f1e262646d53756ebdd5f7cc1c82dfe6620f78b5505956201690721b514a9cfa2441b007e
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>
+