summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-03-21 21:58:15 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-03-21 21:58:15 +0000
commit5bb66cdf89a222ddbe73da0623addeacef703867 (patch)
tree5290021d00443e02de2d7416e341a6da60ad88a2 /games-action
parentinitial import (diff)
downloadhistorical-5bb66cdf89a222ddbe73da0623addeacef703867.tar.gz
historical-5bb66cdf89a222ddbe73da0623addeacef703867.tar.bz2
historical-5bb66cdf89a222ddbe73da0623addeacef703867.zip
initial import
Package-Manager: portage-2.2.0_alpha168/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-action')
-rw-r--r--games-action/super-hexagon/Manifest18
-rw-r--r--games-action/super-hexagon/metadata.xml18
-rw-r--r--games-action/super-hexagon/super-hexagon-15.ebuild93
3 files changed, 127 insertions, 2 deletions
diff --git a/games-action/super-hexagon/Manifest b/games-action/super-hexagon/Manifest
index 9203afa4e570..2b9e8451e1c6 100644
--- a/games-action/super-hexagon/Manifest
+++ b/games-action/super-hexagon/Manifest
@@ -1,4 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
+EBUILD super-hexagon-15.ebuild 2265 SHA256 14b065430f4bc19b2b17a922899f94713a80ab7880e6608e8a74e80bf5e7f576 SHA512 0e04f3383fed967cc51d75a023383762c01b87414cc017b390c41d1c5824e0f67c05008f61d8e25b59cbdc691567d38675984e8931d5d00e7e4a580b5cd27210 WHIRLPOOL 60cb17de6af5e558448d116724dc18ebd0e4903f803737480c2130690d1957233525d34143a3bce2ba4a349f5f12627b6063dadea51d9fbd908ce6f81a86e5dd
+MISC ChangeLog 372 SHA256 9a7f5167824924a5d47824b04082e225a7ec49b15711056dcfe5de1466aadc7c SHA512 9bc4f7253ad2e8de77216457cd57e04474a3a4c8299ecd067b47b71f17f4bdb157b22918e4fd2c550d4adcfcc9f8aa80029a5a0dff99829822a0b16d5514a10f WHIRLPOOL 7bea9b751a49047c8d4dcc5c5349f6c53527146da1c93c112251a23def1c70302810c561a3eb8512faa165dbb49468ca99ef71ede6643b31445f393486cc4e77
MISC metadata.xml 439 SHA256 9eddb6945c8b831034e7a13c2676e833a275cb64d0bcdb27a0145f539a1356b5 SHA512 f6f7f565cc13c284d85f81e9dbd61881593fd7ae4479f8f969999dc305dd2458770c0ec55e19d4ed8a6f24e92b9deff4dd32114a26ab589c595b28722f817f69 WHIRLPOOL 7d5c0c05bba902df2e25b5df8384ab8c39fa97971ed1a0a11d68cca942c6dbb6da44a6345a16b81d505773e6039a0e1326659ec650ddb75e4b4f895a63d2e716
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRS4J4AAoJEFpvPKfnPDWzuIQH/32LlyNBoFjEbdnAQ4rKxitU
+GaFuA3fhK4Iby6oiu7jzcu9CIcunAHHtocS3B8Skk6MHKNnb9uVd/r1WwoD2tYdX
+sRkEt3tbTouD0kGLrGFZlRWa7aKMRpIsaioDYntiZmOIcFfTmd71Q9JHEx760gw0
+O3yz3cs30H1J2Ozayb5EodeGW5ulr0Vrc9839qPHpucbgFYBixielNiE/RbXS3N9
+vXqErrRRkkENoj1xRQKIz03GrBagChQkznafNID+PC1d/5g38uqDI+qSGy9e5kr5
+ZxssuGv8xh84bBgoYYj8dC36Yzg1V4id2ss5Bx5NgKSBXMBEYYENIKVrzY/JoTU=
+=0Jk3
+-----END PGP SIGNATURE-----
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
+}