diff options
Diffstat (limited to 'games-action/hotline-miami')
-rw-r--r-- | games-action/hotline-miami/Manifest | 3 | ||||
-rw-r--r-- | games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild | 86 | ||||
-rw-r--r-- | games-action/hotline-miami/metadata.xml | 12 |
3 files changed, 101 insertions, 0 deletions
diff --git a/games-action/hotline-miami/Manifest b/games-action/hotline-miami/Manifest new file mode 100644 index 000000000000..c40a4f79d8ab --- /dev/null +++ b/games-action/hotline-miami/Manifest @@ -0,0 +1,3 @@ +DIST HotlineMiami_linux_1392944501.tar.gz 207632875 BLAKE2B 797143724dbc8229fb538cf3f9087b2cae3c6c5c7ebb6d863d935bd720f8ee38b06c1b28741cfe216e486f5dee9c77dfca80b808a76d83fc004358ff04567be2 SHA512 d1c1b7cbb910969ae120a12d982ed2ba7c935912bdc4e72e3a42b7aeb468b33c6536f4e43f97942155656be705e060d6fe9da37b04040c6aebf81ca80300d546 +EBUILD hotline-miami-1.0.9a_p20140221-r1.ebuild 2120 BLAKE2B d530c0b55d360ca7c360364207e86df0a07aa4909cd623052d2b4a8ad5fd29c50eef96b8b1447958902a1d09d81343a17a6592f35fb6717d4c7d0905e2d8f821 SHA512 41e41c48fbc6e46d8cb3df1b99b269b67c5d2dbeb1ab66a4cd0633e416d2d4c297f84781488495b2acf616a7331396952789fb6218a91ca08928b4e762195ac7 +MISC metadata.xml 377 BLAKE2B 474a88a7fa91f1024e794536a3a006edb921744be53dca4a2fc0febeffdc5067881d9129ecd8f064b49b6cc9312dc23032aa7601076de1f3d53cfc39a0acf8ab SHA512 ace6630c78a59dc9ee29d233621cd980f88d1140bccf565f19b6c41b206427fc6f7ce65ffcf44587873f497994b8436e7691eac44e0afd6ff81d057e5a257c5e diff --git a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild new file mode 100644 index 000000000000..c885ea8a511e --- /dev/null +++ b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: unbundle Qt5 + +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-1.6.2[abi_x86_32(-)] + !bundled-libs? ( + >=media-gfx/nvidia-cg-toolkit-3.1.0013-r3[abi_x86_32(-)] + >=media-libs/libogg-1.3.0[abi_x86_32(-)] + >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)] + >=media-libs/openal-1.15.1[abi_x86_32(-)] + ) + launcher? ( + >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)] + >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] + >=x11-libs/libxcb-1.9.1[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 +} diff --git a/games-action/hotline-miami/metadata.xml b/games-action/hotline-miami/metadata.xml new file mode 100644 index 000000000000..bd944bb6e375 --- /dev/null +++ b/games-action/hotline-miami/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="bundled-libs">Use bundled libraries.</flag> + <flag name="launcher">Install qt launcher</flag> + </use> +</pkgmetadata> |