| 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.16 2008/12/05 20:39:36 ssuominen Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.17 2009/03/30 04:24:15 tester 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 | # |
| … | |
… | |
| 75 | # public inheritable functions |
75 | # public inheritable functions |
| 76 | ### |
76 | ### |
| 77 | |
77 | |
| 78 | gst-plugins-good_src_unpack() { |
78 | gst-plugins-good_src_unpack() { |
| 79 | |
79 | |
| 80 | local makefiles |
80 | # local makefiles |
| 81 | |
81 | |
| 82 | unpack ${A} |
82 | unpack ${A} |
| 83 | |
83 | |
| 84 | # Link with the syswide installed gst-libs if needed |
84 | # Link with the syswide installed gst-libs if needed |
| 85 | gst-plugins10_find_plugin_dir |
85 | # gst-plugins10_find_plugin_dir |
| 86 | cd ${S} |
86 | # cd ${S} |
| 87 | |
87 | |
| 88 | # Remove generation of any other Makefiles except the plugin's Makefile |
88 | # Remove generation of any other Makefiles except the plugin's Makefile |
| 89 | if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then |
89 | # if [ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]; then |
| 90 | makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" |
90 | # makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile" |
| 91 | elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then |
91 | # elif [ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]; then |
| 92 | makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile" |
92 | # makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile" |
| 93 | fi |
93 | # fi |
| 94 | sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \ |
94 | # sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \ |
| 95 | -i ${S}/configure |
95 | # -i ${S}/configure |
| 96 | |
96 | |
| 97 | } |
97 | } |
| 98 | |
98 | |
| 99 | gst-plugins-good_src_compile() { |
99 | gst-plugins-good_src_compile() { |
| 100 | |
100 | |