summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-03-12 23:42:08 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-03-12 23:42:08 +0000
commitc2eb2ea9e6dee5d39fbb8f799a3b69127fc26b21 (patch)
tree751a288cab92e66ba3ba71952552ea03b7317043 /games-action/hotline-miami
parentsci-physics/lammps-20140312: Version bump. (diff)
downloadgentoo-2-c2eb2ea9e6dee5d39fbb8f799a3b69127fc26b21.tar.gz
gentoo-2-c2eb2ea9e6dee5d39fbb8f799a3b69127fc26b21.tar.bz2
gentoo-2-c2eb2ea9e6dee5d39fbb8f799a3b69127fc26b21.zip
update
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-action/hotline-miami')
-rw-r--r--games-action/hotline-miami/ChangeLog11
-rw-r--r--games-action/hotline-miami/hotline-miami-1.0.9a_p20140221.ebuild95
2 files changed, 103 insertions, 3 deletions
diff --git a/games-action/hotline-miami/ChangeLog b/games-action/hotline-miami/ChangeLog
index 727387e3c831..7e73bb6b5b54 100644
--- a/games-action/hotline-miami/ChangeLog
+++ b/games-action/hotline-miami/ChangeLog
@@ -1,10 +1,15 @@
# ChangeLog for games-action/hotline-miami
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/hotline-miami/ChangeLog,v 1.1 2013/11/24 18:14:46 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/hotline-miami/ChangeLog,v 1.2 2014/03/12 23:42:08 hasufell Exp $
+
+*hotline-miami-1.0.9a_p20140221 (12 Mar 2014)
+
+ 12 Mar 2014; Julian Ospald <hasufell@gentoo.org>
+ +hotline-miami-1.0.9a_p20140221.ebuild:
+ update
*hotline-miami-1.0.9a (24 Nov 2013)
24 Nov 2013; Julian Ospald <hasufell@gentoo.org>
+hotline-miami-1.0.9a.ebuild, +metadata.xml:
initial import
-
diff --git a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221.ebuild b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221.ebuild
new file mode 100644
index 000000000000..ee1df4d7cd4f
--- /dev/null
+++ b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221.ebuild,v 1.1 2014/03/12 23:42:08 hasufell Exp $
+
+# TODO: unbundle Qt5
+# remove emul-linux-x86* deps (bug 484060)
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="High-octane action game overflowing with raw brutality"
+HOMEPAGE="http://www.devolverdigital.com/games/view/hotline-miami"
+SRC_URI="HotlineMiami_linux_1392944501.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bundled-libs +launcher"
+RESTRICT="bindist fetch splitdebug"
+
+MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}/lib/*
+ ${MYGAMEDIR#/}/Hotline
+ ${MYGAMEDIR#/}/hotline_launcher"
+
+RDEPEND="
+ amd64? (
+ || ( x11-libs/libX11[abi_x86_32] app-emulation/emul-linux-x86-xlibs )
+ !bundled-libs? (
+ media-gfx/nvidia-cg-toolkit[multilib]
+ || (
+ ( app-emulation/emul-linux-x86-soundlibs )
+ ( media-libs/libogg[abi_x86_32]
+ media-libs/libvorbis[abi_x86_32]
+ media-libs/openal[abi_x86_32] )
+ )
+ )
+ launcher? (
+ || (
+ ( app-emulation/emul-linux-x86-xlibs )
+ ( media-libs/freetype[abi_x86_32]
+ x11-libs/libXext[abi_x86_32]
+ x11-libs/libXrandr[abi_x86_32]
+ x11-libs/libXrender[abi_x86_32]
+ x11-libs/libxcb[abi_x86_32] )
+ )
+ )
+ )
+ x86? (
+ x11-libs/libX11
+ !bundled-libs? (
+ media-gfx/nvidia-cg-toolkit
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ )
+ launcher? (
+ media-libs/freetype
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libxcb
+ )
+ )"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " https://www.humblebundle.com/store"
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_install() {
+ insinto "${MYGAMEDIR}"
+ doins HotlineMiami_GL.wad *.ogg
+
+ exeinto "${MYGAMEDIR}"
+ doexe Hotline
+ use launcher && doexe hotline_launcher
+
+ exeinto "${MYGAMEDIR}/lib"
+ use launcher && doexe lib/libQt5*
+ use bundled-libs && doexe libCg* libopenal*
+
+ games_make_wrapper ${PN} "./Hotline" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+ make_desktop_entry ${PN}
+ if use launcher ; then
+ games_make_wrapper ${PN}-launcher "./hotline_launcher" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+ make_desktop_entry ${PN}-launcher "${PN} (launcher)"
+ fi
+
+ prepgamesdirs
+}