/[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.10 Revision 1.11
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.10 2008/12/29 03:50:08 solar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.11 2009/03/30 04:24:15 tester 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#
77# public inheritable functions 77# public inheritable functions
78### 78###
79 79
80gst-plugins-base_src_unpack() { 80gst-plugins-base_src_unpack() {
81 81
82 local makefiles 82# local makefiles
83 83
84 unpack ${A} 84 unpack ${A}
85 85
86 # Link with the syswide installed gst-libs if needed 86 # Link with the syswide installed gst-libs if needed
87 gst-plugins10_find_plugin_dir 87 gst-plugins10_find_plugin_dir
98 -e "s:\$(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer:${ROOT}/usr/$(get_libdir)/libgstnetbuffer:" \ 98 -e "s:\$(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer:${ROOT}/usr/$(get_libdir)/libgstnetbuffer:" \
99 -e "s:\${top_builddir}/gst-libs/gst/netbuffer/libgstnetbuffer:${ROOT}/usr/$(get_libdir)/libgstnetbuffer:" \ 99 -e "s:\${top_builddir}/gst-libs/gst/netbuffer/libgstnetbuffer:${ROOT}/usr/$(get_libdir)/libgstnetbuffer:" \
100 -e "s:\$(top_builddir)/gst-libs/gst/rtp/libgstrtp:${ROOT}/usr/$(get_libdir)/libgstrtp:" \ 100 -e "s:\$(top_builddir)/gst-libs/gst/rtp/libgstrtp:${ROOT}/usr/$(get_libdir)/libgstrtp:" \
101 -e "s:\${top_builddir}/gst-libs/gst/rtp/libgstrtp:${ROOT}/usr/$(get_libdir)/libgstrtp:" \ 101 -e "s:\${top_builddir}/gst-libs/gst/rtp/libgstrtp:${ROOT}/usr/$(get_libdir)/libgstrtp:" \
102 -i Makefile.in 102 -i Makefile.in
103 cd ${S} 103# cd ${S}
104 104
105 # Remove generation of any other Makefiles except the plugin's Makefile 105 # Remove generation of any other Makefiles except the plugin's Makefile
106 if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then 106# if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then
107 makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" 107# makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
108 elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then 108# elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then
109 makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile" 109# makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile"
110 fi 110# fi
111 sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \ 111# sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \
112 -i ${S}/configure 112# -i ${S}/configure
113 113
114} 114}
115 115
116gst-plugins-base_src_compile() { 116gst-plugins-base_src_compile() {
117 117

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20