From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PzBHE-0005a1-0b for garchives@archives.gentoo.org; Mon, 14 Mar 2011 17:09:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B38CBE0345; Mon, 14 Mar 2011 17:09:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 84376E0345 for ; Mon, 14 Mar 2011 17:09:44 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E60BD1B4012 for ; Mon, 14 Mar 2011 17:09:43 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 948) id BCCC520054; Mon, 14 Mar 2011 17:09:41 +0000 (UTC) From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: xorg-2.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: xorg-2.eclass X-VCS-Directories: eclass X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: <20110314170941.BCCC520054@flycatcher.gentoo.org> Date: Mon, 14 Mar 2011 17:09:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c8f5a2c8dd0765ef4b14e15028f26103 flameeyes 11/03/14 17:09:41 Modified: xorg-2.eclass Log: Make BASE_INDIVIDUAL_URI a tweakable value. =20 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.ecla= ss?rev=3D1.28&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.ecla= ss?rev=3D1.28&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/xorg-2.ecla= ss?r1=3D1.27&r2=3D1.28 Index: xorg-2.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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/0= 8 11:31:42 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.28 2011/03/1= 4 17:09:41 flameeyes Exp $ # # @ECLASS: xorg-2.eclass # @MAINTAINER: @@ -24,7 +24,6 @@ if [[ ${PV} =3D=3D *9999* ]]; then GIT_ECLASS=3D"git" XORG_EAUTORECONF=3D"yes" - SRC_URI=3D"" fi =20 # If we're a font package, but not the font.alias one @@ -59,8 +58,12 @@ # before inheriting this eclass. : ${XORG_EAUTORECONF:=3D"no"} =20 -# Set up SRC_URI for individual modular releases -BASE_INDIVIDUAL_URI=3D"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=3D"http://xorg.freedesktop.org/releases/individu= al"} + # @ECLASS-VARIABLE: MODULE # @DESCRIPTION: # The subdirectory to download source from. Possible settings are app, @@ -88,8 +91,8 @@ =20 if [[ -n ${GIT_ECLASS} ]]; then EGIT_REPO_URI=3D"git://anongit.freedesktop.org/git/xorg/${MODULE}${PACK= AGE_NAME}" -else - SRC_URI+=3D" ${BASE_INDIVIDUAL_URI}/${MODULE}${P}.tar.bz2" +elif [[ -n ${BASE_INDIVIDUAL_URI} ]]; then + SRC_URI=3D"${BASE_INDIVIDUAL_URI}/${MODULE}${P}.tar.bz2" fi =20 : ${SLOT:=3D0}