| 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-ugly.eclass,v 1.1 2005/12/04 12:01:10 zaheerm Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-ugly.eclass,v 1.2 2005/12/04 13:04:53 zaheerm Exp $ |
| 4 | |
4 | |
| 5 | # Author : foser <foser@gentoo.org> |
5 | # Author : foser <foser@gentoo.org> |
| 6 | |
6 | |
| 7 | # gst-plugins-ugly eclass |
7 | # gst-plugins-ugly eclass |
| 8 | # |
8 | # |
| … | |
… | |
| 27 | # need a better way to extract these |
27 | # need a better way to extract these |
| 28 | # gst-plugins-base 0.9 |
28 | # gst-plugins-base 0.9 |
| 29 | my_gst_plugins_ugly="amrnb a52dec lame mad mpeg2dec sidplay" |
29 | my_gst_plugins_ugly="amrnb a52dec lame mad mpeg2dec sidplay" |
| 30 | |
30 | |
| 31 | #SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2" |
31 | #SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2" |
| 32 | SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-good/${MY_P}.tar.bz2" |
32 | SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/${MY_P}.tar.bz2" |
| 33 | |
33 | |
| 34 | S=${WORKDIR}/${MY_P} |
34 | S=${WORKDIR}/${MY_P} |
| 35 | |
35 | |
| 36 | RDEPEND=">=media-libs/gst-plugins-base-0.9*" |
36 | RDEPEND=">=media-libs/gst-plugins-base-0.9*" |
| 37 | DEPEND="${RDEPEND} |
37 | DEPEND="${RDEPEND} |
| … | |
… | |
| 50 | einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..." |
50 | einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..." |
| 51 | |
51 | |
| 52 | for plugin in ${GST_PLUGINS_BUILD}; do |
52 | for plugin in ${GST_PLUGINS_BUILD}; do |
| 53 | my_gst_plugins_ugly=${my_gst_plugins_ugly/${plugin}/} |
53 | my_gst_plugins_ugly=${my_gst_plugins_ugly/${plugin}/} |
| 54 | done |
54 | done |
| 55 | for plugin in ${my_gst_plugins_good}; do |
55 | for plugin in ${my_gst_plugins_ugly}; do |
| 56 | gst_conf="${gst_conf} --disable-${plugin} " |
56 | gst_conf="${gst_conf} --disable-${plugin} " |
| 57 | done |
57 | done |
| 58 | for plugin in ${GST_PLUGINS_BUILD}; do |
58 | for plugin in ${GST_PLUGINS_BUILD}; do |
| 59 | gst_conf="${gst_conf} --enable-${plugin} " |
59 | gst_conf="${gst_conf} --enable-${plugin} " |
| 60 | done |
60 | done |