summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2015-09-30 15:21:45 +0200
committerSven Eden <sven.eden@gmx.de>2015-09-30 15:21:45 +0200
commit9fdaa35baeba14341e1facc85f2b1812776856ec (patch)
tree2c7e04ba8592b3fbe78a16ae7f49e5c0666dcd64
parentsys-aps/hwloc: Remove superfluous dependency line. (diff)
downloadseden-9fdaa35baeba14341e1facc85f2b1812776856ec.tar.gz
seden-9fdaa35baeba14341e1facc85f2b1812776856ec.tar.bz2
seden-9fdaa35baeba14341e1facc85f2b1812776856ec.zip
games-rpg/lipsofsuna-0.8.0.ebuild : Experimental ebuild of the newest version.
-rw-r--r--games-rpg/lipsofsuna/Manifest6
-rw-r--r--games-rpg/lipsofsuna/files/0.8.0-01_add_OgreOverlay_to_wscript.patch36
-rw-r--r--games-rpg/lipsofsuna/files/0.8.0-02-fix_material_manager_usage.patch12
-rw-r--r--games-rpg/lipsofsuna/files/0.8.0-03-fix_skeleton_manager_usage.patch12
-rw-r--r--games-rpg/lipsofsuna/lipsofsuna-0.8.0.ebuild62
-rw-r--r--games-rpg/lipsofsuna/metadata.xml22
6 files changed, 150 insertions, 0 deletions
diff --git a/games-rpg/lipsofsuna/Manifest b/games-rpg/lipsofsuna/Manifest
new file mode 100644
index 0000000..1bb8f43
--- /dev/null
+++ b/games-rpg/lipsofsuna/Manifest
@@ -0,0 +1,6 @@
+AUX 0.8.0-01_add_OgreOverlay_to_wscript.patch 1217 SHA256 69f149ea3a53ea08a3b5c16cff0e08775cc4fa300d04be7ed86e47bdd1b11277 SHA512 f580ea49b2e95351a73367a4778bb032c288ad11617981371b4d4a1d0602cdd81ad5d1b8f2c0ba1bcee170a6cb5522af0eae3a28236566086df979e27a65c243 WHIRLPOOL 7d72c7b0f8a8e627982373d61d867ae7c14757cf7ba0544c5f6eece6a458faee0fe2d8277fb48acddb05a499df0f7a3bb658bcc121389b8fd25a99d71540a95c
+AUX 0.8.0-02-fix_material_manager_usage.patch 537 SHA256 bcbd4491af50c713968758d5ed6c7d7cbe510ec7720e75cb2801e2d6e9ad867b SHA512 480626fb9ed87895b6d2b0cbc43b7a23c87ed85a3e1dca27a2d3bf2239175df56907517a368fea953996813b32137bc5a0e09120bcd8fb9f75b13eb02c54c5b3 WHIRLPOOL c95ee0950046f8bf2c6a3e51078410b40766aedaf40088705713a6e1d18dea9bda20fad9fd047a674065e98a97a1a1d302bb41825100075f529868b389d493c1
+AUX 0.8.0-03-fix_skeleton_manager_usage.patch 632 SHA256 f07c5f5d82713f5c2b3e8fb79963f5c68c26a0ccc756b4d0c46569ba60776a91 SHA512 ba7e1f07387067802eb0bf3107da1771f446ac480344d24c30a934419cf587f80cc0238d3d790ad492a9f402b1108ce67fa151de44e1962871089237bc494993 WHIRLPOOL 96044df47828f837c992ae5df6fab118250af6069130488c10bc0f688a375efc6fab571b9418e9a49335aaffe6fcb93de345b71379b323e33b0c99a7ccec7292
+DIST lipsofsuna-0.8.0.tar.gz 137922225 SHA256 15224910d34582729ae43a8af5fd604d70e4c0b6ecb4fb056e57f50b242e2b16 SHA512 1bdd05f17ec334f921c78eb54faf731506d3c16352a77c5ea14d71071918aa168b0c20e79fb16e6eb4fecc52068b573e595abfd65b5857805e054871741d7399 WHIRLPOOL 5d11d48277367fe88cf20c0ca6300c869f56b8c8a6da5a5b7bc8ca64521e923ccd3ddfa923ab92542dbba226b3a1fdd23082c6026d64f3897091b6de9b1e2aa2
+EBUILD lipsofsuna-0.8.0.ebuild 1610 SHA256 b1065f6c49ab73ccce5f876dcb1723e65a9cd2e3fbe182a1eefb1c9d892eb012 SHA512 df68d551253fd0986d1e08d4e02205fe257b37788509dac62ecfee58fd4a626c398d2b8d81e5793f726db8a91537170028906d7a9747149badb4c4d35b556a44 WHIRLPOOL 06847880e0a03eaf28cfdbc4930b727584b31e34dc069e339f179d3566bf2a5c886a02d108a1077f2332974121ee8a4dcdcefb899d68cc5591799c8dc45f234b
+MISC metadata.xml 1035 SHA256 a85a1a88d6075fb8aa49139cbf5ae285c5231e19e767139a2df2cac9443d43fe SHA512 b2dd6f9518a06890f402e3b450288d4e2901af914295b3073371450198a98037cf3b4c6894fea7eda02e64aa3263c8abe6cac04b598d3e5a7da15dc1626eda48 WHIRLPOOL 3991ac12a7fe1f0b0ce61ef0e540330cc56f370af95037066742a98a0e2da5b6fd0b131f30388589fae00a5b937c19b3d88feceb5c2a47aa7a953eceb2e626ec
diff --git a/games-rpg/lipsofsuna/files/0.8.0-01_add_OgreOverlay_to_wscript.patch b/games-rpg/lipsofsuna/files/0.8.0-01_add_OgreOverlay_to_wscript.patch
new file mode 100644
index 0000000..ebb01d0
--- /dev/null
+++ b/games-rpg/lipsofsuna/files/0.8.0-01_add_OgreOverlay_to_wscript.patch
@@ -0,0 +1,36 @@
+--- a/wscript 2015-09-30 15:03:26.862409759 +0200
++++ b/wscript 2015-09-30 15:03:45.054410305 +0200
+@@ -91,6 +91,7 @@
+ if Options.options.graphics:
+ conf.check_ogre()
+ conf.check_ogre_plugindir()
++ conf.check_ogre_overlay()
+ conf.check_ogre_terrain()
+ conf.check_ois()
+ conf.check_xlib()
+@@ -509,6 +510,25 @@
+ conf.end_msg(False)
+
+ @conf
++def check_ogre_overlay(conf):
++ conf.start_msg('Checking for package OGRE-Overlay')
++ conf.env.stash()
++ if conf.check_cfg(package='OGRE-Overlay', atleast_version='1.7.0', args='--cflags --libs', mandatory=False, uselib_store='OGRE'):
++ conf.end_msg('pkg-config OGRE-Overlay')
++ return
++ conf.env.revert()
++ conf.env.stash()
++ if conf.check_cxx(lib='OgreOverlay', mandatory=False, uselib='TEST', uselib_store='OGRE') and\
++ conf.check_cxx(header_name='Overlay/OgreOverlay.h', mandatory=False, uselib='TEST', uselib_store='OGRE', fragment='''
++ #include <stdio.h>
++ int main() { printf(""); return 0; }'''):
++ conf.end_msg('library OgreOverlay')
++ return
++ conf.env.revert()
++ conf.end_msg(False)
++ conf.fatal('Could not find OGRE-Overlay')
++
++@conf
+ def check_ogre_terrain(conf):
+ conf.start_msg('Checking for package OGRE-Terrain')
+ conf.env.stash()
diff --git a/games-rpg/lipsofsuna/files/0.8.0-02-fix_material_manager_usage.patch b/games-rpg/lipsofsuna/files/0.8.0-02-fix_material_manager_usage.patch
new file mode 100644
index 0000000..bb7e347
--- /dev/null
+++ b/games-rpg/lipsofsuna/files/0.8.0-02-fix_material_manager_usage.patch
@@ -0,0 +1,12 @@
+--- a/src/lipsofsuna/render/overlay/render-overlay.cpp 2015-09-30 14:42:28.730371987 +0200
++++ b/src/lipsofsuna/render/overlay/render-overlay.cpp 2015-09-30 14:53:29.152391815 +0200
+@@ -537,7 +537,8 @@
+ }
+
+ /* Create a new material. */
+- material = self->render->material_manager->load (matname, group);
++ self->render->material_manager->load (matname, group);
++ material = self->render->material_manager->getByName (matname, group);
+ lisys_assert (!material.isNull ());
+ material->setSceneBlending (Ogre::SBT_TRANSPARENT_ALPHA);
+
diff --git a/games-rpg/lipsofsuna/files/0.8.0-03-fix_skeleton_manager_usage.patch b/games-rpg/lipsofsuna/files/0.8.0-03-fix_skeleton_manager_usage.patch
new file mode 100644
index 0000000..cdb6d3f
--- /dev/null
+++ b/games-rpg/lipsofsuna/files/0.8.0-03-fix_skeleton_manager_usage.patch
@@ -0,0 +1,12 @@
+--- a/src/lipsofsuna/render/internal/render-mesh-builder.cpp 2015-09-30 14:46:13.785378744 +0200
++++ b/src/lipsofsuna/render/internal/render-mesh-builder.cpp 2015-09-30 14:50:43.608386845 +0200
+@@ -375,8 +375,7 @@
+
+ /* Create the skeleton. */
+ Ogre::String name (render->id.next ());
+- Ogre::ResourcePtr resource = Ogre::SkeletonManager::getSingleton ().create (name, LIREN_RESOURCES_TEMPORARY, true);
+- Ogre::SkeletonPtr skeleton (resource);
++ Ogre::SkeletonPtr skeleton = Ogre::SkeletonManager::getSingleton ().create (name, LIREN_RESOURCES_TEMPORARY, true);
+
+ /* Create the dummy bone. */
+ bone = skeleton->createBone (0);
diff --git a/games-rpg/lipsofsuna/lipsofsuna-0.8.0.ebuild b/games-rpg/lipsofsuna/lipsofsuna-0.8.0.ebuild
new file mode 100644
index 0000000..b9ea531
--- /dev/null
+++ b/games-rpg/lipsofsuna/lipsofsuna-0.8.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads(+)"
+inherit eutils games python-any-r1 waf-utils
+
+DESCRIPTION="Tongue-in-cheek dungeon crawl game. Client and Server."
+HOMEPAGE="http://lipsofsuna.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="iconv inotify"
+
+DEPEND="dev-db/sqlite:3
+ >=dev-lang/lua-5.1.0
+ media-libs/flac
+ >=media-libs/glew-1.5
+ >=media-libs/libsdl-1.2
+ media-libs/libvorbis
+ media-libs/libogg
+ media-libs/mesa
+ media-libs/openal
+ >=media-libs/sdl-ttf-2.0
+ >=net-libs/enet-1.2.2
+ >=net-misc/curl-3
+ sci-physics/bullet
+ dev-games/ogre
+ dev-games/ois
+ media-libs/freeimage
+ iconv? ( virtual/libiconv )
+ inotify? ( sys-fs/inotify-tools )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-01_add_OgreOverlay_to_wscript.patch"
+ epatch "${FILESDIR}/${PV}-02-fix_material_manager_usage.patch"
+ epatch "${FILESDIR}/${PV}-03-fix_skeleton_manager_usage.patch"
+}
+
+src_configure() {
+ waf-utils_src_configure \
+ --ogre-plugindir=/usr/lib64/OGRE \
+ --disable-relpath \
+ --enable-optimization \
+ --bindir="${GAMES_BINDIR}" \
+ --datadir="${GAMES_DATADIR}"
+}
+
+src_install() {
+ dogamesbin .build/${PN} || die "Installation of gamesbinary failed"
+ insinto "${GAMES_DATADIR}"/${PN}/
+ doins -r data/* || die "Installation of game data failed"
+ doicon misc/${PN}.svg || die "Installation of Icon failed"
+ domenu misc/${PN}.desktop || die "Installation of desktop file failed"
+ prepgamesdirs
+}
diff --git a/games-rpg/lipsofsuna/metadata.xml b/games-rpg/lipsofsuna/metadata.xml
new file mode 100644
index 0000000..8d569e3
--- /dev/null
+++ b/games-rpg/lipsofsuna/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <longdescription>Lips of Suna is a tongue-in-cheek dungeon crawl game that
+ takes place in the chaotic dungeons of Suna. The five intelligent
+ races of the world descend to the dungeons with their goal to save
+ the world from a conclusive disaster.
+ In your journey to the depths of the dungeons, you will, among other
+ things, have to fight creatures of different varieties, solve quests,
+ explore new places, and craft custom items. Luckily you don't need to
+ do all this alone since you can crawl the dungeons with your friends.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>amuzen@users.sourceforge.net</email>
+ <name>Ari Mustonen</name>
+ </maintainer>
+ <doc>http://sourceforge.net/apps/trac/lipsofsuna/wiki</doc>
+ <bugs-to>http://sourceforge.net/apps/trac/lipsofsuna/report</bugs-to>
+ </upstream>
+</pkgmetadata>