summaryrefslogtreecommitdiff
blob: 388cc685a97e9b30ee807afee2cd27b0dfa7ff70 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/nuppelvideo/nuppelvideo-0.52a.ebuild,v 1.5 2006/08/28 10:27:16 phosphan Exp $

inherit eutils

MY_P=NuppelVideo-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="NuppelVideo is a simple low consuming and fast capture program for bttv-cards (BT8x8)"
HOMEPAGE="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/"
SRC_URI="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/${MY_P}.tar.gz"
LICENSE="GPL-2 as-is"
SLOT="0"

IUSE=""

KEYWORDS="x86"
DEPEND="virtual/os-headers
	>=sys-apps/sed-4"
RDEPEND=""

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/gcc3.4.patch
	sed -e 's:^CFLAGS.*::' -i Makefile || die "sed failed"
}

src_compile() {
	emake || die
}

src_install() {
	dodoc README LICENSE*
	dobin nuvrec nuvplay nuvedit nuv2mpg nuv2vbr
}
pkg_postinst(){
	einfo
	einfo "If you experience problems with audio, please check:"
	einfo "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/Sound-Howto.txt"
	einfo
	einfo "If you have bad tv reception you can fix sync problems with:"
	einfo "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/nuvrepairsync.tcl"
	einfo
}