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/trine-bin |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/trine-bin')
-rw-r--r-- | games-action/trine-bin/Manifest | 6 | ||||
-rw-r--r-- | games-action/trine-bin/metadata.xml | 8 | ||||
-rw-r--r-- | games-action/trine-bin/trine-bin-1.08-r1.ebuild | 66 | ||||
-rw-r--r-- | games-action/trine-bin/trine-bin-1.08.ebuild | 67 |
4 files changed, 147 insertions, 0 deletions
diff --git a/games-action/trine-bin/Manifest b/games-action/trine-bin/Manifest new file mode 100644 index 000000000000..6f6c3990ff10 --- /dev/null +++ b/games-action/trine-bin/Manifest @@ -0,0 +1,6 @@ +DIST Trine.64.run 648471997 SHA256 1c9067cb19e3c954b460b4df27e6ca5d80b31c7ead49bd5779dcbce5528177db SHA512 400200a3ebc6003545df460f9a8af7fe4f6f370655432c66ca8a5ceb10e40bf205e81f70cfbe3fe7386de9ec0aeb5e23f02590776c2b0f35a32f9fbc1012ea3a WHIRLPOOL b6610f53e8e4079383de9a664b8cb019fbe9daa7cdbb204116c3e34b27327325dfdc39649185076524429f8ba2fc1a0889f9006e6873db65c3f73784f440e1e9 +EBUILD trine-bin-1.08-r1.ebuild 1633 SHA256 7e90a8c24b18c42c7e4e1cfc5f4153c84fbd92604bc270c1d72a104f28b8e788 SHA512 a1a5287a3590a08e95a728bbdc1d1f0ce94e37b4c4136803dea5ce051f018e7c21dcbfcc912068d76fa5081f340e48e6935cd51ea737cafea00661bfdf295f60 WHIRLPOOL a315207ee70a2d9d7e4c69dcc5803dad36d56263780363c260abe92eb606942f7807822de707e6309e1a2306d27202b051a7f22adefbe8052db49a2ffd81a8f2 +EBUILD trine-bin-1.08.ebuild 1667 SHA256 e723ef1b800933f218dd14f79169014070a4f1d34906d4039ed503b671c3fb2c SHA512 5e395ec3eba04aab6367b1fe6933b010060595593aa082d8e5f6820c538131d218a4c1fa796cc1df2a5ac196dbd9bcdc5de4260ac4feaf80e9586e3875b96ae7 WHIRLPOOL ee8aaf3b55de7d7955a4777be6feebf81f0c0790bf9910fb9b8433f11ec0a086fd9a8440ffc0333c9f2a09a49956e9a6837e8059fc4010e1bccc5dd52a321901 +MISC ChangeLog 2576 SHA256 bb3834e2df65d657a58083ed7114870fb7828d57d4e23d9d5b2a93354cd11e7c SHA512 b6a21c5e15bcb84953bee7fe4a403d10a3c78163c5d647226c53b8a1c3b02e6349403c72176e5c9ca6cb041cc10409f355f07f0b522bd90bdd690dff346fb154 WHIRLPOOL 1e033460af0b23fbf8ff6f7e8464ee869ef027fcc04e3e4ca73017e776c523e0a6fff14311fa94e8964fcaad02a62259530ebd24d31d5dc1a8ebf4f87f892948 +MISC ChangeLog-2015 701 SHA256 830412518c4a20979aa7eb1f0bed3bfd1b9b3f07272068d62c32c5d716b1a4c0 SHA512 39e2b1d2eafc790ee9a057a979fb27a1a705c0458f4d01a4dd89fe017a0b919e3d440f97a54389eba5099ba39ae1752f5b6c3b95616be61755e6953fc4bc36ca WHIRLPOOL 6ac8b8746899bda2426d8eeadc8e55118210e85f04fab5d1962fee2783d9327a3681f4fc3c34f396ae863b263327a8f3f42af312c7d1123244b7e7529d3b69e8 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-action/trine-bin/metadata.xml b/games-action/trine-bin/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-action/trine-bin/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> diff --git a/games-action/trine-bin/trine-bin-1.08-r1.ebuild b/games-action/trine-bin/trine-bin-1.08-r1.ebuild new file mode 100644 index 000000000000..2d39d775cb8e --- /dev/null +++ b/games-action/trine-bin/trine-bin-1.08-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# these are ELFs that include a ZIP (504b0304) appended to it +# dd if=Trine.64.run of=Trine.64.zip ibs=$((0x342a8)) skip=1 +# dd if=Trine.32.run of=Trine.32.zip ibs=$((0x31c24)) skip=1 +# but `unzip` will skip the ELF at the start. both ELFs contain +# the same zip appended, so only need to hash one of them. + +EAPI=6 +inherit unpacker eutils + +DESCRIPTION="A physics-based action game where diff characters allow diff solutions to challenges" +HOMEPAGE="http://trine-thegame.com/" +SRC_URI="Trine.64.run" + +LICENSE="frozenbyte-eula" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="fetch strip" + +DEPEND="app-arch/unzip" +RDEPEND=" + dev-libs/libx86 + gnome-base/libglade + >=sys-devel/gcc-4.3.0 + >=sys-libs/glibc-2.4" + +S=${WORKDIR} + +d=/opt/${PN} +QA_PREBUILT="${d#/}/trine-launcher ${d#/}/trine-bin ${d#/}/lib*/lib*.so*" + +pkg_nofetch() { + einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}" + einfo "See http://www.humblebundle.com/ for more info." +} + +src_unpack() { + # manually run unzip as the initial seek causes it to exit(1) + unpack_zip ${A} + rm lib*/lib{gcc_s,m,rt,selinux}.so.? || die +} + +src_install() { + local b bb + local sfx=$(usex x86 32 64) + + doicon Trine.xpm + for b in bin launcher ; do + bb="trine-${b}" + exeinto ${d} + newexe ${bb}${sfx} ${bb} + make_wrapper ${bb} "./${bb}" "${d}" + make_desktop_entry ${bb} "Trine ${b}" Trine + done + + exeinto ${d}/lib${sfx} + doexe lib${sfx}/* + + insinto ${d} + doins -r binds config data dev profiles *.fbz *.glade trine-logo.png + + dodoc Trine_Manual_linux.pdf Trine_updates.txt +} diff --git a/games-action/trine-bin/trine-bin-1.08.ebuild b/games-action/trine-bin/trine-bin-1.08.ebuild new file mode 100644 index 000000000000..076c1d9893b8 --- /dev/null +++ b/games-action/trine-bin/trine-bin-1.08.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# these are ELFs that include a ZIP (504b0304) appended to it +# dd if=Trine.64.run of=Trine.64.zip ibs=$((0x342a8)) skip=1 +# dd if=Trine.32.run of=Trine.32.zip ibs=$((0x31c24)) skip=1 +# but `unzip` will skip the ELF at the start. both ELFs contain +# the same zip appended, so only need to hash one of them. + +EAPI=5 +inherit unpacker eutils games + +DESCRIPTION="a physics-based action game where diff characters allow diff solutions to challenges" +HOMEPAGE="http://trine-thegame.com/" +SRC_URI="Trine.64.run" + +LICENSE="frozenbyte-eula" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="fetch strip" + +DEPEND="app-arch/unzip" +RDEPEND=">=sys-libs/glibc-2.4 + >=sys-devel/gcc-4.3.0 + dev-libs/libx86 + gnome-base/libglade" + +S=${WORKDIR} + +d=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${d#/}/trine-launcher ${d#/}/trine-bin ${d#/}/lib*/lib*.so*" + +pkg_nofetch() { + einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}" + einfo "See http://www.humblebundle.com/ for more info." +} + +src_unpack() { + # manually run unzip as the initial seek causes it to exit(1) + unpack_zip ${A} + rm lib*/lib{gcc_s,m,rt,selinux}.so.? +} + +src_install() { + local b bb + local sfx=$(usex x86 32 64) + + doicon Trine.xpm + for b in bin launcher ; do + bb="trine-${b}" + exeinto ${d} + newexe ${bb}${sfx} ${bb} + games_make_wrapper ${bb} "./${bb}" "${d}" + make_desktop_entry ${bb} "Trine ${b}" Trine + done + + exeinto ${d}/lib${sfx} + doexe lib${sfx}/* + + insinto ${d} + doins -r binds config data dev profiles *.fbz *.glade trine-logo.png + + dodoc Trine_Manual_linux.pdf Trine_updates.txt + + prepgamesdirs +} |