summaryrefslogtreecommitdiff
blob: a8504b26945dda592d23b0d704f724a48b9f1d88 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Convert any images into MPEG video streams with transitions between the images"
HOMEPAGE="http://www.gromeck.de/projekte/software/image2mpeg/"
SRC_URI="http://www.gromeck.de/uploads/media/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug devil"

DEPEND="media-libs/libpng
	!devil? ( >=media-gfx/imagemagick-6.1.8 )
	media-video/ffmpeg
	>=media-video/mjpegtools-1.6
	media-libs/libmad
	devil? ( >=media-libs/devil-1.7.0 )"
RDEPEND="${DEPEND}
	media-sound/madplay
	>=media-sound/toolame-0.2l"

src_compile(){
	econf \
		$(use_enable debug) \
		$(use_enable devil)
	emake || die "emake fail"
}

src_install() {
	emake DESTDIR="${D}" install || die "install fail"
	dodoc AUTHORS ChangeLog NEWS README || die "docs install fail"
}