summaryrefslogtreecommitdiff
blob: df7d98922350bf10a2a6becc23a1621f004e1c5a (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/camstream/camstream-0.26.2.ebuild,v 1.8 2004/01/04 02:26:04 caleb Exp $

DESCRIPTION="Collection of tools for webcams and other video devices"
HOMEPAGE="http://www.smcc.demon.nl/camstream/"
SRC_URI="http://www.smcc.demon.nl/camstream/download/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="x86"
SLOT="0"
IUSE="doc"

# camstream configure script gets it wrong, sometimes
DEPEND=">=x11-libs/qt-3"

src_unpack() {
	unpack ${A}
	cd ${S}
	# Patch to fix an instance of a multi-line string which gcc-3.3.x dislikes greatly.
	# Closes Bug #30292
	epatch ${FILESDIR}/${P}-gcc33-multiline-string-fix.patch

	# configure script sometimes can't fund uic/moc, see bug 31940
	epatch ${FILESDIR}/uicmocpath.patch
}

src_install () {
	dobin camstream/camstream camstream/caminfo camstream/ftpput
	dodir /usr/share/${PN}/icons
	insinto /usr/share/${PN}/icons
	doins camstream/icons/*.png
	use doc && dohtml -r docs/*
}