/[gentoo-x86]/eclass/gst-plugins-bad.eclass
Gentoo

Diff of /eclass/gst-plugins-bad.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.8
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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-bad.eclass,v 1.5 2006/05/10 11:50:14 zaheerm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.8 2007/01/25 16:47:56 lack Exp $
4 4
5# 5#
6# Original Author: Saleem Abdulrasool <compnerd@gentoo.org> 6# Original Author: Saleem Abdulrasool <compnerd@gentoo.org>
7# Based on the work of foser <foser@gentoo.org> and zaheerm <zaheerm@gentoo.org> 7# Based on the work of foser <foser@gentoo.org> and zaheerm <zaheerm@gentoo.org>
8# Purpose: This elcass is designed to help package external gst-plugins per 8# Purpose: This elcass is designed to help package external gst-plugins per
9# plugin rather than in a single package. 9# plugin rather than in a single package.
10# 10#
11 11
12my_gst_plugins_bad="amrwb bz2 directfb dts divx faac faad gsm gst_v4l2 ivorbis libmms musepack musicbrainz neon opengl sdl sdltest soundtouch swfdec theoradec wavpack xvid" 12# This list is current to gst-plugins-good-0.10.4 except for:
13# gst_v4l2 - moved to gst-plugins-good-0.10.5 (not in >=gst-plugins-bad-0.10.4)
14# But it must stay in this list until all <gst-plugins-bad-0.10.4
15# are removed
16my_gst_plugins_bad="alsa amrwb bz2 cdaudio directfb dts divx dvb faac faad gsm
17gst_v4l2 ivorbis jack ladspa libmms mpeg2enc musepack musicbrainz neon opengl
18sdl sdltest soundtouch spc swfdec theoradec wavpack xvid x"
19
13#qtdemux spped tta 20#qtdemux spped tta
14 21
15inherit eutils gst-plugins10 22inherit eutils gst-plugins10
16 23
17MY_PN="gst-plugins-bad" 24MY_PN="gst-plugins-bad"
21 28
22# added to remove circular deps 29# added to remove circular deps
23# 6/2/2006 - zaheerm 30# 6/2/2006 - zaheerm
24if [ "${PN}" != "${MY_PN}" ]; then 31if [ "${PN}" != "${MY_PN}" ]; then
25RDEPEND="=media-libs/gstreamer-0.10* 32RDEPEND="=media-libs/gstreamer-0.10*
26 =media-libs/gst-plugins-base-0.10* 33 =media-libs/gst-plugins-base-0.10*
27 >=dev-libs/glib-2.6 34 >=dev-libs/glib-2.6
28 >=dev-libs/liboil-0.3" 35 >=dev-libs/liboil-0.3"
29DEPEND="${RDEPEND} 36DEPEND="${RDEPEND}
30 sys-apps/sed 37 sys-apps/sed
31 sys-devel/gettext" 38 sys-devel/gettext"
32fi 39fi
33S=${WORKDIR}/${MY_P} 40S=${WORKDIR}/${MY_P}
67 for plugin in ${GST_PLUGINS_BUILD} ; do 74 for plugin in ${GST_PLUGINS_BUILD} ; do
68 gst_conf="${gst_conf} --enable-${plugin}" 75 gst_conf="${gst_conf} --enable-${plugin}"
69 done 76 done
70 77
71 cd ${S} 78 cd ${S}
72 econf ${@} ${gst_conf} || die "configure failed" 79 econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf} || die "configure failed"
73} 80}
74 81
75gst-plugins-bad_src_compile() { 82gst-plugins-bad_src_compile() {
76 gst-plugins-bad_src_configure ${@} 83 gst-plugins-bad_src_configure ${@}
77 84

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

  ViewVC Help
Powered by ViewVC 1.1.20