blob: 3a2e1d4becac91de7277e09bf3b6e55cf93b1265 (
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
49
50
51
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/streamdvd/streamdvd-0.4-r1.ebuild,v 1.5 2004/10/18 20:47:50 kugelfang Exp $
DESCRIPTION="fast tool to backup Video DVDs 'on the fly'"
HOMEPAGE="http://www.badabum.de/streamdvd.html"
SRC_URI="http://www.badabum.de/down/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND="media-libs/libdvdread
gui? ( dev-perl/perl-tk
app-cdr/cdrtools
>=media-video/dvdauthor-0.6.5
>=app-cdr/dvd+rw-tools-5.13.4.7.4 )"
S="${WORKDIR}/StreamDVD-${PV}"
src_unpack() {
unpack ${A}
cd ${S} || die
sed -i "s: -g -Wall : ${CFLAGS} :" Makefile
use gui && epatch "${FILESDIR}/${P}.patch"
}
src_compile() {
emake all addon || die # compile also optional packages
}
src_install() {
dobin streamdvd streamanalyze
newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd
dodoc COPYING README
newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd
newdoc contrib/lsdvd/README README.lsdvd
newdoc contrib/StreamAnalyze/README README.streamanalyze
if use gui
then
eval `perl '-V:installvendorlib'`
insinto "$installvendorlib/StreamDVD"
doins Gui/StreamDVD/*.pm
dobin Gui/StreamDVD.pl
dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink
newdoc Gui/README README.gui
fi
}
|