summaryrefslogtreecommitdiff
blob: 52f26c999e65f001f13f8308cf33e15ea4551b9e (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
52
53
54
55
56
57
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/piave/piave-0.2.4-r1.ebuild,v 1.8 2006/01/25 13:02:43 zypher Exp $

inherit eutils

DESCRIPTION="PIAVE - Piave Is A Video Editor"
HOMEPAGE="http://modesto.sourceforge.net/piave/index.html"
SRC_URI="mirror://sourceforge/modesto/${P}.tar.gz"

IUSE="nls"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~amd64"

RDEPEND=">=dev-libs/libxml2-2.5.11
	>=dev-cpp/libxmlpp-0.21.0
	>=dev-libs/glib-1.2.10-r5
	>=media-libs/libsndfile-1.0.11
	>=media-libs/gdk-pixbuf-0.22.0
	>=media-libs/libsdl-1.2.6-r2
	>=media-libs/sdl-image-1.2.3
	<=media-libs/libdv-0.102
	>=media-libs/libsndfile-1.0.5
	>=media-libs/libvorbis-1.0.1
	>=sys-libs/libraw1394-0.9.0
	>=sys-libs/libavc1394-0.4.1
	media-libs/nas
	|| ( (
		x11-libs/libX11
		x11-libs/libXi
		x11-libs/libXext
	    ) virtual/x11 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.15.0"

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

	epatch ${FILESDIR}/piave-0.2.4-include-arts.diff
	epatch ${FILESDIR}/piave-0.2.4-gcc34.patch
}

src_compile() {
	econf \
		$(use_enable nls) \
		|| die "configure failed"

	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog README TODO
}