diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/super-hexagon |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/super-hexagon')
-rw-r--r-- | games-action/super-hexagon/Manifest | 5 | ||||
-rw-r--r-- | games-action/super-hexagon/metadata.xml | 13 | ||||
-rw-r--r-- | games-action/super-hexagon/super-hexagon-20141027.ebuild | 84 |
3 files changed, 102 insertions, 0 deletions
diff --git a/games-action/super-hexagon/Manifest b/games-action/super-hexagon/Manifest new file mode 100644 index 000000000000..13149c401795 --- /dev/null +++ b/games-action/super-hexagon/Manifest @@ -0,0 +1,5 @@ +DIST superhexagon-10272014-bin 29469168 SHA256 f079cd5f644ba69a1123491a3d2bd19069670e6a9884ad756d927be331f3d9c8 SHA512 ec07576e897cddcbb1ef1da104750001b7610ca31d40f41044dc412d8a149fa07b71e9fbc5df8b1d3ad6f110b28e5891dde618e39f4b2565d73fcfae28d3a85a WHIRLPOOL 4c73f6cddce5d4fb6aace87c2b7c660f7e2be9cfcdc37355ba953e83bb06aa3cba554d15e3051ffcbbcc15b0e6473079b811fbf261771a302dfd496e9505057f +EBUILD super-hexagon-20141027.ebuild 1841 SHA256 ba19310cdef119d54fc7197e1ebee5cdb02d6a63ca545657de5ed6e59abbd615 SHA512 6a1aa0b7576c13dc30724d99ae3d65a5dab9d0c320157fe73d9c80fd05a1061b16e16c27eb46be99bb85733767801b6b386669114c86f212cc98b783c032b45c WHIRLPOOL 37802186e2480ee1923220d115c830f0c9d1f446f56e9364e34686ca0bd5f3059d5922ad59f10980c5b0cdf1e95bab288c222dcc331537fddcb82f888b8a181e +MISC ChangeLog 2848 SHA256 6fd8f75a89af8930e2c3bc9ef2eff740c793700f9490f37420fa3f7b9f06d782 SHA512 f2baa6b102cd5131f3b48a613c4ce30fdbe6b8b616b10586fb730fc31fa95d563df8e4c08888c7a08a1d72bcde91f0fbfbca8a35700d5d4b44340b8b19a60ca2 WHIRLPOOL 3a8192deaf6f6d22ce8d65fc990eea0d747afa6a0d00b3c91aedfdd7a05ca6621cd4c168683fd324d8657fa1c6ef3d8d5fa8ef6afee0dca41e317de76d9a873f +MISC ChangeLog-2015 1715 SHA256 82daf06066fff7d8858b1fdab03f83ce8728540bf87beaa4ecfe6498e8a4815c SHA512 461e50af32b81a836b93d528ffe28d01cc8c355a0c544c9ff1e8e6699d09b046ce426c579c3fbbfbe0521d716d7c9fcbe073f98a39498b750604b20c71742f17 WHIRLPOOL 2fce08e81c4f921497b97dbcccdb609013a9bb43a81e41e41146ecaad584fe3db2d13773ab7755263c76e4adb9ec68a0ffa848b1ea4e67c54826981e3df1b310 +MISC metadata.xml 355 SHA256 3fe59ecadf91cdd661b063661864ef57eb3df8d59bd55a2eb9e61dc1a75e5bd8 SHA512 78f8cc8f1f1be915da206e4b8be196a21b58a6f209023594755e481136a1b86ee31c8d0dfedd516d756a47db624e89728875b073b71c3b08ac94a5cde8ff3b83 WHIRLPOOL adc2ef67e7870008ce851a78268832c5ff50649850b2614fb66edd3a16ccbad441306f00c44000385a742552b91b4a805408b19aad2ef3b7dda9e86532703dba diff --git a/games-action/super-hexagon/metadata.xml b/games-action/super-hexagon/metadata.xml new file mode 100644 index 000000000000..b878aaa1812d --- /dev/null +++ b/games-action/super-hexagon/metadata.xml @@ -0,0 +1,13 @@ +<?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 the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> diff --git a/games-action/super-hexagon/super-hexagon-20141027.ebuild b/games-action/super-hexagon/super-hexagon-20141027.ebuild new file mode 100644 index 000000000000..dbd986011ba8 --- /dev/null +++ b/games-action/super-hexagon/super-hexagon-20141027.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# 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="superhexagon-${PV:4:4}${PV:0:4}-bin" + +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} SuperHexagon.png + + 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 +} |