blob: 8167c28a1c9dd48acd7802ffd70f2bba766cba8b (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/vls/vls-0.5.5-r1.ebuild,v 1.8 2006/08/30 13:03:43 zzam Exp $
inherit flag-o-matic
IUSE="debug dvd dvb"
DESCRIPTION="The VideoLAN server"
HOMEPAGE="http://www.videolan.org/vlc/streaming.html"
SRC_URI="http://www.videolan.org/pub/videolan/vls/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
DEPEND="dvd? ( >=media-libs/libdvdread-0.9.4
>=media-libs/libdvdcss-1.2.8 )
dvb? (
media-tv/linuxtv-dvb-headers
media-libs/libdvb
)
>=media-libs/libdvbpsi-0.1.3"
src_compile() {
local myconf
use debug || myconf="--disable-debug"
use dvd || myconf="${myconf} --disable-dvd"
if use dvb; then
append-flags "-I/usr/include/libdvb"
myconf="${myconf} --enable-dvb --with-libdvb=/usr/lib"
fi
econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install () {
einstall || die "einstall failed"
dodoc AUTHORS README TODO
}
|