public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: games-action/hotline-miami-bin/
Date: Sat, 29 Jun 2013 17:07:43 +0000 (UTC)	[thread overview]
Message-ID: <1372525659.8987a4f8855f2e41786c6c49099210dd7542d990.sping@gentoo> (raw)

commit:     8987a4f8855f2e41786c6c49099210dd7542d990
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sat Jun 29 17:05:06 2013 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 17:07:39 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=8987a4f8

games-action/hotline-miami-bin: 1.0.9a

---
 .../hotline-miami-bin-1.0.9a.ebuild                | 62 ++++++++++++++++++++++
 games-action/hotline-miami-bin/metadata.xml        |  8 +++
 2 files changed, 70 insertions(+)

diff --git a/games-action/hotline-miami-bin/hotline-miami-bin-1.0.9a.ebuild b/games-action/hotline-miami-bin/hotline-miami-bin-1.0.9a.ebuild
new file mode 100644
index 0000000..0332b9a
--- /dev/null
+++ b/games-action/hotline-miami-bin/hotline-miami-bin-1.0.9a.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit games
+
+MY_PN=${PN%%-bin}
+DESCRIPTION="Top-down action game, a bit like GTA 1 without cars"
+HOMEPAGE="http://hotlinemiami.com/"
+SRC_URI="${MY_PN/-/}_v${PV}-Linux_28-05-2013.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+make_dep() {
+	package=$1
+	echo "amd64? ( ${package}[abi_x86_32] )  x86? ( ${package} )"
+}
+
+DEPEND=""
+RDEPEND="amd64? (
+		app-emulation/emul-linux-x86-opengl
+		app-emulation/emul-linux-x86-soundlibs
+	)
+	x86? (
+		media-libs/mesa
+		media-libs/glu
+		media-libs/libogg
+		media-libs/libvorbis
+	)
+	$(make_dep media-libs/fontconfig)
+	$(make_dep media-libs/freetype)
+	$(make_dep x11-libs/libX11)
+	$(make_dep x11-libs/libxcb)
+	$(make_dep x11-libs/libXext)
+	$(make_dep x11-libs/libXrender)
+	$(make_dep x11-libs/libXrandr)"
+
+S=${WORKDIR}
+RESTRICT="bindist fetch mirror strip"
+
+QA_PREBUILT="usr/games/${MY_PN}/lib/*"
+
+src_install() {
+	local game_home=${GAMES_PREFIX}/${MY_PN}
+
+	# Install all shipped files
+	dodir "${game_home}"
+	cp -R * "${D}/${game_home}"/ || die
+
+	# Make launcher
+	dodir "${GAMES_BINDIR}"
+	cat <<-EOF >>"${D}/${GAMES_BINDIR}"/${MY_PN}
+		#! /bin/bash
+		set -x
+		cd '${game_home}' && ./hotline_launcher
+	EOF
+}

diff --git a/games-action/hotline-miami-bin/metadata.xml b/games-action/hotline-miami-bin/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/games-action/hotline-miami-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>sping@gentoo.org</email>
+		<name>Sebastian Pipping</name>
+	</maintainer>
+</pkgmetadata>


                 reply	other threads:[~2013-06-29 17:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1372525659.8987a4f8855f2e41786c6c49099210dd7542d990.sping@gentoo \
    --to=sping@gentoo.org \
    --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