diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-05-10 18:47:23 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-05-10 18:47:23 +0000 |
commit | ed36127b5aac06f37b0a026c5061d3b168c839be (patch) | |
tree | c7326d0e1c28cb173451a31a62344270fadadfc8 /games-action | |
parent | remove bundled-glew useflag since 1.6 is gone wrt #469284 (diff) | |
download | gentoo-2-ed36127b5aac06f37b0a026c5061d3b168c839be.tar.gz gentoo-2-ed36127b5aac06f37b0a026c5061d3b168c839be.tar.bz2 gentoo-2-ed36127b5aac06f37b0a026c5061d3b168c839be.zip |
version bump
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/super-hexagon/ChangeLog | 7 | ||||
-rw-r--r-- | games-action/super-hexagon/super-hexagon-16.ebuild | 85 |
2 files changed, 91 insertions, 1 deletions
diff --git a/games-action/super-hexagon/ChangeLog b/games-action/super-hexagon/ChangeLog index 28a03dc162cc..335b239ba367 100644 --- a/games-action/super-hexagon/ChangeLog +++ b/games-action/super-hexagon/ChangeLog @@ -1,6 +1,11 @@ # 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.4 2013/05/10 18:46:38 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/super-hexagon/ChangeLog,v 1.5 2013/05/10 18:47:23 hasufell Exp $ + +*super-hexagon-16 (10 May 2013) + + 10 May 2013; Julian Ospald <hasufell@gentoo.org> +super-hexagon-16.ebuild: + version bump 10 May 2013; Julian Ospald <hasufell@gentoo.org> super-hexagon-15.ebuild, metadata.xml: diff --git a/games-action/super-hexagon/super-hexagon-16.ebuild b/games-action/super-hexagon/super-hexagon-16.ebuild new file mode 100644 index 000000000000..8465104c0037 --- /dev/null +++ b/games-action/super-hexagon/super-hexagon-16.ebuild @@ -0,0 +1,85 @@ +# 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-16.ebuild,v 1.1 2013/05/10 18:47:23 hasufell Exp $ + +# we use bundled glew, cause slotting 1.6 does not give us +# much benefit for one consumer + +EAPI=5 + +inherit eutils unpacker games + +DESCRIPTION="A minimal action game by Terry Cavanagh, with music by Chipzel" +HOMEPAGE="http://www.superhexagon.com/" +SRC_URI="${PN}-linux-${PV}-bin-1366677959" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch splitdebug" + +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 + )" + +S=${WORKDIR}/data + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_unpack() { + unpack_zip ${A} +} + +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* + 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 +} |