From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C4BEA138D1E for ; Thu, 16 Jul 2015 16:15:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24DEFE07A7; Thu, 16 Jul 2015 16:15:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D718CE07A7 for ; Thu, 16 Jul 2015 16:15:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D38A340AA1 for ; Thu, 16 Jul 2015 16:14:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAA76617 for ; Thu, 16 Jul 2015 16:15:07 +0000 (UTC) From: "Ian Stakenvicius" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Stakenvicius" Message-ID: <1437063294.93760cbf69c5accdeff8f6fd93b62665519d11fe.axs@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: eclass/ X-VCS-Repository: proj/mozilla X-VCS-Files: eclass/mozconfig-v6.38.eclass eclass/mozconfig-v6.39.eclass X-VCS-Directories: eclass/ X-VCS-Committer: axs X-VCS-Committer-Name: Ian Stakenvicius X-VCS-Revision: 93760cbf69c5accdeff8f6fd93b62665519d11fe X-VCS-Branch: master Date: Thu, 16 Jul 2015 16:15:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1b74686-b7b5-4c2d-834e-bf6c1a4f7a93 X-Archives-Hash: bab8d665bfae29e048e66220af559d98 commit: 93760cbf69c5accdeff8f6fd93b62665519d11fe Author: Ian Stakenvicius gentoo org> AuthorDate: Thu Jul 16 16:14:54 2015 +0000 Commit: Ian Stakenvicius gentoo org> CommitDate: Thu Jul 16 16:14:54 2015 +0000 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=93760cbf a tiny bit of code cleanup in mozconfig-v6 eclass/mozconfig-v6.38.eclass | 10 ++++------ eclass/mozconfig-v6.39.eclass | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass index e2d0d47..a696828 100644 --- a/eclass/mozconfig-v6.38.eclass +++ b/eclass/mozconfig-v6.38.eclass @@ -221,12 +221,10 @@ mozconfig_config() { mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" - if use gstreamer || use gstreamer-0 ; then - if use gstreamer-0 ; then - mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 - else - mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 - fi + if use gstreamer ; then + mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 + elif use gstreamer-0 ; then + mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 else mozconfig_annotate '' --disable-gstreamer fi diff --git a/eclass/mozconfig-v6.39.eclass b/eclass/mozconfig-v6.39.eclass index ec387d7..a2fab0d 100644 --- a/eclass/mozconfig-v6.39.eclass +++ b/eclass/mozconfig-v6.39.eclass @@ -222,12 +222,10 @@ mozconfig_config() { mozconfig_annotate '' --target="${CTARGET:-${CHOST}}" mozconfig_annotate '' --build="${CTARGET:-${CHOST}}" - if use gstreamer || use gstreamer-0 ; then - if use gstreamer-0 ; then - mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 - else - mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 - fi + if use gstreamer ; then + mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0 + elif use gstreamer-0 ; then + mozconfig_annotate '+gstreamer-0' --enable-gstreamer=0.10 else mozconfig_annotate '' --disable-gstreamer fi