blob: 804c80293f1003f92dea894c4be31a7501c74f4f (
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic toolchain-funcs
DESCRIPTION="IVTV utilities for Hauppauge PVR PCI cards"
HOMEPAGE="http://www.ivtvdriver.org/"
SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/$(ver_cut 1-2).x/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="perl"
RDEPEND="
media-libs/libv4l[utils(-)]
perl? (
dev-perl/Video-Frequencies
dev-perl/Video-ivtv
dev-perl/Config-IniFiles
dev-perl/Tk
virtual/perl-Getopt-Long
)"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.0-gentoo.patch
"${FILESDIR}"/${PN}-1.4.1-overflow.patch
"${FILESDIR}"/${PN}-1.4.1-redefine.patch
)
src_configure() {
tc-export CC CXX
# bug 907679
use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
dodoc -r ChangeLog README doc/.
if use perl; then
dobin utils/perl/*.pl
dodoc utils/perl/README.ptune
fi
}
|