diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:03:58 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-03-21 22:03:58 +0000 |
commit | 2096a05edf1d258f2949df6791b979866b39a3d7 (patch) | |
tree | 1da97e0c23f9356300e827af73197164e552badd /games-kids/crayon-physics | |
parent | mask games-kids/crayon-physics for hardened-multilib (diff) | |
download | gentoo-2-2096a05edf1d258f2949df6791b979866b39a3d7.tar.gz gentoo-2-2096a05edf1d258f2949df6791b979866b39a3d7.tar.bz2 gentoo-2-2096a05edf1d258f2949df6791b979866b39a3d7.zip |
initial import wrt #378837
(Portage version: 2.2.0_alpha168/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-kids/crayon-physics')
-rw-r--r-- | games-kids/crayon-physics/ChangeLog | 10 | ||||
-rw-r--r-- | games-kids/crayon-physics/Manifest | 4 | ||||
-rw-r--r-- | games-kids/crayon-physics/crayon-physics-55.ebuild | 94 | ||||
-rw-r--r-- | games-kids/crayon-physics/metadata.xml | 15 |
4 files changed, 123 insertions, 0 deletions
diff --git a/games-kids/crayon-physics/ChangeLog b/games-kids/crayon-physics/ChangeLog new file mode 100644 index 000000000000..8af860c876e7 --- /dev/null +++ b/games-kids/crayon-physics/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-kids/crayon-physics +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/crayon-physics/ChangeLog,v 1.1 2013/03/21 22:03:58 hasufell Exp $ + +*crayon-physics-55 (21 Mar 2013) + + 21 Mar 2013; Julian Ospald <hasufell@gentoo.org> +crayon-physics-55.ebuild, + +metadata.xml: + initial import wrt #378837 + diff --git a/games-kids/crayon-physics/Manifest b/games-kids/crayon-physics/Manifest new file mode 100644 index 000000000000..3b6453a3f8ec --- /dev/null +++ b/games-kids/crayon-physics/Manifest @@ -0,0 +1,4 @@ +DIST crayon_physics_deluxe-linux-release55.tar.gz 33236439 SHA256 1a8f29fc298abea8fdde2b926d33e00e88500f2a8eef5d78c97355b5483d4a8b SHA512 1840cabba5b922f155b90c4442c460e7dc5c63aa2e1348a5f175211d5264c645c08af9a3bd43861aa8497e111678a7314b94d2ba0035b2e07e811200f1af07eb WHIRLPOOL 4413692ea91a09f0e87c56e2eb030e2e5874a3994579bd744bc0c3d10a2919db1780ff16d0073ae9fc56f1fc8bed264b947f02396c306d7f70b497b19da1ac9e +EBUILD crayon-physics-55.ebuild 1978 SHA256 4ffa67f115ee00a25b220468b29de1c93d048a2112683238c2f707856135d623 SHA512 bb63699f497a01551ba075783669182d2646c51735d0bb84fa6bebd82108db83d4227a21f3bcd802208c72a1fa28737191a61faa62e2601247ce9f9a2026c14c WHIRLPOOL 99fc0f53d340cb626f2803e3f5e3e056536f9b9d86f195e5947731189dc17b27d83726c5baf47e1f9157f448530baf068abd7c95cf5f7f8cd57638b93e1f8bf0 +MISC ChangeLog 285 SHA256 db70845c07eece7c6448898b48c45a74a009549320958bca32cb0dff6ede6854 SHA512 6b21628926d7998b27e7cb2a5ab14c06785ff1db64fe9e96893a45c6c3ee75aa20ba9043d3c1b68195cc4adbba26e82b01bcc83d8ed1c4917cee4c26f129b92c WHIRLPOOL 6e569dc740f20ed3cab2c23e0dee6d79565ad616dbeeaf3caf60b49e0bc5510d5c3294d3ee1386dd7b76cadb45222a8a4f06149463f6ed8f83ec48524b34d5a8 +MISC metadata.xml 357 SHA256 edcc7199ab480ee354907b48f6b4d582a64e82fa5160973b671106f08b153145 SHA512 73094df9982a4b60d3faba468322c1450aa515acc405f3deff1ce29307c1dfb301a66e09586df2ae39cc8262020e6b6f6141372cb9baaf8787910593582a5013 WHIRLPOOL 19503a292e1bb54ac364a724f1a8f785a54439daaeb2c609041759a0f8447e11c38afb754fe617909c68406c0325a0fffbe19ae20a617e1bcedf10d77cb59ef2 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..2f000a0f6f12 --- /dev/null +++ b/games-kids/crayon-physics/crayon-physics-55.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/crayon-physics/crayon-physics-55.ebuild,v 1.1 2013/03/21 22:03:58 hasufell Exp $ + +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" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/crayon + ${MYGAMEDIR#/}/lib32/*" + +# fuck this pulseaudio linkage +RDEPEND=" + virtual/opengl + amd64? ( + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-qtlibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-xlibs + ) + x86? ( + media-sound/pulseaudio + dev-qt/qtcore:4 + dev-qt/qtgui:4 + virtual/glu + x11-libs/libX11 + !bundled-libs? ( + media-libs/libmikmod + media-libs/libsdl[X,audio,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 + ) + )" + +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..d647e74d87ea --- /dev/null +++ b/games-kids/crayon-physics/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <use> + <flag name='bundled-libs'> + Use the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> + |