public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nikoli" <nikoli@lavabit.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/gmqcc/
Date: Thu, 18 Jul 2013 16:25:01 +0000 (UTC)	[thread overview]
Message-ID: <1374164553.3940176ff9004e105222d1ba63f2d527d1c4a800.nikoli@gentoo> (raw)

commit:     3940176ff9004e105222d1ba63f2d527d1c4a800
Author:     Nikoli <nikoli <AT> lavabit <DOT> com>
AuthorDate: Thu Jul 18 16:22:33 2013 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Thu Jul 18 16:22:33 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=3940176f

gmqcc: respect CC, do not force git branch, cosmetics, version bump

Package-Manager: portage-2.1.12.2

---
 .../{gmqcc-0.2.2.ebuild => gmqcc-0.2.9.ebuild}     | 20 +++++++++++++++-----
 games-util/gmqcc/gmqcc-9999.ebuild                 | 22 ++++++++++++----------
 games-util/gmqcc/metadata.xml                      | 15 ++++++++-------
 3 files changed, 35 insertions(+), 22 deletions(-)

diff --git a/games-util/gmqcc/gmqcc-0.2.2.ebuild b/games-util/gmqcc/gmqcc-0.2.9.ebuild
similarity index 56%
rename from games-util/gmqcc/gmqcc-0.2.2.ebuild
rename to games-util/gmqcc/gmqcc-0.2.9.ebuild
index 84affc5..773259c 100644
--- a/games-util/gmqcc/gmqcc-0.2.2.ebuild
+++ b/games-util/gmqcc/gmqcc-0.2.9.ebuild
@@ -1,24 +1,34 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: Exp $
+# $Header: $
 
 EAPI=5
+EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
+
+inherit toolchain-funcs
+[[ ${PV} == *9999* ]] && inherit git-2
 
 DESCRIPTION="An Improved Quake C Compiler"
 HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
+[[ ${PV} == *9999* ]] || \
 SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
-
 SLOT="0"
-IUSE=""
+[[ ${PV} == *9999* ]] || \
 KEYWORDS="~amd64 ~x86"
+IUSE=""
 
 src_prepare() {
+	# fixed in git master
 	sed -i -e "s:-Werror ::" Makefile || die
 }
 
+src_configure() {
+	tc-export CC
+}
+
 src_install() {
-	emake install PREFIX="${D}/usr"
-	dodoc README
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README AUTHORS TODO CHANGES
 }

diff --git a/games-util/gmqcc/gmqcc-9999.ebuild b/games-util/gmqcc/gmqcc-9999.ebuild
index 555ea5d..5e76605 100644
--- a/games-util/gmqcc/gmqcc-9999.ebuild
+++ b/games-util/gmqcc/gmqcc-9999.ebuild
@@ -1,27 +1,29 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: Exp $
+# $Header: $
 
 EAPI=5
-
 EGIT_REPO_URI="git://github.com/graphitemaster/gmqcc.git"
-EGIT_BRANCH="master"
 
-inherit git-2
+inherit toolchain-funcs
+[[ ${PV} == *9999* ]] && inherit git-2
 
 DESCRIPTION="An Improved Quake C Compiler"
 HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
-LICENSE="MIT"
+[[ ${PV} == *9999* ]] || \
+SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
+LICENSE="MIT"
 SLOT="0"
+[[ ${PV} == *9999* ]] || \
+KEYWORDS="~amd64 ~x86"
 IUSE=""
-KEYWORDS=""
 
-src_prepare() {
-	sed -i -e "s:-Werror ::" Makefile || die
+src_configure() {
+	tc-export CC
 }
 
 src_install() {
-	emake install PREFIX="${D}/usr"
-	dodoc README
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README AUTHORS TODO CHANGES
 }

diff --git a/games-util/gmqcc/metadata.xml b/games-util/gmqcc/metadata.xml
index fd1ecfd..3631108 100644
--- a/games-util/gmqcc/metadata.xml
+++ b/games-util/gmqcc/metadata.xml
@@ -1,11 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer>
-<email>azamat.hackimov@gmail.com</email>
-<name>Azamat H. Hackimov</name>
-</maintainer>
-<longdescription lang="en">
-An Improved Quake C Compiler
-</longdescription>
+	<maintainer>
+		<email>nikoli@lavabit.com</email>
+		<name>Nikoli</name>
+	</maintainer>
+	<maintainer>
+		<email>azamat.hackimov@gmail.com</email>
+		<name>Azamat H. Hackimov</name>
+	</maintainer>
 </pkgmetadata>


             reply	other threads:[~2013-07-18 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 16:25 Nikoli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-06 21:22 [gentoo-commits] proj/gamerlay:master commit in: games-util/gmqcc/ Azamat H. Hackimov
2020-02-29 13:12 Azamat H. Hackimov

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=1374164553.3940176ff9004e105222d1ba63f2d527d1c4a800.nikoli@gentoo \
    --to=nikoli@lavabit.com \
    --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