blob: 5d66675089a5ef55a3b8aa338d5a089fe9b401ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.3.4.ebuild,v 1.6 2002/07/11 06:30:38 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.gz"
HOMEPAGE="http://gstreamer.sourceforge.net"
# required packages
# there are many many optional libraries. features are compiled if the libraries
# are present. most optional libraries are from gnome.
DEPEND=">=media-libs/gstreamer-0.3.4
media-sound/mad
oggvorbis? ( media-libs/libvorbis
media-libs/libogg )
media-sound/lame
jpeg? ( media-libs/jpeg )
esd? ( media-sound/esound )
gnome? ( >=gnome-base/gnome-vfs-2.0.1 )
mikmod? ( media-libs/libmikmod )"
RDEPEND="${DEPEND}"
src_compile() {
libtoolize --copy --force
./configure \
--disable-avifile \
--disable-dv \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--mandir=/usr/share/man || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING INSTALL README RELEASE TODO
}
pkg_postinst () {
gst-register
}
|