blob: f6e15fc147fa51371a60ffcccdecf58ca4707e9f (
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
|
# 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.4 2007/02/27 23:34:07 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="~amd64 ~ppc ~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"
pkg_setup() {
if ! built_with_use media-video/mjpegtools png; then
eerror "Please emerge media-video/mjpegtools with useflag 'png'."
die "Fix USE flags and re-emerge"
fi
}
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
}
|