From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-530747-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 DB71F138202
	for <garchives@archives.gentoo.org>; Mon,  3 Dec 2012 23:43:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7A2D2E0675;
	Mon,  3 Dec 2012 23:43:28 +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 D426CE0675
	for <gentoo-commits@lists.gentoo.org>; Mon,  3 Dec 2012 23:43:27 +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 AF69033D948
	for <gentoo-commits@lists.gentoo.org>; Mon,  3 Dec 2012 23:43:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id 42038E5436
	for <gentoo-commits@lists.gentoo.org>; Mon,  3 Dec 2012 23:43:25 +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: <1354578051.0a19e7e55b7cbf372fa3e85294cf28b88734bc64.eva@gentoo>
Subject: [gentoo-commits] proj/gnome:master commit in: eclass/
X-VCS-Repository: proj/gnome
X-VCS-Files: eclass/gst-plugins-bad.eclass eclass/gst-plugins-base.eclass eclass/gst-plugins-good.eclass eclass/gst-plugins-ugly.eclass eclass/gst-plugins10.eclass
X-VCS-Directories: eclass/
X-VCS-Committer: eva
X-VCS-Committer-Name: Gilles Dartiguelongue
X-VCS-Revision: 0a19e7e55b7cbf372fa3e85294cf28b88734bc64
X-VCS-Branch: master
Date: Mon,  3 Dec 2012 23:43:25 +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: bae6e709-58d9-4bfd-bd0c-30d3d4917d7e
X-Archives-Hash: 7cf2bfe174e45f78b5931460a6dfd9d5

commit:     0a19e7e55b7cbf372fa3e85294cf28b88734bc64
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  3 23:40:51 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Dec  3 23:40:51 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0a19e7e5

eclass: gstreamer eclasses moved to gentoo-x86

---
 eclass/gst-plugins-bad.eclass  |   43 ------
 eclass/gst-plugins-base.eclass |   31 -----
 eclass/gst-plugins-good.eclass |   42 ------
 eclass/gst-plugins-ugly.eclass |   31 -----
 eclass/gst-plugins10.eclass    |  276 ----------------------------------------
 5 files changed, 0 insertions(+), 423 deletions(-)

diff --git a/eclass/gst-plugins-bad.eclass b/eclass/gst-plugins-bad.eclass
deleted file mode 100644
index 1f20d6c..0000000
--- a/eclass/gst-plugins-bad.eclass
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: gst-plugins10-bad.eclass
-# @MAINTAINER:
-# gstreamer@gentoo.org
-# @AUTHOR:
-# Gilles Dartiguelongue <eva@gentoo.org>
-# Saleem Abdulrasool <compnerd@gentoo.org>
-# foser <foser@gentoo.org>
-# zaheerm <zaheerm@gentoo.org>
-# @BLURB: Manages build for invididual ebuild for gst-plugins-bad.
-# @DESCRIPTION:
-# See gst-plugins10.eclass documentation.
-
-GST_ORG_MODULE="gst-plugins-bad"
-
-inherit eutils gst-plugins10
-
-case "${EAPI:-0}" in
-	1|2|3|4|5)
-		;;
-	0)
-		die "EAPI=\"${EAPI}\" is not supported anymore"
-		;;
-	*)
-		die "EAPI=\"${EAPI}\" is not supported yet"
-		;;
-esac
-
-
-if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
-# -bad-0.10.20 uses orc optionally instead of liboil unconditionally.
-# While <0.10.20 configure always check for liboil, it is used only by
-# non-split plugins in gst/ (legacyresample and mpegdemux), so we only
-# builddep for all old packages, and have a RDEPEND in old versions of
-# media-libs/gst-plugins-bad
-	if [[ ${SLOT} = "0.10" ]] && ! version_is_at_least "0.10.20"; then
-		DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
-	fi
-fi
-

diff --git a/eclass/gst-plugins-base.eclass b/eclass/gst-plugins-base.eclass
deleted file mode 100644
index eb4bc84..0000000
--- a/eclass/gst-plugins-base.eclass
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: gst-plugins-base.eclass
-# @MAINTAINER:
-# gstreamer@gentoo.org
-# @AUTHOR:
-# Gilles Dartiguelongue <eva@gentoo.org>
-# Saleem Abdulrasool <compnerd@gentoo.org>
-# foser <foser@gentoo.org>
-# zaheerm <zaheerm@gentoo.org>
-# @BLURB: Manages build for invididual ebuild for gst-plugins-base.
-# @DESCRIPTION:
-# See gst-plugins10.eclass documentation.
-
-GST_ORG_MODULE="gst-plugins-base"
-
-inherit gst-plugins10
-
-case "${EAPI:-0}" in
-	1|2|3|4|5)
-		;;
-	0)
-		die "EAPI=\"${EAPI}\" is not supported anymore"
-		;;
-	*)
-		die "EAPI=\"${EAPI}\" is not supported yet"
-		;;
-esac
-

