summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-03-21 21:58:14 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-03-21 21:58:14 +0000
commit351cb0bfb76caed4437f5f1adec9c112e19d7dc1 (patch)
tree461854a6d200036c000a665a56aa6a130d0b5adb /games-action/super-hexagon
parentinitial import (diff)
downloadgentoo-2-351cb0bfb76caed4437f5f1adec9c112e19d7dc1.tar.gz
gentoo-2-351cb0bfb76caed4437f5f1adec9c112e19d7dc1.tar.bz2
gentoo-2-351cb0bfb76caed4437f5f1adec9c112e19d7dc1.zip
initial import
(Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-action/super-hexagon')
-rw-r--r--games-action/super-hexagon/ChangeLog10
-rw-r--r--games-action/super-hexagon/Manifest4
-rw-r--r--games-action/super-hexagon/metadata.xml18
-rw-r--r--games-action/super-hexagon/super-hexagon-15.ebuild93
4 files changed, 125 insertions, 0 deletions
diff --git a/games-action/super-hexagon/ChangeLog b/games-action/super-hexagon/ChangeLog
new file mode 100644
index 000000000000..1c0ea7f261ff
--- /dev/null
+++ b/games-action/super-hexagon/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/super-hexagon
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/super-hexagon/ChangeLog,v 1.1 2013/03/21 21:58:14 hasufell Exp $
+
+*super-hexagon-15 (21 Mar 2013)
+
+ 21 Mar 2013; Julian Ospald <hasufell@gentoo.org> +super-hexagon-15.ebuild,
+ +metadata.xml:
+ initial import
+
diff --git a/games-action/super-hexagon/Manifest b/games-action/super-hexagon/Manifest
new file mode 100644
index 000000000000..9203afa4e570
--- /dev/null
+++ b/games-action/super-hexagon/Manifest
@@ -0,0 +1,4 @@
+DIST super-hexagon-linux-15-bin 27381384 SHA256 3dbcf28ca1e67f2d61c1e1038947ef176f4f17b90688a24605794a08f06379b3 SHA512 f6734db0126e1937b694326885eb6dab639cd96217ac8734f2be59966a0a9ac52274affdb3472871e0067d2ecba8f184720ab6fdf15f2048f86395b539570a60 WHIRLPOOL 07c2007c5ab2cb0c550ce54d84ec519ecd6431fd9bdcf4c6475083f1c41562a47c8d95d33c9dbd82793abdcb10c6613520a1944499f57babde0bd4e722e37c9a
+EBUILD super-hexagon-15.ebuild 2151 SHA256 90e8a0bbd50b1e87d7cc4a2bb8a076ebfb74fc8ec747ee2a9f22ca10f7618f3a SHA512 11589dabc97f2c60632b847d37c52019c77ba0d4ee78e7a5529e4efbef778b6baa7741e36bf5b1b93d0129d2adbc5339988ca9cc920806872333a176d65eb413 WHIRLPOOL 8bc897902e020dc55ab1904229307c717f35b9c4843a72772a3fee48d6ef0f572081cb5033e3c0a0f732640d076bb330c78861fe083ebb416dd04b4670af6864
+MISC ChangeLog 272 SHA256 9f92d5a4a090db9267f65e4cfb60f05ed460176f6488f56d7e73c296c71cf2cc SHA512 9a34ca4eadfb1c470b7d4193f0f0e33c1c2c37411ac6b4f23c1bb2daa3431383f5b37de83219cc64ac824ad5b24607013adfd4fb40b33b56117ed99b5fb28cdf WHIRLPOOL bd4f38c714ce8107ce50e27b1a1ea0947c4839beb0f12f03c4174dba8ea3d56b599975d4d588fbe5b9e77d4910e6945051cc6378bb8f1e6257fb78deabbc5db9
+MISC metadata.xml 439 SHA256 9eddb6945c8b831034e7a13c2676e833a275cb64d0bcdb27a0145f539a1356b5 SHA512 f6f7f565cc13c284d85f81e9dbd61881593fd7ae4479f8f969999dc305dd2458770c0ec55e19d4ed8a6f24e92b9deff4dd32114a26ab589c595b28722f817f69 WHIRLPOOL 7d5c0c05bba902df2e25b5df8384ab8c39fa97971ed1a0a11d68cca942c6dbb6da44a6345a16b81d505773e6039a0e1326659ec650ddb75e4b4f895a63d2e716
diff --git a/games-action/super-hexagon/metadata.xml b/games-action/super-hexagon/metadata.xml
new file mode 100644
index 000000000000..d9b2211adcb3
--- /dev/null
+++ b/games-action/super-hexagon/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='bundled-libs'>
+ Use the upstream provided bundled libraries.
+ </flag>
+ <flag name='bundled-glew'>
+ Use the upstream provided bundled glew.
+ </flag>
+ </use>
+</pkgmetadata>
+
diff --git a/games-action/super-hexagon/super-hexagon-15.ebuild b/games-action/super-hexagon/super-hexagon-15.ebuild
new file mode 100644
index 000000000000..320697f5ee6c
--- /dev/null
+++ b/games-action/super-hexagon/super-hexagon-15.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/super-hexagon/super-hexagon-15.ebuild,v 1.1 2013/03/21 21:58:14 hasufell Exp $
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="A minimal action game by Terry Cavanagh, with music by Chipzel"
+HOMEPAGE="http://www.superhexagon.com/"
+SRC_URI="${PN}-linux-${PV}-bin"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="bundled-libs +bundled-glew"
+RESTRICT="bindist fetch"
+
+MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}/x86/*
+ ${MYGAMEDIR#/}/x86_64/*"
+
+DEPEND="app-arch/unzip"
+RDEPEND="
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libxcb
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+ !bundled-libs? (
+ media-libs/freeglut
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ )
+ !bundled-glew? ( ~media-libs/glew-1.6.0 )"
+
+S=${WORKDIR}/data
+
+pkg_pretend() {
+ if has splitdebug ${FEATURES}; then
+ eerror "FEATURES=splitdebug is broken for this package, disable it locally"
+ die "FEATURES=splitdebug is broken for this package, disable it locally"
+ fi
+}
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to ${DISTDIR}"
+ einfo
+}
+
+src_unpack() {
+ # self unpacking zip archive; unzip warns about the exe stuff
+ unzip -q "${DISTDIR}"/${A}
+ [[ $? -gt 1 ]] && die "unpacking failed"
+}
+
+src_prepare() {
+ einfo "removing ${ARCH} unrelated files"
+ rm -r $(usex amd64 "x86" "x86_64") || die
+
+ if ! use bundled-libs ; then
+ einfo "removing bundled-libs..."
+ cd $(usex amd64 "x86_64" "x86") || die
+ rm libglut.so* libogg.so* libopenal.so* libstdc++.so*\
+ libvorbis.so* libvorbisfile.so* \
+ $(usex bundled-glew "" "libGLEW.so.1.6") || die
+ fi
+}
+
+src_install() {
+ local myarch=$(usex amd64 "x86_64" "x86")
+
+ insinto "${MYGAMEDIR}"
+ doins -r data ${myarch}
+
+ dodoc Linux.README
+
+ newicon SuperHexagon.png ${PN}.png
+ make_desktop_entry ${PN}
+ games_make_wrapper ${PN} "./${myarch}/superhexagon.${myarch}" "${MYGAMEDIR}" "${MYGAMEDIR}/${myarch}"
+
+ fperms +x "${MYGAMEDIR}/${myarch}/superhexagon.${myarch}"
+ prepgamesdirs
+}