public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christian Schmitt" <chris@ilovelinux.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/terragear-cs/
Date: Wed,  1 Jun 2011 11:54:04 +0000 (UTC)	[thread overview]
Message-ID: <4f4634a8f3ca305b568633450dfa2141e74112e1.christian@gentoo> (raw)

commit:     4f4634a8f3ca305b568633450dfa2141e74112e1
Author:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
AuthorDate: Wed Jun  1 11:33:24 2011 +0000
Commit:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
CommitDate: Wed Jun  1 11:53:20 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=4f4634a8

[games-util/terragear-cs] add gdal useflag and move to git-2 eclass

---
 games-util/terragear-cs/metadata.xml             |    3 +++
 games-util/terragear-cs/terragear-cs-9999.ebuild |   10 +++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/games-util/terragear-cs/metadata.xml b/games-util/terragear-cs/metadata.xml
index a5f4ada..c526329 100644
--- a/games-util/terragear-cs/metadata.xml
+++ b/games-util/terragear-cs/metadata.xml
@@ -2,6 +2,9 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 <herd>games</herd>
+<use>
+ <flag name="gdal">Compile ogr-decode</flag>
+</use>
 <maintainer>
 <email>chris@ilovelinux.de</email>
 <name>Christian Schmitt</name>

diff --git a/games-util/terragear-cs/terragear-cs-9999.ebuild b/games-util/terragear-cs/terragear-cs-9999.ebuild
index 5995145..9657e07 100644
--- a/games-util/terragear-cs/terragear-cs-9999.ebuild
+++ b/games-util/terragear-cs/terragear-cs-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="4"
 
-inherit autotools git
+inherit autotools git-2
 
 DESCRIPTION="Terrain editing programs for FlightGear"
 HOMEPAGE="http://terragear.sourceforge.net/"
@@ -13,13 +13,13 @@ EGIT_REPO_URI="git://mapserver.flightgear.org/${PN}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="gdal"
 
 DEPEND="dev-games/simgear
 	dev-libs/newmat
 	media-libs/plib
-	sci-libs/gdal
 	|| ( =x11-libs/agg-2.5 >x11-libs/agg-2.5[gpc] )
+	gdal? ( sci-libs/gdal )
 "
 
 RDEPEND="${DEPEND}"
@@ -30,6 +30,10 @@ src_prepare() {
 	eautoreconf
 }
 
+src_configure() {
+	econf $(use_with gdal)
+}
+
 src_compile() {
 	emake -j1
 }



             reply	other threads:[~2011-06-01 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 11:54 Christian Schmitt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-11 22:01 [gentoo-commits] proj/gamerlay:master commit in: games-util/terragear-cs/ Christian Schmitt
2012-04-02  7:32 Christian Schmitt
2012-05-31 14:16 Christian Schmitt
2012-06-17  9:05 Christian Schmitt
2012-07-13 20:46 Christian Schmitt
2012-08-03  8:40 Christian Schmitt

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=4f4634a8f3ca305b568633450dfa2141e74112e1.christian@gentoo \
    --to=chris@ilovelinux.de \
    --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