| 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.3 2006/01/01 01:14:59 swegener Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.8 2006/05/04 16:30:35 zaheerm 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 | # |
| … | |
… | |
| 24 | MY_PN=gst-plugins-good |
24 | MY_PN=gst-plugins-good |
| 25 | MY_P=${MY_PN}-${PV} |
25 | MY_P=${MY_PN}-${PV} |
| 26 | # All relevant configure options for gst-plugins |
26 | # All relevant configure options for gst-plugins |
| 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_good="gconf gconftool oss aalib aalibtest cairo esd esdtest flac jpeg ladspa libcaca libdv libpng dv1394 shout2 shout2test speex" |
29 | my_gst_plugins_good="gconf gconftool oss aalib aalibtest cairo cdio esd esdtest flac jpeg ladspa libcaca libdv libpng dv1394 shout2 shout2test speex annodex hal x taglib" |
| 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-good/${MY_P}.tar.bz2" |
| 33 | |
33 | |
| 34 | S=${WORKDIR}/${MY_P} |
34 | S=${WORKDIR}/${MY_P} |
| 35 | |
35 | # added to remove circular deps |
|
|
36 | # 6/2/2006 - zaheerm |
|
|
37 | if [ "${PN}" != "${MY_PN}" ]; then |
| 36 | RDEPEND=">=media-libs/gst-plugins-base-0.9" |
38 | RDEPEND="=media-libs/gst-plugins-base-0.10*" |
| 37 | DEPEND="${RDEPEND} |
39 | DEPEND="${RDEPEND} |
| 38 | >=sys-apps/sed-4" |
40 | >=sys-apps/sed-4" |
| 39 | |
41 | fi |
| 40 | |
42 | |
| 41 | ### |
43 | ### |
| 42 | # public functions |
44 | # public functions |
| 43 | ### |
45 | ### |
| 44 | |
46 | |