public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/crayon-physics/
Date: Fri,  5 Aug 2016 16:35:33 +0000 (UTC)	[thread overview]
Message-ID: <1470414921.e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f.wizardedit@gentoo> (raw)

commit:     e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 15:36:06 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2016-08-05 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 16:35 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-06 16:08 [gentoo-commits] repo/gentoo:master commit in: games-kids/crayon-physics/ Mart Raudsepp
2016-09-01 22:07 Austin English
2015-10-31 16:07 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470414921.e9b8ac9a03f4ea641fb67ffb4cc0971fa4af9f1f.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox