summaryrefslogtreecommitdiff
blob: 31aeae0f767c3c672a84aeae2613d4e01ac2c70b (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/kino/kino-0.60.ebuild,v 1.1 2002/12/06 13:41:10 hanno Exp $

# Kino 0.6 is newer than 0.51, but portage cannot handle this
MY_PV="0.6"
DESCRIPTION="kino is a digital video editor for linux"
HOMEPAGE="http://kino.schirmacher.de/"
LICENSE="GPL-2"
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}-1.tar.gz"
S=${WORKDIR}/${PN}-${MY_PV}
IUSE=""

DEPEND="x11-libs/gtk+
	dev-libs/glib
	gnome-base/gnome-libs
	media-libs/imlib
	dev-libs/libxml2
	media-libs/audiofile
	media-sound/esound
	sys-libs/libraw1394
	sys-libs/libavc1394
	media-libs/libdv"
SLOT="0"
KEYWORDS="~x86"

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		--disable-dependency-tracking \
		--disable-debug || die "./configure failed"

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}

pkg_postinst() {
	echo "To use kino, it is recommed that you also install"
	echo "media-video/mjpegtools"
}