/[gentoo-x86]/eclass/gst-plugins-base.eclass
Gentoo

Diff of /eclass/gst-plugins-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.1 2005/12/02 15:30:15 zaheerm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.2 2006/01/01 01:14:59 swegener Exp $
4 4
5# Author : foser <foser@gentoo.org> 5# Author : foser <foser@gentoo.org>
6 6
7# gst-plugins eclass 7# gst-plugins eclass
8# 8#
9# eclass to make external gst-plugins emergable on a per-plugin basis 9# eclass to make external gst-plugins emergable on a per-plugin basis
10# to solve the problem with gst-plugins generating far too much unneeded deps 10# to solve the problem with gst-plugins generating far too much unneeded deps
11# 11#
12# 3rd party applications using gstreamer now should depend on a set of plugins as 12# 3rd party applications using gstreamer now should depend on a set of plugins as
13# defined in the source, in case of spider usage obtain recommended plugins to use from 13# defined in the source, in case of spider usage obtain recommended plugins to use from
14# Gentoo developers responsible for gstreamer <gnome@gentoo.org>, the application developer 14# Gentoo developers responsible for gstreamer <gnome@gentoo.org>, the application developer
15# or the gstreamer team. 15# or the gstreamer team.
16 16
17inherit eutils gst-plugins10 17inherit eutils gst-plugins10
18 18
19 19
42### 42###
43# public functions 43# public functions
44### 44###
45 45
46gst-plugins-base_src_configure() { 46gst-plugins-base_src_configure() {
47 47
48 # disable any external plugin besides the plugin we want 48 # disable any external plugin besides the plugin we want
49 local plugin gst_conf 49 local plugin gst_conf
50 50
51 einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..." 51 einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..."
52 52
97 # Remove generation of any other Makefiles except the plugin's Makefile 97 # Remove generation of any other Makefiles except the plugin's Makefile
98 if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then 98 if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then
99 makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" 99 makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
100 elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then 100 elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then
101 makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile" 101 makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile"
102 fi 102 fi
103 sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \ 103 sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \
104 -i ${S}/configure 104 -i ${S}/configure
105 105
106} 106}
107 107

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20