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:48
Message-Id: 1354459799.0ea02c1566cfcae05548e42677b24267b29ac0d0.eva@gentoo
1 commit: 0ea02c1566cfcae05548e42677b24267b29ac0d0
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 2 14:40:21 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=0ea02c15
7
8 eclass/gst-plugins10.eclass: do not pass invalid --enable value
9
10 This allows all base pack ebuilds to not unset GST_PLUGINS_BUILD and
11 avoids showing configuration option twice which is confusing.
12
13 ---
14 eclass/gst-plugins10.eclass | 10 +++++-----
15 1 files changed, 5 insertions(+), 5 deletions(-)
16
17 diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
18 index db6102d..c41de2c 100644
19 --- a/eclass/gst-plugins10.eclass
20 +++ b/eclass/gst-plugins10.eclass
21 @@ -202,11 +202,11 @@ gst-plugins10_src_configure() {
22 gst-plugins10_get_plugins
23
24 for plugin in ${GST_PLUGINS_LIST} ; do
25 - gst_conf="${gst_conf} --disable-${plugin}"
26 - done
27 -
28 - for plugin in ${GST_PLUGINS_BUILD} ; do
29 - gst_conf="${gst_conf} --enable-${plugin}"
30 + if has ${plugin} ${GST_PLUGINS_BUILD} ; then
31 + gst_conf="${gst_conf} --enable-${plugin}"
32 + else
33 + gst_conf="${gst_conf} --disable-${plugin}"
34 + fi
35 done
36
37 if grep -q "ORC_CHECK" configure.* ; then