summaryrefslogtreecommitdiff
blob: 85c38c74bbaf27ec4dd40abada22d9959b7b3519 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/videotrans/videotrans-1.5.2.ebuild,v 1.1 2007/01/06 23:45:50 sbriesen Exp $

inherit eutils

DESCRIPTION="A package to convert movies to DVD format and to build DVDs with."
HOMEPAGE="http://videotrans.sourceforge.net/"
SRC_URI="mirror://sourceforge/videotrans/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"

KEYWORDS="~x86"

IUSE=""

DEPEND="media-video/ffmpeg
	media-video/mplayer
	media-video/mjpegtools
	media-video/dvdauthor
	media-gfx/imagemagick"

RDEPEND="${DEPEND}
	www-client/lynx
	app-shells/bash
	sys-devel/bc"

src_unpack() {
	unpack ${A}
	cd "${S}"

	# replace non-existing 'md5' with 'md5sum' (works also)
	sed -i -e 's:md5 <:md5sum <:g' src/movie-compare-dvd
}

src_install() {
	emake prefix="${D}usr" DATADIR="${D}usr/share" \
		MANDIR="${D}usr/share/man" install || die "emake install failed"

	dodoc CHANGES THANKS TODO aspects.txt
}