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 868381381F3 for ; Sun, 2 Dec 2012 16:03:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24F4C21C0AE; Sun, 2 Dec 2012 16:02:58 +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 97CF421C0AE for ; Sun, 2 Dec 2012 16:02:57 +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 2DB5F335E2F for ; Sun, 2 Dec 2012 16:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B3D91E5436 for ; Sun, 2 Dec 2012 16:02:53 +0000 (UTC) From: "Gilles Dartiguelongue" 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" Message-ID: <1354464160.d4d5e1bdd68161dada9453da5a38581224fec4c3.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: d4d5e1bdd68161dada9453da5a38581224fec4c3 X-VCS-Branch: master Date: Sun, 2 Dec 2012 16:02:53 +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: 4aa27c23-ad2f-49d8-85f2-2794ba568c43 X-Archives-Hash: 3dd6e1754829846dc51a97bd64183979 commit: d4d5e1bdd68161dada9453da5a38581224fec4c3 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sun Dec 2 16:02:40 2012 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Dec 2 16:02:40 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d4d5e1bd eclass/gst-plugins10.eclass: add missing EAPI=1 compatibility code --- eclass/gst-plugins10.eclass | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass index e391b45..835f09b 100644 --- a/eclass/gst-plugins10.eclass +++ b/eclass/gst-plugins10.eclass @@ -27,8 +27,11 @@ inherit eutils multilib toolchain-funcs versionator GST_EXPF="" case "${EAPI:-0}" in - 1|2|3|4|5) - GST_EXPF="${GST_EXPF} src_configure src_compile src_install" + 2|3|4|5) + GST_EXPF="src_configure src_compile src_install" + ;; + 1) + GST_EXPF="src_compile src_install" ;; 0) die "EAPI=\"${EAPI:-0}\" is not supported anymore" @@ -246,6 +249,8 @@ gst-plugins10_src_configure() { # @FUNCTION: gst-plugins10_src_compile gst-plugins10_src_compile() { + has ${EAPI:-0} 0 1 && gst-plugins10_src_configure "$@" + gst-plugins10_find_plugin_dir if has "${EAPI:-0}" 0 1 2 3 ; then