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-misc/dont-starve |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/dont-starve')
-rw-r--r-- | games-misc/dont-starve/Manifest | 6 | ||||
-rw-r--r-- | games-misc/dont-starve/dont-starve-2.ebuild | 61 | ||||
-rw-r--r-- | games-misc/dont-starve/metadata.xml | 8 |
3 files changed, 75 insertions, 0 deletions
diff --git a/games-misc/dont-starve/Manifest b/games-misc/dont-starve/Manifest new file mode 100644 index 000000000000..283833ff8521 --- /dev/null +++ b/games-misc/dont-starve/Manifest @@ -0,0 +1,6 @@ +DIST dontstarve_x32_july21.tar.gz 174752315 SHA256 b1eb38a7cb7179b8db7d81c5070737a4acbaf1a9473912cb1bcb5c2ec784304b SHA512 d508989e6c2fe0fceb4706250c8f222acdf5a52492fa2dafa8baab25f98a029658631789cce5164f43c6e5ed529f2cf490fea321635e4077f54f09907071e921 WHIRLPOOL 18f8ee5a44c2984db86ae60bd99fc61ad87cc99890629a36c5d15a046bbd557854c1f9591b936b8bf9fc9d2248132439b8e236ded60e359a599d8cdac0770677 +DIST dontstarve_x64_july21.tar.gz 175302157 SHA256 3a3297ca6bada9c55bafe568085e75a9790f796aa7711726346d571ac40e25e6 SHA512 ef10acd493544f064fcd12868a47e650cd09f66318d57eaa994c4866c808ede4504f9e55933be66f7fad7783e72c91043c4b884970e7b80f8ea45f814828c752 WHIRLPOOL fe19306b8e220f6680d1ffaf089eb8a643f789a0e165979cf0d1f93e111f7c1e6675ffb4340496fe5ca35c263bce5af87b467cf5c2fe35d1ad64755ae311b469 +EBUILD dont-starve-2.ebuild 1401 SHA256 8fed457e40c0515c4fc5fcfbd1fc54f7005ee29db774c906993a985fdb004b16 SHA512 013ff4da3632d4b746b13d76ee81995174f5b1e8ce2cad54b370d42675f8a881fad0f7fb8b5e3160f3afae00f295e8ee0fd3468b3cff7e8e97850e70856779db WHIRLPOOL 318c74b65c7e110f35e389825cbc79d4677f4ea17cfb1f689d228cee284f619b35c8a10fa2c2d134598f2f9c31cfb13a678774a642f14e84bb1f88346c6ce8b2 +MISC ChangeLog 2433 SHA256 926fff9d507bb20a8e45a295ce5d19663ef82a79d7ed6c69eb2c309cc53cdd33 SHA512 7c779947c6d4186eb784505ce46ec3188c19e039d8e86d34f526e201321e4c5685c26a4c8a26a995b5303775428b4505a1b498a490bbb1ed7d114fd1d58c908a WHIRLPOOL db5759976ba888f74a7ec0aa40398d09b4e775df2cae85b1312a22960bbf19798d90f06b5f3595a7843d355d7f5dd5ede0a63d64221b30f86b970084e505735a +MISC ChangeLog-2015 951 SHA256 0b59804fd04527fed4f64b5a8bd262f23f5655f322f782a488358c1cddce5b33 SHA512 fa2c8aeb11dd2e20c0e5509d6e54422430c2ff0765f23e188a20ff0b8ff1dcad86a28145a7efa0be6952f2d9d63bbe8f9911c4293998b8046f2efa3be5757430 WHIRLPOOL c61ef15604e69402df2817b2946b5590ecca6c9a92ba2038b66492158e231324da7aeb1949d0b7196e7bd25ed836dd2229c90f38d8efe778b3d95748ce929951 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-misc/dont-starve/dont-starve-2.ebuild b/games-misc/dont-starve/dont-starve-2.ebuild new file mode 100644 index 000000000000..74272a3a6990 --- /dev/null +++ b/games-misc/dont-starve/dont-starve-2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils games + +DESCRIPTION="Wilderness survival game full of science and magic" +HOMEPAGE="http://www.dontstarvegame.com/" +SRC_URI="amd64? ( dontstarve_x64_july21.tar.gz ) + x86? ( dontstarve_x32_july21.tar.gz )" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="fetch bindist splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/bin/dontstarve" +if [[ $ARCH == amd64 ]] ; then + QA_PREBUILT="${QA_PREBUILT} + ${MYGAMEDIR#/}/bin/lib64/*" +elif [[ ${ARCH} == x86 ]] ; then + QA_PREBUILT="${QA_PREBUILT} + ${MYGAMEDIR#/}/bin/lib32/*" +fi + +RDEPEND="net-misc/curl + virtual/opengl" + +S=${WORKDIR}/dontstarve + +pkg_nofetch() { + einfo + einfo "Please buy & download \"${SRC_URI}\" from:" + einfo " ${HOMEPAGE}" + einfo "and move/link it to \"${DISTDIR}\"" + einfo +} + +src_install() { + local libdir=lib$(usex amd64 "64" "32") + + insinto "${MYGAMEDIR}" + doins -r data mods + + exeinto "${MYGAMEDIR}"/bin + doexe bin/dontstarve + exeinto "${MYGAMEDIR}"/bin/${libdir} + doexe bin/${libdir}/libfmod* + # unbundling libsdl2 breaks the menu, so you cannot start the game + doexe bin/${libdir}/libSDL2* + + games_make_wrapper ${PN} "./dontstarve" "${MYGAMEDIR}/bin" "${MYGAMEDIR}/bin/${libdir}" + make_desktop_entry ${PN} + + doicon dontstarve.xpm + + prepgamesdirs +} diff --git a/games-misc/dont-starve/metadata.xml b/games-misc/dont-starve/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-misc/dont-starve/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |