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

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

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

Revision 1.2 Revision 1.3
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-good.eclass,v 1.2 2005/12/05 17:07:17 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.3 2006/01/01 01:14:59 swegener Exp $
4 4
5# Author : foser <foser@gentoo.org>, zaheerm <zaheerm@gentoo.org> 5# Author : foser <foser@gentoo.org>, zaheerm <zaheerm@gentoo.org>
6 6
7# gst-plugins-good eclass 7# gst-plugins-good 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, obtain recommended plugins to use from 13# defined in the source, 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
41### 41###
42# public functions 42# public functions
43### 43###
44 44
45gst-plugins-good_src_configure() { 45gst-plugins-good_src_configure() {
46 46
47 # disable any external plugin besides the plugin we want 47 # disable any external plugin besides the plugin we want
48 local plugin gst_conf 48 local plugin gst_conf
49 49
50 einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..." 50 einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..."
51 51
81 # Remove generation of any other Makefiles except the plugin's Makefile 81 # Remove generation of any other Makefiles except the plugin's Makefile
82 if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then 82 if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then
83 makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" 83 makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
84 elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then 84 elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then
85 makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile" 85 makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile"
86 fi 86 fi
87 sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \ 87 sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \
88 -i ${S}/configure 88 -i ${S}/configure
89 89
90} 90}
91 91

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

  ViewVC Help
Powered by ViewVC 1.1.20