From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 259D41381F3 for ; Sat, 29 Jun 2013 17:07:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D02A1E0929; Sat, 29 Jun 2013 17:07:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 551D5E0929 for ; Sat, 29 Jun 2013 17:07:46 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E19433DD01 for ; Sat, 29 Jun 2013 17:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id D98FBE468F for ; Sat, 29 Jun 2013 17:07:43 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1372525659.8987a4f8855f2e41786c6c49099210dd7542d990.sping@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: games-action/hotline-miami-bin/ X-VCS-Repository: proj/betagarden X-VCS-Files: games-action/hotline-miami-bin/hotline-miami-bin-1.0.9a.ebuild games-action/hotline-miami-bin/metadata.xml X-VCS-Directories: games-action/hotline-miami-bin/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 8987a4f8855f2e41786c6c49099210dd7542d990 X-VCS-Branch: master Date: Sat, 29 Jun 2013 17:07:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 697129aa-40f4-4c3a-a11d-0a1543cd4ed7 X-Archives-Hash: a4f1fa103d37f474fb20cdd4fca63f7e commit: 8987a4f8855f2e41786c6c49099210dd7542d990 Author: Sebastian Pipping pipping org> AuthorDate: Sat Jun 29 17:05:06 2013 +0000 Commit: Sebastian Pipping gentoo 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 @@ + + + + + sping@gentoo.org + Sebastian Pipping + +