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-arcade/opentyrian/
Date: Tue,  5 Sep 2017 18:32:37 +0000 (UTC)	[thread overview]
Message-ID: <1504636346.57931659ff17897d8015248fe798e040fd18c905.wizardedit@gentoo> (raw)

commit:     57931659ff17897d8015248fe798e040fd18c905
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  5 18:30:19 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Sep  5 18:32:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57931659

games-arcade/opentyrian: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../opentyrian/opentyrian-2.1.20130907-r1.ebuild   | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
new file mode 100644
index 00000000000..5b961968215
--- /dev/null
+++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter"
+HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
+SRC_URI="http://darklomax.org/tyrian/tyrian21.zip
+	 http://www.camanis.net/${PN}/releases/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+	media-libs/sdl-net"
+
+# Yes, mercurial is needed to set the build version stamp.
+DEPEND="${RDEPEND}
+	app-arch/unzip
+	dev-vcs/mercurial"
+
+PATCHES=(
+	"${FILESDIR}/${PV}-datapath.diff"
+	"${FILESDIR}/${PV}-cflag-idiocy.diff"
+)
+
+src_compile() {
+	emake DATA_PATH="/usr/share/${PN}" || die "Compilation failed"
+}
+
+src_install() {
+	dobin opentyrian || die "Failed to install game binary"
+	dosym ../../usr/bin/opentyrian /usr/bin/tyrian || die "Failed to symlink"
+	dodoc CREDITS NEWS README || die "Failed to install documentation"
+	domenu linux/opentyrian.desktop || die "Failed to install desktop file"
+	for i in linux/icons/*.png ; do
+		local size=`echo ${i} | sed -e 's:.*-\([0-9]\+\).png:\1:'`
+		insinto /usr/share/icons/hicolor/${size}x${size}/apps
+		newins ${i} opentyrian.png || die "Failed to install program icon"
+	done
+	insinto "/usr/share/${PN}"
+	cd "${WORKDIR}/tyrian21"
+	rm *.exe dpmi16bi.ovl loudness.awe || die "Failed to remove win32 binaries"
+	doins * || die "Failed to install game data"
+}


             reply	other threads:[~2017-09-05 18:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-05 18:32 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-19  0:48 [gentoo-commits] repo/gentoo:master commit in: games-arcade/opentyrian/ Sam James
2021-05-31 17:49 David Seifert
2020-08-22 18:56 James Le Cuirot
2020-08-22 18:56 James Le Cuirot
2018-08-27 21:23 James Le Cuirot
2018-08-27 21:23 James Le Cuirot
2015-09-01 19:43 Tobias Klausmann

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=1504636346.57931659ff17897d8015248fe798e040fd18c905.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