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/brutal-legend/
Date: Sat, 16 Jul 2016 06:23:29 +0000 (UTC)	[thread overview]
Message-ID: <1468650200.eb40d017f48b3fd8473cc48c3584e4428e1dfe7e.wizardedit@gentoo> (raw)

commit:     eb40d017f48b3fd8473cc48c3584e4428e1dfe7e
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 06:22:44 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 06:23:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb40d017

games-action/brutal-legend: remove deprecated games eclass

Also update to EAPI 6

Package-Manager: portage-2.3.0

 .../brutal-legend/brutal-legend-20130615-r2.ebuild | 84 ++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
new file mode 100644
index 0000000..5a57aba
--- /dev/null
+++ b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# TODO: unbundle libsdl-2
+
+EAPI=6
+
+inherit eutils unpacker gnome2-utils
+
+TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2}
+DESCRIPTION="Unleash the power of Heavy Metal to reign down fire from the sky"
+HOMEPAGE="https://www.ea.com/de/brutal-legend"
+SRC_URI="BrutalLegend-Linux-${TIMESTAMP}-setup.bin"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="bindist fetch splitdebug"
+
+MYGAMEDIR="/opt/${PN}"
+QA_PREBUILT="${MYGAMEDIR#/}/lib/*
+	${MYGAMEDIR#/}/Buddha.bin.x86"
+
+RDEPEND="
+	amd64? (
+		>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
+		>=virtual/glu-9.0-r1[abi_x86_32(-)]
+		>=virtual/opengl-7.0-r1[abi_x86_32(-)]
+		>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
+		>=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
+		>=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
+		>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
+		>=x11-libs/libxcb-1.9.1[abi_x86_32(-)]
+	)
+	x86? (
+		sys-libs/zlib
+		virtual/glu
+		virtual/opengl
+		x11-libs/libX11
+		x11-libs/libXau
+		x11-libs/libXdmcp
+		x11-libs/libXext
+		x11-libs/libxcb
+
+	)"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/data
+
+pkg_nofetch() {
+	einfo "Please buy & download ${SRC_URI} from:"
+	einfo "  https://www.humblebundle.com/store"
+	einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+	unpack_zip ${A}
+}
+
+src_install() {
+	newicon -s 256 Buddha.png ${PN}.png
+	make_wrapper ${PN} "./Buddha.bin.x86" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+	make_desktop_entry ${PN}
+
+	dodir "${MYGAMEDIR}"
+	# this is over 9000!!!! ...eh, 8GB data
+	mv * "${D%/}/${MYGAMEDIR}" || die
+
+	fperms +x "${MYGAMEDIR}/Buddha.bin.x86"
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2016-07-16  6:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-16  6:23 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-16 19:01 [gentoo-commits] repo/gentoo:master commit in: games-action/brutal-legend/ Michał Górny
2018-12-20 17:25 Ben Kohler
2021-06-08  4:19 Ionen Wolkens
2022-01-30 10:32 James Le Cuirot

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=1468650200.eb40d017f48b3fd8473cc48c3584e4428e1dfe7e.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