From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-530023-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 555791381F3
	for <garchives@archives.gentoo.org>; Sun,  2 Dec 2012 14:50:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 24E3321C01B;
	Sun,  2 Dec 2012 14:50:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7CD8621C004
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Dec 2012 14:50:40 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9598A33D9E9
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Dec 2012 14:50:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 46E8BE5442
	for <gentoo-commits@lists.gentoo.org>; Sun,  2 Dec 2012 14:50:38 +0000 (UTC)
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" <eva@gentoo.org>
Message-ID: <1354459799.0d491728803cb213dbccde4a82846c826240ae27.eva@gentoo>
Subject: [gentoo-commits] proj/gnome:master commit in: eclass/
X-VCS-Repository: proj/gnome
X-VCS-Files: eclass/gst-plugins10.eclass
X-VCS-Directories: eclass/
X-VCS-Committer: eva
X-VCS-Committer-Name: Gilles Dartiguelongue
X-VCS-Revision: 0d491728803cb213dbccde4a82846c826240ae27
X-VCS-Branch: master
Date: Sun,  2 Dec 2012 14:50:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f1a57530-2cef-47d3-bda7-67c2b4beafe0
X-Archives-Hash: 205ffd7525f2b92aa2a57b6b5b975fe8

commit:     0d491728803cb213dbccde4a82846c826240ae27
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  2 14:09:36 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Dec  2 14:49:59 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0d491728

eclass/gst-plugins10.eclass: drop GST_ORC support

Still handle configure part of orc to avoid useless per ebuild
src_configure definition.

---
 eclass/gst-plugins10.eclass |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
index 30ba87b..4a18c36 100644
--- a/eclass/gst-plugins10.eclass
+++ b/eclass/gst-plugins10.eclass
@@ -23,9 +23,6 @@
 # developers responsible for gstreamer <gstreamer@gentoo.org> or the application
 # developer.
 
-# XXX: what was GST_ORC intended for. Isn't it better to leave it to the
-#      ebuild reponsability ?
-
 inherit eutils multilib toolchain-funcs versionator
 
 GST_EXPF=""
@@ -52,11 +49,6 @@ else
 	: ${GST_LA_PUNT:="yes"}
 fi
 
-# @ECLASS-VARIABLE: GST_ORC
-# @DESCRIPTION:
-# Ebuild supports dev-lang/orc.
-: ${GST_ORC:="no"}
-
 # @ECLASS-VARIABLE: GST_PLUGINS_BUILD
 # @DESCRIPTION:
 # Defines the plugins to be built.
@@ -118,13 +110,9 @@ RDEPEND="${RDEPEND}
 	media-libs/gstreamer:${SLOT}
 "
 
-if [[ ${GST_ORC} = "yes" ]]; then
-  IUSE="+orc"
-	RDEPEND="${RDEPEND} orc? ( >=dev-lang/orc-0.4.6 )"
 #else
 # XXX: verify with old ebuilds.
 # DEPEND="${DEPEND} dev-libs/liboil"
-fi
 
 # added to remove circular deps
 # 6/2/2006 - zaheerm
@@ -224,16 +212,11 @@ gst-plugins10_src_configure() {
 	done
 
 	if grep -q "ORC_CHECK" configure.* ; then
-		if [[ ${GST_ORC} = "yes" ]]; then
+		if in_iuse orc ; then
 			gst_conf="${gst_conf} $(use_enable orc)"
 		else
 			gst_conf="${gst_conf} --disable-orc"
 		fi
-	else
-		if [[ ${GST_ORC} = "yes" ]]; then
-			eqawarn "This ebuild declares supporting USE=orc but does not."
-			eqawarn "Please report this as a bug at http://bugs.gentoo.org/"
-		fi
 	fi
 
 	if grep -q "AM_MAINTAINER_MODE" configure.* ; then