Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: eclass/
Date: Sun, 02 Dec 2012 14:50:58
Message-Id: 1354459799.0d491728803cb213dbccde4a82846c826240ae27.eva@gentoo
1 commit: 0d491728803cb213dbccde4a82846c826240ae27
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 14:09:36 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 14:49:59 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0d491728
7
8 eclass/gst-plugins10.eclass: drop GST_ORC support
9
10 Still handle configure part of orc to avoid useless per ebuild
11 src_configure definition.
12
13 ---
14 eclass/gst-plugins10.eclass | 19 +------------------
15 1 files changed, 1 insertions(+), 18 deletions(-)
16
17 diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
18 index 30ba87b..4a18c36 100644
19 --- a/eclass/gst-plugins10.eclass
20 +++ b/eclass/gst-plugins10.eclass
21 @@ -23,9 +23,6 @@
22 # developers responsible for gstreamer <gstreamer@g.o> or the application
23 # developer.
24
25 -# XXX: what was GST_ORC intended for. Isn't it better to leave it to the
26 -# ebuild reponsability ?
27 -
28 inherit eutils multilib toolchain-funcs versionator
29
30 GST_EXPF=""
31 @@ -52,11 +49,6 @@ else
32 : ${GST_LA_PUNT:="yes"}
33 fi
34
35 -# @ECLASS-VARIABLE: GST_ORC
36 -# @DESCRIPTION:
37 -# Ebuild supports dev-lang/orc.
38 -: ${GST_ORC:="no"}
39 -
40 # @ECLASS-VARIABLE: GST_PLUGINS_BUILD
41 # @DESCRIPTION:
42 # Defines the plugins to be built.
43 @@ -118,13 +110,9 @@ RDEPEND="${RDEPEND}
44 media-libs/gstreamer:${SLOT}
45 "
46
47 -if [[ ${GST_ORC} = "yes" ]]; then
48 - IUSE="+orc"
49 - RDEPEND="${RDEPEND} orc? ( >=dev-lang/orc-0.4.6 )"
50 #else
51 # XXX: verify with old ebuilds.
52 # DEPEND="${DEPEND} dev-libs/liboil"
53 -fi
54
55 # added to remove circular deps
56 # 6/2/2006 - zaheerm
57 @@ -224,16 +212,11 @@ gst-plugins10_src_configure() {
58 done
59
60 if grep -q "ORC_CHECK" configure.* ; then
61 - if [[ ${GST_ORC} = "yes" ]]; then
62 + if in_iuse orc ; then
63 gst_conf="${gst_conf} $(use_enable orc)"
64 else
65 gst_conf="${gst_conf} --disable-orc"
66 fi
67 - else
68 - if [[ ${GST_ORC} = "yes" ]]; then
69 - eqawarn "This ebuild declares supporting USE=orc but does not."
70 - eqawarn "Please report this as a bug at http://bugs.gentoo.org/"
71 - fi
72 fi
73
74 if grep -q "AM_MAINTAINER_MODE" configure.* ; then