public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/late/files/, games-arcade/late/
Date: Sun, 22 Apr 2018 09:22:27 +0000 (UTC)	[thread overview]
Message-ID: <1524388437.a698fd284b0e253d68032d48ddb83b70b4adb91a.pacho@gentoo> (raw)

commit:     a698fd284b0e253d68032d48ddb83b70b4adb91a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 22 09:13:57 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 22 09:13:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a698fd28

games-arcade/late: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-arcade/late/files/late-0.1.0-gcc43.patch |  4 +--
 games-arcade/late/late-0.1.0-r1.ebuild         | 35 ++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/games-arcade/late/files/late-0.1.0-gcc43.patch b/games-arcade/late/files/late-0.1.0-gcc43.patch
index bce26464cf0..8cfead22a27 100644
--- a/games-arcade/late/files/late-0.1.0-gcc43.patch
+++ b/games-arcade/late/files/late-0.1.0-gcc43.patch
@@ -1,5 +1,5 @@
---- src/init.cpp
-+++ src/init.cpp
+--- a/src/init.cpp
++++ b/src/init.cpp
 @@ -26,6 +26,8 @@
  #include "scorescreen.h"
  #include <fstream>

diff --git a/games-arcade/late/late-0.1.0-r1.ebuild b/games-arcade/late/late-0.1.0-r1.ebuild
new file mode 100644
index 00000000000..dd837c5f622
--- /dev/null
+++ b/games-arcade/late/late-0.1.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="A game, similar to Barrack by Ambrosia Software"
+HOMEPAGE="http://late.sourceforge.net/"
+SRC_URI="mirror://sourceforge/late/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]
+	media-libs/sdl-image[jpeg]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eapply \
+		"${FILESDIR}"/${P}-gcc43.patch \
+		"${FILESDIR}"/${P}-gcc46.patch
+	sed -i \
+		-e "/chown/d" \
+		Makefile.in \
+		|| die "sed failed"
+}
+
+src_install () {
+	default
+	newicon graphics/latebg2.jpg ${PN}.jpg
+	make_desktop_entry late Late /usr/share/pixmaps/${PN}.jpg
+}


             reply	other threads:[~2018-04-22  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-22  9:22 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-13  9:10 [gentoo-commits] repo/gentoo:master commit in: games-arcade/late/files/, games-arcade/late/ Ionen Wolkens

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=1524388437.a698fd284b0e253d68032d48ddb83b70b4adb91a.pacho@gentoo \
    --to=pacho@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