commit:     cd5693aaa4519d70a344330f70694589645889f4
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Mon Jul  2 21:05:01 2018 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Mon Jul  2 21:05:01 2018 +0000
URL:        
https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=cd5693aa

add gnomoria

 games-roguelike/gnomoria/Manifest          |  3 +
 games-roguelike/gnomoria/gnomoria-1.ebuild | 95 ++++++++++++++++++++++++++++++
 games-roguelike/gnomoria/metadata.xml      | 22 +++++++
 3 files changed, 120 insertions(+)

diff --git a/games-roguelike/gnomoria/Manifest 
b/games-roguelike/gnomoria/Manifest
new file mode 100644
index 0000000..663bd26
--- /dev/null
+++ b/games-roguelike/gnomoria/Manifest
@@ -0,0 +1,3 @@
+DIST gnomoria-022316-bin 189578890 BLAKE2B 
f6b41968a0842ee7b9c47798fbcbc37aef1dc96937744d244edc140f0396cff49bf82d0f0e0539040c989bae2562a307fd28a14a2b6d1879fb5f854e10831bad
 SHA512 
42ee53e31ab8b89d016dc7a0e38c34373c20f81beef6de21ba87d2a5e302d20f96b27bee2fcd5b20a25ac16e2d7d274f9c4cc15513e392b9edf2b96fa7585b47
+EBUILD gnomoria-1.ebuild 1952 BLAKE2B 
1dd3ec8c9e97bff3573090f61c681242d1ecec422b1a547f9da18774cd2d2f7fda5961efd14a461df218c82ad7ee7d8b7a89aa5b3c9679a1be1553220c0bc53b
 SHA512 
9fd33f9546dc854588893de718eac61dab6beffde24d30e70d84128e554754bfec21d40366f0a2423be7fe041958c23ca306e41513aa3b4d8e458cdc06f0cf00
+MISC metadata.xml 1293 BLAKE2B 
3abd67f650e73d476b04e6daf4ac20e1ac70212c8dcf4880f560232cdf3d1815edea53d63c660cf3559ecba3c24c98e52ff0eb593ccbe8f2c0391b74b6a57f44
 SHA512 
608545a9b490bff07614133944e0aab93399759eb007a5ea3b3396798a461dd50922a68cca7a19df87794084f505fdde23ac875f189883c0e5c153dcec9929f6

diff --git a/games-roguelike/gnomoria/gnomoria-1.ebuild 
b/games-roguelike/gnomoria/gnomoria-1.ebuild
new file mode 100644
index 0000000..0b4bf20
--- /dev/null
+++ b/games-roguelike/gnomoria/gnomoria-1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker eutils gnome2-utils
+
+DESCRIPTION="Gnomoria is a sandbox village management game"
+HOMEPAGE="http://www.gnomoria.com";
+SRC_URI="gnomoria-022316-bin"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="system-libs"
+RESTRICT="bindist fetch"
+
+MYGAMEDIR=/opt/${PN}
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+system-libs? (
+       app-arch/p7zip
+       dev-lang/mono
+       media-libs/libsdl2[sound]
+       media-libs/sdl2-image[jpeg,png]
+       media-libs/openal
+       media-libs/libvorbis
+       media-libs/libtheora
+)"
+
+S="${WORKDIR}/data"
+
+pkg_nofetch() {
+       einfo "Please buy & download ${SRC_URI} from:"
+       einfo "  https://www.humblebundle.com/store";
+       einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+       unpack_zip ${A}
+}
+
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+       local arch=x86
+       use amd64 && arch=x86_64
+
+       insinto ${MYGAMEDIR}
+       exeinto ${MYGAMEDIR}
+       doexe  "Gnomoria.bin.${arch}"
+       doins -r  "Content" FNA.dll   FNA.dll.config  "Mod Files"   
gnomorialib.dll
+       if use system-libs ; then
+               if use amd64 ; then
+                       mv lib64 lib64.orig
+                       mkdir lib64
+                       mv lib64.orig/libmojoshader.so lib64
+                       ln -s /usr/bin/7za lib64/7za
+                       doins lib64
+               else
+                       mv lib lib.orig
+                       mkdir lib
+                       mv lib.orig/libmojoshader.so lib
+                       ln -s /usr/bin/7za lib/7za
+                       doins lib
+               fi
+       else
+               doins -r  Mono.Posix.dll System.Core.dll System.Drawing.dll 
System.Xml.dll mscorlib.dll Mono.Security.dll System.Configuration.dll 
System.Data.dll System.Security.dll System.dll mono
+               if use amd64 ; then
+                       doins lib64
+               else
+                       doins lib
+               fi
+       fi
+
+       newicon -s 512 Gnomoria.png ${PN}.png
+       make_wrapper ${PN} "${MYGAMEDIR}/Gnomoria.bin.${arch}" "${MYGAMEDIR}"
+       make_desktop_entry "${PN}" "Gnomoria" "${PN}" "Game"
+
+       domenu ${PN}
+
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

diff --git a/games-roguelike/gnomoria/metadata.xml 
b/games-roguelike/gnomoria/metadata.xml
new file mode 100644
index 0000000..543c928
--- /dev/null
+++ b/games-roguelike/gnomoria/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 type="person">
+<email>[email protected]</email>
+</maintainer>
+<longdescription lang="en">
+Gnomoria is a sandbox village management game where you help lead a small 
group of gnomes, who have set out on their own, to thrive into a bustling 
kingdom! Anything you see can be broken down and rebuilt elsewhere. Craft 
items, build structures, set traps and dig deep underground in search of 
precious resources to help your gnomes survive the harsh lands. Build your 
kingdom and stockpile wealth to attract wandering gnomads to your cause, but be 
wary of also attracting enemies!
+Key Features:
+
+Procedurally generated world - Every game is different
+Fully destructible environment - Everything can be mined, dug, chopped and 
rebuilt or used for crafting
+Open sandbox gameplay - Play how you want - manage a peaceful town or build up 
military and fend off invasions.
+Crafting - Tons of items to craft at different workshops
+Mechanisms - Construct elaborate contraptions using parts like hatches, 
levers, steam engines
+</longdescription>
+<use>
+       <flag name="system-libs">
+               Use the systems libraries instead of the bundled ones
+       </flag>
+</use>
+</pkgmetadata>

Reply via email to