public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Misbakh-Soloviev Vadim A." <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/trine2/
Date: Sun, 21 Oct 2012 06:41:44 +0000 (UTC)	[thread overview]
Message-ID: <1350801639.352ec881d918f5aa5f30657d7adf58bb0212a377.mva@gentoo> (raw)

commit:     352ec881d918f5aa5f30657d7adf58bb0212a377
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sun Oct 21 06:40:39 2012 +0000
Commit:     Misbakh-Soloviev Vadim A. <mva <AT> mva <DOT> name>
CommitDate: Sun Oct 21 06:40:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=352ec881

[games-rpg/trine2] Added 1.16 version of Trine2

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 games-action/trine2/ChangeLog          |   10 +++
 games-action/trine2/metadata.xml       |    9 +++
 games-action/trine2/trine2-1.16.ebuild |  100 ++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+), 0 deletions(-)

diff --git a/games-action/trine2/ChangeLog b/games-action/trine2/ChangeLog
new file mode 100644
index 0000000..80b646c
--- /dev/null
+++ b/games-action/trine2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/trine2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*trine2-1.16 (21 Oct 2012)
+
+  21 Oct 2012; Misbakh-Soloviov Vadim A. <mva@gentoo.org> +trine2-1.16.ebuild,
+  +metadata.xml:
+  [games-rpg/trine2] Added 1.16 version of Trine2
+

diff --git a/games-action/trine2/metadata.xml b/games-action/trine2/metadata.xml
new file mode 100644
index 0000000..b3419c8
--- /dev/null
+++ b/games-action/trine2/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+        <email>mva@mva.name</email>
+        <name>Vadim A. Misbakh-Soloviov</1name>
+</maintainer>
+<herd>games</herd>
+</pkgmetadata>

diff --git a/games-action/trine2/trine2-1.16.ebuild b/games-action/trine2/trine2-1.16.ebuild
new file mode 100644
index 0000000..bfcdd5b
--- /dev/null
+++ b/games-action/trine2/trine2-1.16.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit games
+
+DESCRIPTION="a physics-based action game where diff characters allow diff solutions to challenges"
+HOMEPAGE="http://trine-thegame.com/"
+SRC_URI="trine2_linux_installer.run"
+RESTRICT="fetch strip"
+LICENSE="frozenbyte-eula"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="x86? (
+		app-arch/bzip2
+		dev-libs/atk
+		dev-libs/expat
+		dev-libs/glib
+		dev-libs/libffi
+		media-gfx/nvidia-cg-toolkit
+		media-libs/fontconfig
+		media-libs/freetype:2
+		media-libs/libpng
+		sys-apps/util-linux
+		sys-libs/zlib
+		virtual/opengl
+		x11-libs/cairo
+		x11-libs/gdk-pixbuf
+		x11-libs/gtk+
+		x11-libs/libdrm
+		x11-libs/libICE
+		x11-libs/libSM
+		x11-libs/libX11
+		x11-libs/libXau
+		x11-libs/libxcb
+		x11-libs/libXcomposite
+		x11-libs/libXcursor
+		x11-libs/libXdamage
+		x11-libs/libXdmcp
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXi
+		x11-libs/libXinerama
+		x11-libs/libXrandr
+		x11-libs/libXrender
+		x11-libs/libXxf86vm
+		x11-libs/pango
+		x11-libs/pixman
+	)
+	amd64? (
+		app-emulation/emul-linux-x86-baselibs
+		app-emulation/emul-linux-x86-sdl
+		app-emulation/emul-linux-x86-xlibs
+		app-emulation/emul-linux-x86-opengl
+		app-emulation/emul-linux-x86-gtklibs
+	)"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/trine2/bin/trine2_linux_32bit"
+
+pkg_nofetch() {
+	ewarn
+	ewarn "Put ${A} (downloaded from Humble Store) to ${DISTDIR}, please"
+	ewarn
+}
+
+src_unpack() {
+        local src="${DISTDIR}/${A}"
+        dd ibs=51200 skip=1 if="${src}" | tar --no-same-owner -xzf -
+}
+
+src_install() {
+	local dir="${GAMES_PREFIX_OPT}/${PN}"
+	insinto "${dir}"
+	doins -r data data1.fbq datalinux1.fbq
+
+	exeinto "${dir}/bin"
+	doexe bin/*
+
+	# PhysX
+	insinto "${dir}/lib"
+	doins lib/lib32/libPhysX*
+	# LibSDL 1.3
+	doins lib/lib32/libSDL-1.3.so.0
+	# 32 bit nvidia-cg-toolkit, only for AMD64
+	use amd64 && doins lib/lib32/libCg{,GL}.so
+
+	doicon "${PN}.png"
+	make_desktop_entry "${PN}" "${PN}" "${PN}"
+	games_make_wrapper "${PN}" "bin/${PN}" "${dir}" "${dir}/lib"
+
+	dodoc README
+	prepgamesdirs
+}


             reply	other threads:[~2012-10-21  6:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21  6:41 Misbakh-Soloviev Vadim A. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-21 11:21 [gentoo-commits] proj/gamerlay:master commit in: games-action/trine2/ Misbakh-Soloviev Vadim A.
2012-10-23  2:48 Misbakh-Soloviev Vadim A.
2013-03-10 14:14 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350801639.352ec881d918f5aa5f30657d7adf58bb0212a377.mva@gentoo \
    --to=mva@mva.name \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox