summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2016-05-08 19:24:01 +0200
committereroen <eroen@occam.eroen.eu>2016-05-08 19:24:01 +0200
commit7f0a8ca2d07f06f3be2e9a7e14732f049978a420 (patch)
treea463dc7c641321d3b5935562fe0f56e4e890403a /games-simulation/minimetro
parentmushroom_11 - new ebuild (diff)
downloaderoen-7f0a8ca2d07f06f3be2e9a7e14732f049978a420.tar.gz
eroen-7f0a8ca2d07f06f3be2e9a7e14732f049978a420.tar.bz2
eroen-7f0a8ca2d07f06f3be2e9a7e14732f049978a420.zip
minimetro - new ebuild
Diffstat (limited to 'games-simulation/minimetro')
-rw-r--r--games-simulation/minimetro/Manifest1
-rw-r--r--games-simulation/minimetro/metadata.xml6
-rw-r--r--games-simulation/minimetro/minimetro-6.ebuild61
-rw-r--r--games-simulation/minimetro/notes4
4 files changed, 72 insertions, 0 deletions
diff --git a/games-simulation/minimetro/Manifest b/games-simulation/minimetro/Manifest
new file mode 100644
index 0000000..417b90f
--- /dev/null
+++ b/games-simulation/minimetro/Manifest
@@ -0,0 +1 @@
+DIST MiniMetro-gamma6-linux.tar.gz 231394936 SHA256 f00402439bdfd2d4a3db0a9b1271ec6e93777c6270c398e5c0caa12b9c4f7b46 SHA512 8c3ada8d1f12d1e4e1a3a823b0aca1193aa089a75c94ce8459a9b169fa5581e13c493b7b3eed0da4d5615967f2e22bc16ba7047846768679a0deda7470bc6cb7 WHIRLPOOL f475e2d38fd15b5662c25342f27f75ec88976e868b30e9a3bedb6006a3ffdf65bdfdc7efc965f2e35168524490e27470b4f19bdf76d278b35c1e7e1a60a9cb56
diff --git a/games-simulation/minimetro/metadata.xml b/games-simulation/minimetro/metadata.xml
new file mode 100644
index 0000000..2577434
--- /dev/null
+++ b/games-simulation/minimetro/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
diff --git a/games-simulation/minimetro/minimetro-6.ebuild b/games-simulation/minimetro/minimetro-6.ebuild
new file mode 100644
index 0000000..d78c214
--- /dev/null
+++ b/games-simulation/minimetro/minimetro-6.ebuild
@@ -0,0 +1,61 @@
+# By eroen, 2016
+# Distributed under the terms of the ISC licence
+# $Header: $
+
+EAPI=5
+
+inherit eutils pax-utils humblebundle
+
+DESCRIPTION="Minimalistic subway layout game"
+HOMEPAGE="http://dinopoloclub.com/minimetro/"
+SRC_URI="MiniMetro-gamma${PV}-linux.tar.gz"
+RESTRICT="bindist fetch mirror"
+S=$WORKDIR
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64" # ~x86
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXcursor
+ sys-devel/gcc[cxx]
+ x11-libs/gtk+:2
+ x11-libs/gdk-pixbuf:2
+ dev-libs/glib:2"
+
+QA_PREBUILT="opt/$PN/MiniMetro.x86_64
+ opt/$PN/MiniMetro_Data/Mono/*
+ opt/$PN/MiniMetro_Data/Plugins/*"
+
+pkg_setup() {
+ use amd64 && arch=x86_64
+ use x86 && arch=x86
+}
+
+src_prepare() {
+ if ! use amd64; then
+ rm -rf MiniMetro_Data/Plugins/x86_64 \
+ MiniMetro_Data/Mono/x86_64 || die
+ rm -f MiniMetro.x86_64 || die
+ fi
+ if ! use x86; then
+ rm -rf MiniMetro_Data/Plugins/x86 \
+ MiniMetro_Data/Mono/x86 || die
+ rm -f MiniMetro.x86 || die
+ fi
+}
+
+src_install() {
+ insinto /opt/$PN
+ doins -r MiniMetro_Data
+ doins MiniMetro.$arch
+ fperms +x /opt/$PN/MiniMetro.$arch
+ pax-mark -m "${ED%/}"/opt/$PN/MiniMetro.$arch
+
+ make_wrapper $PN "\"${EPREFIX%/}/opt/$PN/MiniMetro.$arch\""
+ make_desktop_entry $PN "MiniMetro" "${EPREFIX%/}/opt/$PN/MiniMetro_Data/Resources/UnityPlayer.png"
+}
diff --git a/games-simulation/minimetro/notes b/games-simulation/minimetro/notes
new file mode 100644
index 0000000..2c38cf1
--- /dev/null
+++ b/games-simulation/minimetro/notes
@@ -0,0 +1,4 @@
+Mini Metro
+220.7 MB
+c27c2e194c61878311e5c94763b33a74
+New version posted: 2016-02-10 at 03:29