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-puzzle/braid/
Date: Sat, 29 Sep 2012 07:05:56 +0000 (UTC)	[thread overview]
Message-ID: <1348902349.7bc3b109fe5495e58c541fd2ce78f0d6977504c0.mva@gentoo> (raw)

commit:     7bc3b109fe5495e58c541fd2ce78f0d6977504c0
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sat Sep 29 07:05:49 2012 +0000
Commit:     Misbakh-Soloviev Vadim A. <mva <AT> mva <DOT> name>
CommitDate: Sat Sep 29 07:05:49 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=7bc3b109

Copied braid from Pinkbyte's overlay

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

---
 games-puzzle/braid/braid-1.0.2-r9999.ebuild |   72 +++++++++++++++++++++++++++
 games-puzzle/braid/metadata.xml             |   10 ++++
 2 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/games-puzzle/braid/braid-1.0.2-r9999.ebuild b/games-puzzle/braid/braid-1.0.2-r9999.ebuild
new file mode 100644
index 0000000..2d8cb72
--- /dev/null
+++ b/games-puzzle/braid/braid-1.0.2-r9999.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit games versionator
+
+MY_PV="$(get_version_component_range 3)"
+
+DESCRIPTION="Platform game where you manipulate flow of time"
+HOMEPAGE="http://braid-game.com"
+SRC_URI="${PN}-linux-build${MY_PV}.run.bin
+	linguas_ru? ( ${PN}-rus.tar.bz2 )"
+
+LICENSE="Arphic MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="linguas_ru"
+RESTRICT="strip fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND="media-libs/libsdl[audio,joystick,video]
+	x11-libs/libX11
+	x11-libs/libXau
+	x11-libs/libxcb
+	x11-libs/libXdmcp
+	x11-libs/libXext
+	virtual/opengl
+	media-gfx/nvidia-cg-toolkit"
+
+S=${WORKDIR}/data
+
+pkg_nofetch() {
+	echo
+	elog "Download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}"
+	echo
+}
+
+src_unpack() {
+	# self unpacking zip archive; unzip warns about the exe stuff
+	local a="${DISTDIR}/${PN}-linux-build${MY_PV}.run.bin"
+	echo ">>> Unpacking ${a} to ${PWD}"
+	unzip -q "${a}"
+	[ $? -gt 1 ] && die "unpacking failed"
+
+	if use linguas_ru; then
+		unpack "${PN}-rus.tar.bz2"
+		mv "${S}/package0.zip" "${S}/gamedata/data"
+		mv "${S}/strings/english.mo" "${S}/gamedata/data/strings"
+	fi
+}
+
+src_install() {
+	local dir="${GAMES_PREFIX_OPT}/${PN}"
+
+	insinto "${dir}"
+	exeinto "${dir}"
+
+	doins -r gamedata/data
+	use x86 && doexe x86/"${PN}"
+	use amd64 && doexe amd64/"${PN}"
+
+	doicon gamedata/"${PN}.png"
+	dodoc gamedata/README-linux.txt
+
+	games_make_wrapper "${PN}" "./${PN}" "${dir}"
+	make_desktop_entry "${PN}" "Braid" "${PN}"
+
+	prepgamesdirs
+}

diff --git a/games-puzzle/braid/metadata.xml b/games-puzzle/braid/metadata.xml
new file mode 100644
index 0000000..0d9e0b9
--- /dev/null
+++ b/games-puzzle/braid/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd></herd>
+	<maintainer>
+		<email>szarpaj@grubelek.pl</email>
+		<name>Piotr Szymaniak</name>
+	</maintainer>
+</pkgmetadata>
+


             reply	other threads:[~2012-09-29  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29  7:05 Misbakh-Soloviev Vadim A. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-16 17:27 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/braid/ Azamat H. Hackimov
2024-01-15  5:48 Vadim Misbakh-Soloviov

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=1348902349.7bc3b109fe5495e58c541fd2ce78f0d6977504c0.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