commit:     6c313638c04a22706d4a66ba90bfbb79834cb21e
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 22:33:29 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:05:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c313638

games-action/mutantstorm-demo: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 .../mutantstorm-demo-1.33-r1.ebuild                | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/games-action/mutantstorm-demo/mutantstorm-demo-1.33-r1.ebuild 
b/games-action/mutantstorm-demo/mutantstorm-demo-1.33-r1.ebuild
new file mode 100644
index 00000000..cbb97a6
--- /dev/null
+++ b/games-action/mutantstorm-demo/mutantstorm-demo-1.33-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils unpacker
+
+DESCRIPTION="shoot through crazy psychedelic 3D environments"
+HOMEPAGE="http://www.pompomgames.com/";
+SRC_URI="ftp://ggdev-1.homelan.com/mutantstorm/MutantStormDemo_${PV/./_}.sh.bin";
+
+LICENSE="POMPOM"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+RDEPEND="
+       media-libs/libsdl[abi_x86_32(-)]
+       sys-libs/lib-compat
+       x11-libs/libX11[abi_x86_32(-)]
+       x11-libs/libXext[abi_x86_32(-)]
+       virtual/opengl[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+dir=/opt/${PN}
+Ddir=${D}/${dir}
+QA_PREBUILT="${dir:1}/mutantstorm-bin"
+
+src_install() {
+       insinto "${dir}"
+       doins -r menu script styles
+
+       exeinto "${dir}"
+       doexe bin/Linux/x86/*
+       # Remove libSDL since we use the system version and our version doesn't
+       # have TEXTRELs in it.
+       rm -f "${Ddir}"/libSDL-1.2.so.0.0.5
+       make_wrapper mutantstorm-demo ./mutantstormdemo "${dir}" "${dir}"
+
+       insinto "${dir}"
+       doins README.txt buy_me mutant.xpm pompom readme.htm
+}

Reply via email to