blob: 6d4cf243477263667ccada68debc5c6a2ddf57e9 (
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
45
46
47
48
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-0.98.ebuild,v 1.7 2002/10/05 05:39:15 drobbins Exp $
IUSE="sdl gtk xv"
S=${WORKDIR}/${P}
DESCRIPTION="software codec for dv-format video (camcorders etc)"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
http://belnet.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://libdv.sourceforge.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc sparc64"
DEPEND=" dev-libs/popt
gtk? ( =x11-libs/gtk+-1.2* )
gtk? ( =dev-libs/glib-1.2* )
xv? ( x11-base/xfree )
dev-util/pkgconfig
sdl? ( >=media-libs/libsdl-1.2.4.20020601 )"
src_compile() {
myconf="--without-debug"
use gtk \
|| myconf="$myconf --disable-gtk"
use sdl \
&& myconf="$myconf --enable-sdl" \
|| myconf="$myconf --disable-sdl"
# Do not work in some cases if disabled.
# use xv \
# || myconf="$mycong --disable-xv"
unset CFLAGS CXXFLAGS
econf ${myconf} || die
make || die
}
src_install () {
make DESTDIR=${D} install || die
}
|