public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xmountains/
Date: Sat,  4 Mar 2017 15:19:17 +0000 (UTC)	[thread overview]
Message-ID: <1488640721.b4f8b8fae3ad4f7337ca9b8cb1a7a19a559049b2.soap@gentoo> (raw)

commit:     b4f8b8fae3ad4f7337ca9b8cb1a7a19a559049b2
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Thu Mar  2 09:10:01 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 15:18:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4f8b8fa

x11-misc/xmountains: EAPI bump 4 -> 6

Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4098

 x11-misc/xmountains/xmountains-2.9-r1.ebuild | 48 ++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/x11-misc/xmountains/xmountains-2.9-r1.ebuild b/x11-misc/xmountains/xmountains-2.9-r1.ebuild
new file mode 100644
index 00000000000..7bf5d4f892c
--- /dev/null
+++ b/x11-misc/xmountains/xmountains-2.9-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P=${P/-/_}
+
+DESCRIPTION="Fractal terrains of snow-capped mountains near water"
+HOMEPAGE="https://spbooth.github.io/xmountains/"
+SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+	x11-libs/libX11
+	x11-misc/xbitmaps"
+DEPEND="${RDEPEND}
+	x11-proto/xproto"
+
+S=${WORKDIR}
+
+src_prepare() {
+	default
+	# add missing include for strcmp
+	sed -i xmountains.c -e '1a#include <string.h> /* strcmp() */' || die
+	# remove obsolete references to global.*
+	sed -i Makefile.alt README -e 's|global\..||g' || die
+}
+
+src_compile() {
+	emake \
+		-f Makefile.alt \
+		CC="$(tc-getCC)" \
+		CFLAGS="${CFLAGS}" \
+		LDFLAGS="${LDFLAGS}" \
+		${PN}
+}
+
+src_install() {
+	dobin ${PN}
+	newman ${PN}.man ${PN}.1
+	einstalldocs
+}


             reply	other threads:[~2017-03-04 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04 15:19 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-20 11:04 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xmountains/ Agostino Sarubbo
2017-03-21 14:34 Agostino Sarubbo
2017-03-22  7:30 Michael Weber
2017-04-01 10:24 David Seifert

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=1488640721.b4f8b8fae3ad4f7337ca9b8cb1a7a19a559049b2.soap@gentoo \
    --to=soap@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