/[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.8 Revision 1.16
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.8 2006/05/04 16:30:35 zaheerm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.16 2008/12/05 20:39:36 ssuominen 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#
24MY_PN=gst-plugins-good 24MY_PN=gst-plugins-good
25MY_P=${MY_PN}-${PV} 25MY_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
29my_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" 29
30# This list is current to gst-plugins-good-0.10.6
31my_gst_plugins_good="gconf gconftool oss aalib aalibtest cairo cdio esd esdtest
32flac jpeg ladspa libcaca libdv libpng dv1394 shout2 shout2test speex annodex hal
33x taglib gdk_pixbuf gst_v4l2 sunaudio xshm xvideo zlib wavpack soup pulse bz2"
30 34
31#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2" 35#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
32SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-good/${MY_P}.tar.bz2" 36SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-good/${MY_P}.tar.bz2"
33 37
34S=${WORKDIR}/${MY_P} 38S=${WORKDIR}/${MY_P}
35# added to remove circular deps 39# added to remove circular deps
36# 6/2/2006 - zaheerm 40# 6/2/2006 - zaheerm
37if [ "${PN}" != "${MY_PN}" ]; then 41if [ "${PN}" != "${MY_PN}" ]; then
38RDEPEND="=media-libs/gst-plugins-base-0.10*" 42RDEPEND="=media-libs/gst-plugins-base-0.10*"
39DEPEND="${RDEPEND} 43DEPEND="${RDEPEND}
40 >=sys-apps/sed-4" 44 >=sys-apps/sed-4
45 dev-util/pkgconfig"
41fi 46fi
42 47
43### 48###
44# public functions 49# public functions
45### 50###
60 for plugin in ${GST_PLUGINS_BUILD}; do 65 for plugin in ${GST_PLUGINS_BUILD}; do
61 gst_conf="${gst_conf} --enable-${plugin} " 66 gst_conf="${gst_conf} --enable-${plugin} "
62 done 67 done
63 68
64 cd ${S} 69 cd ${S}
65 econf ${@} ${gst_conf} || die "./configure failure" 70 econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "./configure failure"
66 71
67} 72}
68 73
69### 74###
70# public inheritable functions 75# public inheritable functions
103gst-plugins-good_src_install() { 108gst-plugins-good_src_install() {
104 109
105 gst-plugins10_find_plugin_dir 110 gst-plugins10_find_plugin_dir
106 einstall || die 111 einstall || die
107 112
108 dodoc README 113 [[ -e README ]] && dodoc README
109} 114}
110 115
111EXPORT_FUNCTIONS src_unpack src_compile src_install 116EXPORT_FUNCTIONS src_unpack src_compile src_install

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20