From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F88213832E for ; Fri, 5 Aug 2016 16:35:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11B41E0A6C; Fri, 5 Aug 2016 16:35:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30BD0E0A6C for ; Fri, 5 Aug 2016 16:35:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 280E8340B25 for ; Fri, 5 Aug 2016 16:35:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5BEEFE6B for ; Fri, 5 Aug 2016 16:35:33 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1470414921.e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/crayon-physics/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-kids/crayon-physics/crayon-physics-55-r1.ebuild X-VCS-Directories: games-kids/crayon-physics/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f X-VCS-Branch: master Date: Fri, 5 Aug 2016 16:35:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 090cf316-5b04-4ddf-a179-8c6b3328a343 X-Archives-Hash: 0563d00f51df82d1db7ffd00a66e8ca9 commit: e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f Author: Austin English gentoo org> AuthorDate: Fri Aug 5 15:36:06 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Aug 5 16:35:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b8ac9a games-kids/crayon-physics: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../crayon-physics/crayon-physics-55-r1.ebuild | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) 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 0000000..c9a69a5 --- /dev/null +++ b/games-kids/crayon-physics/crayon-physics-55-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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() { + 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 +}