summaryrefslogtreecommitdiff
path: root/games-rpg/grimrock
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/grimrock
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/grimrock')
-rw-r--r--games-rpg/grimrock/Manifest5
-rw-r--r--games-rpg/grimrock/grimrock-20130515.ebuild122
-rw-r--r--games-rpg/grimrock/metadata.xml11
3 files changed, 138 insertions, 0 deletions
diff --git a/games-rpg/grimrock/Manifest b/games-rpg/grimrock/Manifest
new file mode 100644
index 000000000000..77acf8755ddf
--- /dev/null
+++ b/games-rpg/grimrock/Manifest
@@ -0,0 +1,5 @@
+DIST LegendOfGrimrock-Linux-2013-05-15.sh 316846010 SHA256 005066be6ce12ba342e499369070113c6b66a9bea03c6ecb1e5fd0758eb0c39d SHA512 e4907ddfba9a6923f81f188d1452a1bf37e4bbaab4fb9b4befabe167b5159d35acd6c1939b98dd66e3a8f96775d12703206432f60a86c7b4d070acc3a9392f9c WHIRLPOOL a7a5c70c6622737f9904962b248578261137b0c098e7175e309d3470b798b7297dc8aeb42e36b00f809c20f5f105fdfeb75edecca33e94f0d06650f564f02487
+EBUILD grimrock-20130515.ebuild 2695 SHA256 bdefe77a6790861ba46abdbdb3772702d7297bedabea794b842e713c17d69ed3 SHA512 27e6b13ffa9ce668c136bcad1e33b0014dfed90676c031086191e9793d28a806f142eae9113b5cb8932d15d8e09685f9fa462276b530d51dee6e65ffa2aae3fd WHIRLPOOL e3b7a8c5777711a6b998171c48286b73b0d579dc7f8f1328d047f780511f2ba7100386b85a6c93a3ea7885d6fac012b80a1e83f40ae01324b9ffc8be46899b95
+MISC ChangeLog 3163 SHA256 db75c55bb74a93c715a5b6686275a4354e987ec7cc20bd6e87e09557e57136fa SHA512 aafddd182eea154b5e71fb8d516f88762ff7bf559e649ba0ebe5488745caf9de5a24bcdc1a4240cff9bdb52cead5076b4537d52bb62303f9506e5c0770b07712 WHIRLPOOL 1d4a3c3658c761ace73fe5c41eb1d99b8ae2ac9dc81b04155f286d25dbc4d76517e5c7b260e7212f8a41d7246f99cb40e6f1da3ccb662ba1383801a6466155d5
+MISC ChangeLog-2015 1652 SHA256 91b51db1b03c3970b72aea65265b2d7e651b9082e10eb6a4e7828448d7232ba7 SHA512 3621bbe3cba553bf133e9a809e05880f531e542c2cb2f31304f810e46899cd1d6c3f8fef99aaabba8718a6cc123105ac2cca904f5e22a135b0aa93dda4d8797b WHIRLPOOL 25ec19229a4607fcb907901f8e7955336debcd681b53289f8c05d5a7661f5ef0e3f714a8cc2745c4d116cc6f9e160abb9ca4c7e1c46de9ad57e3d6c32016907b
+MISC metadata.xml 326 SHA256 0c50291b59a587a1ee49919fff23be8e50b5ee75a602649f6cbebdc8d0fa6fcc SHA512 87eee3f514c290aba519dad7fdb335424ebd7ed7bb1cfa8650d293136ad2a6efdb44eff2c1c48973e9a587f282a2114866d9e4d66adb857b61a085d5635ecfd2 WHIRLPOOL 4982d50602f9c8bf69b1276877f81fcec5ff4237612f205d7362ef4a8f694f16034851521a287c4c09f43573b65a72a1de11214fc9626ffbb177613df1534e39
diff --git a/games-rpg/grimrock/grimrock-20130515.ebuild b/games-rpg/grimrock/grimrock-20130515.ebuild
new file mode 100644
index 000000000000..564e6f04474c
--- /dev/null
+++ b/games-rpg/grimrock/grimrock-20130515.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="bundled-libs"
+RESTRICT="fetch bindist splitdebug"
+
+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-1.6*
+ media-libs/libraw
+ media-libs/jasper:=
+ media-libs/openexr
+ media-libs/tiff
+ sys-libs/zlib
+ virtual/jpeg:62
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ !bundled-libs? (
+ media-libs/freeimage[png]
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ sys-libs/zlib[minizip]
+ )"
+DEPEND="app-arch/xz-utils"
+
+S=${WORKDIR}
+
+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 $(if use bundled-libs ; then echo ${archivelist[@]} ; else echo ${archivelist[@]:0:4} ; fi) ; 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 bundled-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..befc8c80e0b1
--- /dev/null
+++ b/games-rpg/grimrock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <use>
+ <flag name="bundled-libs">Use bundled libraries.</flag>
+ </use>
+</pkgmetadata>