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-action/trine-bin/
Date: Tue, 31 Jan 2017 00:59:32 +0000 (UTC)	[thread overview]
Message-ID: <1485824360.b156aea2bacb9fa268b1f52f996b6b8af43fe94a.wizardedit@gentoo> (raw)

commit:     b156aea2bacb9fa268b1f52f996b6b8af43fe94a
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 23:41:47 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 00:59:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b156aea2

games-action/trine-bin: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 games-action/trine-bin/trine-bin-1.08-r1.ebuild | 67 +++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

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 00000000..c673584
--- /dev/null
+++ b/games-action/trine-bin/trine-bin-1.08-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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
+}


             reply	other threads:[~2017-01-31  0:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31  0:59 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-01 22:04 [gentoo-commits] repo/gentoo:master commit in: games-action/trine-bin/ James Le Cuirot
2016-01-13 20:52 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=1485824360.b156aea2bacb9fa268b1f52f996b6b8af43fe94a.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