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-kids/crayon-physics |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-kids/crayon-physics')
-rw-r--r-- | games-kids/crayon-physics/Manifest | 6 | ||||
-rw-r--r-- | games-kids/crayon-physics/crayon-physics-55-r1.ebuild | 82 | ||||
-rw-r--r-- | games-kids/crayon-physics/crayon-physics-55.ebuild | 83 | ||||
-rw-r--r-- | games-kids/crayon-physics/metadata.xml | 13 |
4 files changed, 184 insertions, 0 deletions
diff --git a/games-kids/crayon-physics/Manifest b/games-kids/crayon-physics/Manifest new file mode 100644 index 000000000000..c2ef51cb7577 --- /dev/null +++ b/games-kids/crayon-physics/Manifest @@ -0,0 +1,6 @@ +DIST crayon_physics_deluxe-linux-release55.tar.gz 33236439 SHA256 1a8f29fc298abea8fdde2b926d33e00e88500f2a8eef5d78c97355b5483d4a8b SHA512 1840cabba5b922f155b90c4442c460e7dc5c63aa2e1348a5f175211d5264c645c08af9a3bd43861aa8497e111678a7314b94d2ba0035b2e07e811200f1af07eb WHIRLPOOL 4413692ea91a09f0e87c56e2eb030e2e5874a3994579bd744bc0c3d10a2919db1780ff16d0073ae9fc56f1fc8bed264b947f02396c306d7f70b497b19da1ac9e +EBUILD crayon-physics-55-r1.ebuild 1723 SHA256 14fb2a11640ac94dc7b01c59e05049c59b58d63ee665855c3954f4f018a2e593 SHA512 44bcb55cec1fe0886181b8fb89cf935a74be98ebd7f79090def7986e22baf73fb4a5ffb680b810cd304404276beb2d266c6bd3c41d3e731abaa1f952647c8be6 WHIRLPOOL ffe1ffb5e94f3548cef83d5faea270b9d2cf80993c90f8bc8bd89903b24e4e0a8ef9bdf0b03263c1955afadd92f6d8f52db584679e6c9eaedbea4fb5f8823d28 +EBUILD crayon-physics-55.ebuild 1790 SHA256 e1d64a5dac1d0ff888d117d0d959056df11fb420485867d45e746586c413d502 SHA512 6a376fc53d71b7debc0bf0c7ce4141e221c1067d1d087916dc1e509f76c186b143e7c26d725b3391f40eb355fa11fbc10df00eca6298e1b05ea5ed9f99e576e9 WHIRLPOOL b39c89598a4404ddcd1f27997bba4709bb1f72775fff69077f24d246d77a9e3d14f5d20475ca4d6b54f2b6a75df049bc5c43bb6208f941fb177f2cf7088d4295 +MISC ChangeLog 3480 SHA256 320ba16e1fea223c8478ca01347d789cdcd08063f8b13c8102749f5ed1465938 SHA512 5f9cbc09a8618ad5d8b24d731a42001b24351d0ad5e7de865932005665d6f06103d22c1fd3935e88206efb95e7449e9583e9b4a8e976422c6d2b80efdfbaf1ca WHIRLPOOL 8e18421086a090778b0204db196c83d1f367f946bd3f51ca74c5c85a646184942471c593cb749dd7c59dbdfd81a5897c8d0867699dfb4d4f67d4f0ec0b1e1caa +MISC ChangeLog-2015 1692 SHA256 8e0e1f90eb43669b612cff4fe2365cdb27db1c2c673327d678406a84e0cbe4bf SHA512 8a053633a9488f801da459f35ffc22f6bb64b3a8ad9bb531a08e501787e916f23f3258ff4e093bed7a5981c36753e4ad2c7e9f0c2d232aa1d7061376e07fe049 WHIRLPOOL a9e80ded54ea32ed5c666283442ea0abb11e134b27d947ea00807b10b9d9ce142091c712c969ee136798fa374470d09a7b9c398e3cafee761d423b2ecd31b415 +MISC metadata.xml 355 SHA256 3fe59ecadf91cdd661b063661864ef57eb3df8d59bd55a2eb9e61dc1a75e5bd8 SHA512 78f8cc8f1f1be915da206e4b8be196a21b58a6f209023594755e481136a1b86ee31c8d0dfedd516d756a47db624e89728875b073b71c3b08ac94a5cde8ff3b83 WHIRLPOOL adc2ef67e7870008ce851a78268832c5ff50649850b2614fb66edd3a16ccbad441306f00c44000385a742552b91b4a805408b19aad2ef3b7dda9e86532703dba diff --git a/games-kids/crayon-physics/crayon-physics-55-r1.ebuild b/games-kids/crayon-physics/crayon-physics-55-r1.ebuild new file mode 100644 index 000000000000..7b3146fa7e18 --- /dev/null +++ b/games-kids/crayon-physics/crayon-physics-55-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnome2-utils + +DESCRIPTION="2D physics puzzle/sandbox game with drawing" +HOMEPAGE="http://www.crayonphysics.com/" +SRC_URI="crayon_physics_deluxe-linux-release${PV}.tar.gz" + +LICENSE="CRAYON-PHYSICS" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR="/opt/${PN}" +QA_PREBUILT="${MYGAMEDIR#/}/crayon + ${MYGAMEDIR#/}/lib32/*" + +RDEPEND=" + dev-qt/qtcore:4[abi_x86_32(-)] + dev-qt/qtgui:4[abi_x86_32(-)] + virtual/glu[abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x86? ( + !bundled-libs? ( + media-libs/libmikmod + media-libs/libsdl:0[X,sound,video,opengl,joystick] + media-libs/libvorbis + media-libs/sdl-image[png,jpeg,tiff] + media-libs/sdl-mixer[vorbis,wav] + media-libs/smpeg[X,opengl] + media-libs/tiff:0 + virtual/jpeg:0 + ) + )" + +S=${WORKDIR}/CrayonPhysicsDeluxe + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_prepare() { + default + + if use bundled-libs ; then + mv lib32/_libSDL-1.2.so.0 lib32/libSDL-1.2.so.0 || die + fi +} + +src_install() { + insinto "${MYGAMEDIR}" + use bundled-libs && doins -r lib32 + doins -r cache data crayon autoexec.txt version.xml + + newicon -s 256 icon.png ${PN}.png + make_desktop_entry ${PN} + make_wrapper ${PN} "./crayon" "${MYGAMEDIR}" "${MYGAMEDIR}/lib32" + + dodoc changelog.txt linux_hotfix_notes.txt + dohtml readme.html + + fperms +x "${MYGAMEDIR}"/crayon +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-kids/crayon-physics/crayon-physics-55.ebuild b/games-kids/crayon-physics/crayon-physics-55.ebuild new file mode 100644 index 000000000000..88321c83ccb3 --- /dev/null +++ b/games-kids/crayon-physics/crayon-physics-55.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="2D physics puzzle/sandbox game with drawing" +HOMEPAGE="http://www.crayonphysics.com/" +SRC_URI="crayon_physics_deluxe-linux-release${PV}.tar.gz" + +LICENSE="CRAYON-PHYSICS" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/crayon + ${MYGAMEDIR#/}/lib32/*" + +RDEPEND=" + dev-qt/qtcore:4[abi_x86_32(-)] + dev-qt/qtgui:4[abi_x86_32(-)] + virtual/glu[abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x86? ( + !bundled-libs? ( + media-libs/libmikmod + media-libs/libsdl:0[X,sound,video,opengl,joystick] + media-libs/libvorbis + media-libs/sdl-image[png,jpeg,tiff] + media-libs/sdl-mixer[vorbis,wav] + media-libs/smpeg[X,opengl] + media-libs/tiff:0 + virtual/jpeg:0 + ) + )" + +S=${WORKDIR}/CrayonPhysicsDeluxe + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_prepare() { + if use bundled-libs ; then + mv lib32/_libSDL-1.2.so.0 lib32/libSDL-1.2.so.0 || die + fi +} + +src_install() { + insinto "${MYGAMEDIR}" + use bundled-libs && doins -r lib32 + doins -r cache data crayon autoexec.txt version.xml + + newicon -s 256 icon.png ${PN}.png + make_desktop_entry ${PN} + games_make_wrapper ${PN} "./crayon" "${MYGAMEDIR}" "${MYGAMEDIR}/lib32" + + dodoc changelog.txt linux_hotfix_notes.txt + dohtml readme.html + + fperms +x "${MYGAMEDIR}"/crayon + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-kids/crayon-physics/metadata.xml b/games-kids/crayon-physics/metadata.xml new file mode 100644 index 000000000000..b878aaa1812d --- /dev/null +++ b/games-kids/crayon-physics/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> |