diff --git a/eclass/gst-plugins-good.eclass b/eclass/gst-plugins-good.eclass
deleted file mode 100644
index a400b89..0000000
--- a/eclass/gst-plugins-good.eclass
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: gst-plugins-good.eclass
-# @MAINTAINER:
-# gstreamer@gentoo.org
-# @AUTHOR:
-# Gilles Dartiguelongue <eva@gentoo.org>
-# Saleem Abdulrasool <compnerd@gentoo.org>
-# foser <foser@gentoo.org>
-# zaheerm <zaheerm@gentoo.org>
-# @BLURB: Manages build for invididual ebuild for gst-plugins-good.
-# @DESCRIPTION:
-# See gst-plugins10.eclass documentation.
-
-GST_ORG_MODULE="gst-plugins-good"
-
-inherit eutils gst-plugins10
-
-case "${EAPI:-0}" in
-	1|2|3|4|5)
-		;;
-	0)
-		die "EAPI=\"${EAPI}\" is not supported anymore"
-		;;
-	*)
-		die "EAPI=\"${EAPI}\" is not supported yet"
-		;;
-esac
-
-
-if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
-# -good-0.10.24 uses orc optionally instead of liboil unconditionally.
-# While <0.10.24 configure always checks for liboil, it is linked to only by
-# non-split plugins in gst/, so we only builddep for all old packages, and have
-# a RDEPEND in old versions of media-libs/gst-plugins-good
-	if [[ ${SLOT} = "0.10" ]] && ! version_is_at_least "0.10.24"; then
-		DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
-	fi
-fi
-

diff --git a/eclass/gst-plugins-ugly.eclass b/eclass/gst-plugins-ugly.eclass
deleted file mode 100644
index 787ce4f..0000000
--- a/eclass/gst-plugins-ugly.eclass
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: gst-plugins-ugly.eclass
-# @MAINTAINER:
-# gstreamer@gentoo.org
-# @AUTHOR:
-# Gilles Dartiguelongue <eva@gentoo.org>
-# Saleem Abdulrasool <compnerd@gentoo.org>
-# foser <foser@gentoo.org>
-# zaheerm <zaheerm@gentoo.org>
-# @BLURB: Manages build for invididual ebuild for gst-plugins-ugly.
-# @DESCRIPTION:
-# See gst-plugins10.eclass documentation.
-
-GST_ORG_MODULE="gst-plugins-ugly"
-
-inherit gst-plugins10
-
-case "${EAPI:-0}" in
-	1|2|3|4|5)
-		;;
-	0)
-		die "EAPI=\"${EAPI}\" is not supported anymore"
-		;;
-	*)
-		die "EAPI=\"${EAPI}\" is not supported yet"
-		;;
-esac
-

diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
deleted file mode 100644
index 835f09b..0000000
--- a/eclass/gst-plugins10.eclass
+++ /dev/null
@@ -1,276 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: gst-plugins10.eclass
-# @MAINTAINER:
-# gstreamer@gentoo.org
-# @AUTHOR:
-# Gilles Dartiguelongue <eva@gentoo.org>
-# Saleem Abdulrasool <compnerd@gentoo.org>
-# foser <foser@gentoo.org>
-# zaheerm <zaheerm@gentoo.org>
-# @BLURB: Manages build for invididual ebuild for gst-plugins.
-# @DESCRIPTION:
-# Eclass to make external gst-plugins emergable on a per-plugin basis and
-# to solve the problem with gst-plugins generating far too much unneeded
-# dependancies.
-#
-# GStreamer consuming applications should depend on the specific plugins they
-# need as defined in their source code.
-#
-# In case of spider usage, obtain recommended plugins to use from Gentoo
-# developers responsible for gstreamer <gstreamer@gentoo.org> or the application
-# developer.
-
-inherit eutils multilib toolchain-funcs versionator
-
-GST_EXPF=""
-case "${EAPI:-0}" in
-	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"
-		;;
-	*)
-		die "EAPI=\"${EAPI}\" is not supported yet"
-		;;
-esac
-EXPORT_FUNCTIONS ${GST_EXPF}
-
-# @ECLASS-VARIABLE: GST_LA_PUNT
-# @DESCRIPTION:
-# Should we delete all the .la files?
-# NOT to be used without due consideration.
-if has "${EAPI:-0}" 0 1 2 3; then
-	: ${GST_LA_PUNT:="no"}
-else
-	: ${GST_LA_PUNT:="yes"}
-fi
-
-# @ECLASS-VARIABLE: GST_PLUGINS_BUILD
-# @DESCRIPTION:
-# Defines the plugins to be built.
-# May be set by an ebuild and contain more than one indentifier, space
-# seperated (only src_configure can handle mutiple plugins at this time).
-GST_PLUGINS_BUILD=${PN/gst-plugins-/}
-
-# @ECLASS-VARIABLE: GST_PLUGINS_BUILD_DIR
-# @DESCRIPTION:
-# Actual build directory of the plugin.
-# Most often the same as the configure switch name.
-GST_PLUGINS_BUILD_DIR=${PN/gst-plugins-/}
-
-# @ECLASS-VARIABLE: GST_TARBALL_SUFFIX
-# @DESCRIPTION:
-# Most projects hosted on gstreamer.freedesktop.org mirrors provide tarballs as
-# tar.bz2 or tar.xz. This eclass defaults to bz2 for EAPI 0, 1, 2, 3 and
-# defaults to xz for everything else. This is because the gstreamer mirrors
-# are moving to only have xz tarballs for new releases.
-if has "${EAPI:-0}" 0 1 2 3; then
-	: ${GST_TARBALL_SUFFIX:="bz2"}
-else
-	: ${GST_TARBALL_SUFFIX:="xz"}
-fi
-
-# Even though xz-utils are in @system, they must still be added to DEPEND; see
-# http://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml
-if [[ ${GST_TARBALL_SUFFIX} == "xz" ]]; then
-	DEPEND="${DEPEND} app-arch/xz-utils"
-fi
-
-# @ECLASS-VARIABLE: GST_ORG_MODULE
-# @DESCRIPTION:
-# Name of the module as hosted on gstreamer.freedesktop.org mirrors.
-# Leave unset if package name matches module name.
-: ${GST_ORG_MODULE:=$PN}
-
-# @ECLASS-VARIABLE: GST_ORG_PVP
-# @INTERNAL
-# @DESCRIPTION:
-# Major and minor numbers of the version number.
-: ${GST_ORG_PVP:=$(get_version_component_range 1-2)}
-
-
-DESCRIPTION="${BUILD_GST_PLUGINS} plugin for gstreamer"
-HOMEPAGE="http://gstreamer.freedesktop.org/"
-SRC_URI="http://gstreamer.freedesktop.org/src/${GST_ORG_MODULE}/${GST_ORG_MODULE}-${PV}.tar.${GST_TARBALL_SUFFIX}"
-
-LICENSE="GPL-2"
-SLOT="${GST_ORG_PVP}"
-
-S="${WORKDIR}/${GST_ORG_MODULE}-${PV}"
-
-RDEPEND="
-	>=dev-libs/glib-2.6:2
-	media-libs/gstreamer:${SLOT}
-"
-DEPEND="
-	>=sys-apps/sed-4
-	virtual/pkgconfig
-"
-
-if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
-	# Do not run test phase for invididual plugin ebuilds.
-	RESTRICT="test"
-	RDEPEND="${RDEPEND} >=media-libs/${GST_ORG_MODULE}-${PV}:${SLOT}"
-else
-	IUSE="nls"
-	DEPEND="${DEPEND} nls? ( >=sys-devel/gettext-0.17 )"
-fi
-
-#if [[ ${SLOT} == "0.10" ]]; then
-# XXX: verify with old ebuilds.
-# DEPEND="${DEPEND} dev-libs/liboil"
-#fi
-
-DEPEND="${DEPEND} ${RDEPEND}"
-
-# @FUNCTION: gst-plugins10_get_plugins
-# @INTERNAL
-# @DESCRIPTION:
-# Get the list of plugins requiring external dependencies.
-gst-plugins10_get_plugins() {
-	# Must be called from src_prepare/src_configure
-	GST_PLUGINS_LIST=$(sed -rn 's/^AG_GST_CHECK_FEATURE\((\w+),.*/ \1 /p' \
-		"${S}"/configure.* | tr '[:upper:]' '[:lower:]')
-}
-
-# @FUNCTION: gst-plugins10_find_plugin_dir
-# @INTERNAL
-# @DESCRIPTION:
-# Finds plugin build directory and cd to it.
-gst-plugins10_find_plugin_dir() {
-	if [[ ! -d ${S}/ext/${GST_PLUGINS_BUILD_DIR} ]]; then
-		if [[ ! -d ${S}/sys/${GST_PLUGINS_BUILD_DIR} ]]; then
-			ewarn "No such plugin directory"
-			die
-		fi
-		einfo "Building system plugin ${GST_PLUGINS_BUILD_DIR} ..."
-		cd "${S}"/sys/${GST_PLUGINS_BUILD_DIR}
-	else
-		einfo "Building external plugin ${GST_PLUGINS_BUILD_DIR} ..."
-		cd "${S}"/ext/${GST_PLUGINS_BUILD_DIR}
-	fi
-}
-
-# @FUNCTION: gst-plugins10_system_link
-# @USAGE: gst-plugins10_system_link gst-libs/gst/audio:gstreamer-audio [...]
-# @DESCRIPTION:
-# Walks through makefiles in order to make sure build will link against system
-# librairies.
-# Takes a list of path fragments and corresponding pkgconfig libraries
-# separated by colon (:). Will replace the path fragment by the output of
-# pkgconfig.
-gst-plugins10_system_link() {
-	local directory libs pkgconfig pc tuple
-	pkgconfig=$(tc-getPKG_CONFIG)
-
-	gst-plugins10_find_plugin_dir
-
-	for tuple in $@ ; do
-		directory="$(echo ${tuple} | cut -f1 -d':')"
-		pc="$(echo ${tuple} | cut -f2 -d':')-${SLOT}"
-		libs="$(${pkgconfig} --libs-only-l ${pc})"
-
-		sed -e "s:\$(top_builddir)/${directory}/.*\.la:${libs}:" \
-			-i Makefile.am Makefile.in || die
-	done
-}
-
-# @FUNCTION: gst-plugins10_remove_unversioned_binaries
-# @INTERNAL
-# @DEPRECATED
-# @DESCRIPTION:
-# Remove the unversioned binaries gstreamer provides to prevent file collision
-# with other slots.
-gst-plugins10_remove_unversioned_binaries() {
-	cd "${D}"/usr/bin
-	local gst_bins
-	for gst_bins in *-${SLOT} ; do
-		[[ -e ${gst_bins} ]] || continue
-		rm ${gst_bins/-${SLOT}/}
-		einfo "Removed ${gst_bins/-${SLOT}/}"
-	done
-}
-
-# @FUNCTION: gst-plugins10_src_configure
-gst-plugins10_src_configure() {
-	local plugin gst_conf
-
-	if has ${EAPI:-0} 0 1 2 3 ; then
-		gst_conf="${gst_conf} --disable-dependency-tracking"
-	fi
-
-	if has ${EAPI:-0} 0 1 2 3 4 ; then
-		gst_conf="${gst_conf} --disable-silent-rules"
-	fi
-
-	gst-plugins10_get_plugins
-
-	for plugin in ${GST_PLUGINS_LIST} ; do
-		if has ${plugin} ${GST_PLUGINS_BUILD} ; then
-			gst_conf="${gst_conf} --enable-${plugin}"
-		else
-			gst_conf="${gst_conf} --disable-${plugin}"
-		fi
-	done
-
-	if grep -q "ORC_CHECK" configure.* ; then
-		if in_iuse orc ; then
-			gst_conf="${gst_conf} $(use_enable orc)"
-		else
-			gst_conf="${gst_conf} --disable-orc"
-		fi
-	fi
-
-	if grep -q "AM_MAINTAINER_MODE" configure.* ; then
-		gst_conf="${gst_conf} --disable-maintainer-mode"
-	fi
-
-	if grep -q "disable-schemas-compile" configure ; then
-		gst_conf="${gst_conf} --disable-schemas-compile"
-	fi
-
-	if [[ ${PN} == ${GST_ORG_MODULE} ]]; then
-		gst_conf="${gst_conf} $(use_enable nls)"
-	fi
-
-	einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..."
-	econf \
-		--with-package-name="Gentoo GStreamer ebuild" \
-		--with-package-origin="http://www.gentoo.org" \
-		${gst_conf} $@
-}
-
-# @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
-		emake || die
-	else
-		default
-	fi
-}
-
-# @FUNCTION: gst-plugins10_src_install
-gst-plugins10_src_install() {
-	gst-plugins10_find_plugin_dir
-
-	if has "${EAPI:-0}" 0 1 2 3 ; then
-		emake install DESTDIR="${D}" || die
-		[[ -e README ]] && dodoc README
-	else
-		default
-	fi
-
-	[[ ${GST_LA_PUNT} = "yes" ]] && prune_libtool_files --modules
-}
-