public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: xorg-2.eclass
Date: Mon, 14 Mar 2011 17:09:41 +0000 (UTC)	[thread overview]
Message-ID: <20110314170941.BCCC520054@flycatcher.gentoo.org> (raw)

flameeyes    11/03/14 17:09:41

  Modified:             xorg-2.eclass
  Log:
  Make BASE_INDIVIDUAL_URI a tweakable value.
  
  When setting it to an explicit empty string, it will signal the eclass
  not to provide a SRC_URI at all. This is useful both for software
  using the xorg interface but not the freedesktop source uri, and for
  writing custom git-based ebuilds.

Revision  Changes    Path
1.28                 eclass/xorg-2.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.eclass?r1=1.27&r2=1.28

Index: xorg-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- xorg-2.eclass	8 Mar 2011 11:31:42 -0000	1.27
+++ xorg-2.eclass	14 Mar 2011 17:09:41 -0000	1.28
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.27 2011/03/08 11:31:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.28 2011/03/14 17:09:41 flameeyes Exp $
 #
 # @ECLASS: xorg-2.eclass
 # @MAINTAINER:
@@ -24,7 +24,6 @@
 if [[ ${PV} == *9999* ]]; then
 	GIT_ECLASS="git"
 	XORG_EAUTORECONF="yes"
-	SRC_URI=""
 fi
 
 # If we're a font package, but not the font.alias one
@@ -59,8 +58,12 @@
 # before inheriting this eclass.
 : ${XORG_EAUTORECONF:="no"}
 
-# Set up SRC_URI for individual modular releases
-BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual"
+# @ECLASS-VARIABLE: BASE_INDIVIDUAL_URI
+# @DESCRIPTION:
+# Set up SRC_URI for individual modular releases. If set to an empty
+# string, no SRC_URI will be provided by the eclass.
+: ${BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/releases/individual"}
+
 # @ECLASS-VARIABLE: MODULE
 # @DESCRIPTION:
 # The subdirectory to download source from. Possible settings are app,
@@ -88,8 +91,8 @@
 
 if [[ -n ${GIT_ECLASS} ]]; then
 	EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/${MODULE}${PACKAGE_NAME}"
-else
-	SRC_URI+=" ${BASE_INDIVIDUAL_URI}/${MODULE}${P}.tar.bz2"
+elif [[ -n ${BASE_INDIVIDUAL_URI} ]]; then
+	SRC_URI="${BASE_INDIVIDUAL_URI}/${MODULE}${P}.tar.bz2"
 fi
 
 : ${SLOT:=0}






             reply	other threads:[~2011-03-14 17:09 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14 17:09 Diego Petteno (flameeyes) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-22  6:57 [gentoo-commits] gentoo-x86 commit in eclass: xorg-2.eclass Michal Gorny (mgorny)
2011-11-01 13:51 Chi-Thanh Christopher Nguyen (chithanh)
2011-10-14 20:27 Michal Gorny (mgorny)
2011-10-09  7:45 Michal Gorny (mgorny)
2011-09-12 13:50 Michal Gorny (mgorny)
2011-06-20 22:22 Chi-Thanh Christopher Nguyen (chithanh)
2011-05-17  7:59 Michal Gorny (mgorny)
2011-05-14 16:27 Tomas Chvatal (scarabeus)
2011-05-08 12:27 Tomas Chvatal (scarabeus)
2011-05-08 12:20 Tomas Chvatal (scarabeus)
2011-04-20 12:48 Michal Gorny (mgorny)
2011-04-17 20:46 Tomas Chvatal (scarabeus)
2011-03-19 10:30 Tomas Chvatal (scarabeus)
2011-03-18 18:31 Tomas Chvatal (scarabeus)
2011-03-17 22:43 Diego Petteno (flameeyes)
2011-03-17 22:40 Tomas Chvatal (scarabeus)
2011-03-16 20:57 Michal Gorny (mgorny)
2011-03-16 16:13 Tomas Chvatal (scarabeus)
2011-03-16 16:12 Tomas Chvatal (scarabeus)
2011-03-16 16:10 Tomas Chvatal (scarabeus)
2011-03-16  9:29 Tomas Chvatal (scarabeus)
2011-03-15 12:32 Tomas Chvatal (scarabeus)
2011-03-08 11:31 Tomas Chvatal (scarabeus)
2011-03-02 15:40 Tomas Chvatal (scarabeus)
2011-03-01 18:56 Tomas Chvatal (scarabeus)
2011-02-28 18:16 Michal Gorny (mgorny)
2011-02-15 12:13 Tomas Chvatal (scarabeus)
2011-01-15 17:55 Tomas Chvatal (scarabeus)
2011-01-06 11:02 Tomas Chvatal (scarabeus)
2010-11-09 18:25 Tomas Chvatal (scarabeus)
2010-11-05 12:11 Tomas Chvatal (scarabeus)
2010-11-01 12:37 Tomas Chvatal (scarabeus)
2010-10-31 12:06 Tomas Chvatal (scarabeus)
2010-10-28 11:46 Tomas Chvatal (scarabeus)
2010-10-28 11:43 Tomas Chvatal (scarabeus)
2010-10-23 20:53 Michal Gorny (mgorny)
2010-09-27  9:40 Tomas Chvatal (scarabeus)
2010-08-24  8:59 Tomas Chvatal (scarabeus)
2010-08-22  8:25 Tomas Chvatal (scarabeus)
2010-08-22  8:23 Tomas Chvatal (scarabeus)
2010-08-11  9:20 Tomas Chvatal (scarabeus)
2010-08-06 20:46 Tomas Chvatal (scarabeus)
2010-08-06 19:09 Tomas Chvatal (scarabeus)
2010-07-14  8:34 Tomas Chvatal (scarabeus)
2010-06-08 20:22 Remi Cardona (remi)
2010-04-22 18:27 Tomas Chvatal (scarabeus)
2010-03-17 14:29 Tomas Chvatal (scarabeus)
2010-03-14 10:27 Tomas Chvatal (scarabeus)

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=20110314170941.BCCC520054@flycatcher.gentoo.org \
    --to=flameeyes@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