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/garden/, games-action/garden/files/
Date: Tue, 24 Jan 2017 23:40:01 +0000 (UTC)	[thread overview]
Message-ID: <1485301157.e1b52c244e7416d879ebafe9aa294c483506bcc4.wizardedit@gentoo> (raw)

commit:     e1b52c244e7416d879ebafe9aa294c483506bcc4
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 23:25:27 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 23:39:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b52c24

games-action/garden: 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/garden/files/garden-1.0.8-dash.patch  |  4 +-
 .../garden/files/garden-1.0.8-underlink.patch      |  8 ++--
 games-action/garden/files/garden-1.0.9-dash.patch  |  4 +-
 .../garden/files/garden-1.0.9-resources.patch      |  4 +-
 games-action/garden/garden-1.0.9-r1.ebuild         | 52 ++++++++++++++++++++++
 5 files changed, 62 insertions(+), 10 deletions(-)

diff --git a/games-action/garden/files/garden-1.0.8-dash.patch b/games-action/garden/files/garden-1.0.8-dash.patch
index 2d86302..6b197f4 100644
--- a/games-action/garden/files/garden-1.0.8-dash.patch
+++ b/games-action/garden/files/garden-1.0.8-dash.patch
@@ -1,5 +1,5 @@
---- configure.ac.orig	2015-05-04 14:48:03.467935640 -0400
-+++ configure.ac	2015-05-04 14:48:24.729199607 -0400
+--- a/configure.ac	2015-05-04 14:48:03.467935640 -0400
++++ b/configure.ac	2015-05-04 14:48:24.729199607 -0400
 @@ -80,7 +80,7 @@
  		       [have_allegro="no"])
  	AC_MSG_RESULT([$have_allegro])

diff --git a/games-action/garden/files/garden-1.0.8-underlink.patch b/games-action/garden/files/garden-1.0.8-underlink.patch
index bd25a4d..e538a61 100644
--- a/games-action/garden/files/garden-1.0.8-underlink.patch
+++ b/games-action/garden/files/garden-1.0.8-underlink.patch
@@ -1,5 +1,5 @@
---- bin/Makefile.am.old	2011-06-22 18:16:30.654661047 +0200
-+++ bin/Makefile.am	2011-06-22 18:16:55.662251326 +0200
+--- a/bin/Makefile.am	2011-06-22 18:16:30.654661047 +0200
++++ b/bin/Makefile.am	2011-06-22 18:16:55.662251326 +0200
 @@ -9,6 +9,7 @@
  garden_LDFLAGS = -static
  else #unix version :-)
@@ -8,8 +8,8 @@
  endif
  
  #how to build resources?
---- Makefile.am.old	2011-06-22 18:19:37.787560851 +0200
-+++ Makefile.am	2011-06-22 18:19:44.078960907 +0200
+--- a/Makefile.am	2011-06-22 18:19:37.787560851 +0200
++++ b/Makefile.am	2011-06-22 18:19:44.078960907 +0200
 @@ -1,5 +1,5 @@
  ACLOCAL_AMFLAGS= -I m4
 -SUBDIRS = bin resources

diff --git a/games-action/garden/files/garden-1.0.9-dash.patch b/games-action/garden/files/garden-1.0.9-dash.patch
index 2d86302..6b197f4 100644
--- a/games-action/garden/files/garden-1.0.9-dash.patch
+++ b/games-action/garden/files/garden-1.0.9-dash.patch
@@ -1,5 +1,5 @@
---- configure.ac.orig	2015-05-04 14:48:03.467935640 -0400
-+++ configure.ac	2015-05-04 14:48:24.729199607 -0400
+--- a/configure.ac	2015-05-04 14:48:03.467935640 -0400
++++ b/configure.ac	2015-05-04 14:48:24.729199607 -0400
 @@ -80,7 +80,7 @@
  		       [have_allegro="no"])
  	AC_MSG_RESULT([$have_allegro])

diff --git a/games-action/garden/files/garden-1.0.9-resources.patch b/games-action/garden/files/garden-1.0.9-resources.patch
index 6acd6f5..0ddbdc5 100644
--- a/games-action/garden/files/garden-1.0.9-resources.patch
+++ b/games-action/garden/files/garden-1.0.9-resources.patch
@@ -1,5 +1,5 @@
---- Makefile.am.orig	2015-05-04 16:57:07.510191036 -0400
-+++ Makefile.am	2015-05-04 16:57:14.581946228 -0400
+--- a/Makefile.am	2015-05-04 16:57:07.510191036 -0400
++++ b/Makefile.am	2015-05-04 16:57:14.581946228 -0400
 @@ -1,3 +1,3 @@
  ACLOCAL_AMFLAGS= -I m4
  

diff --git a/games-action/garden/garden-1.0.9-r1.ebuild b/games-action/garden/garden-1.0.9-r1.ebuild
new file mode 100644
index 00000000..681e2cd
--- /dev/null
+++ b/games-action/garden/garden-1.0.9-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils gnome2-utils autotools flag-o-matic
+
+DESCRIPTION="Multiplatform vertical shoot-em-up with non-traditional elements"
+HOMEPAGE="http://garden.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="<media-libs/allegro-5"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/${P}-dash.patch"
+	"${FILESDIR}/${P}-resources.patch"
+)
+src_prepare() {
+	default
+
+	# build with gcc52
+	sed -i \
+		-e 's/inline/extern inline/' \
+		src/stuff.h || die
+	eautoreconf
+	append-cflags -std=gnu89 # build with gcc5 (bug #572672)
+}
+
+src_install() {
+	DOCS="AUTHORS ChangeLog NEWS README" \
+		default
+	doicon -s scalable resources/garden.svg
+	make_desktop_entry garden "Garden of coloured lights"
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2017-01-24 23:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 23:40 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-23  1:24 [gentoo-commits] repo/gentoo:master commit in: games-action/garden/, games-action/garden/files/ 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=1485301157.e1b52c244e7416d879ebafe9aa294c483506bcc4.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