summaryrefslogtreecommitdiff
blob: 7ddd40271a5e2fadd227d114bdbe9b9466b391c1 (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-2007 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.7 2007/11/27 10:48:02 zzam 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(){
	elog
	elog "If you experience problems with audio, please check:"
	elog "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/Sound-Howto.txt"
	elog
	elog "If you have bad tv reception you can fix sync problems with:"
	elog "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/nuvrepairsync.tcl"
	elog
}