summaryrefslogtreecommitdiff
blob: cd19033e7bcf652055381ba9e8c87bb7dccc5c98 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/gqcam/gqcam-0.9.ebuild,v 1.15 2005/09/03 23:26:00 flameeyes Exp $

DESCRIPTION="A V4L-compatible frame grabber - works with many webcams."
SRC_URI="http://cse.unl.edu/~cluening/gqcam/download/${P}.tar.gz"
HOMEPAGE="http://cse.unl.edu/~cluening/gqcam/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~mips amd64 ppc ~sparc"
IUSE=""

DEPEND="=x11-libs/gtk+-1.2*
		>=media-libs/jpeg-6b-r2
		>=media-libs/libpng-1.2.1-r1"

src_unpack() {
	unpack ${A}

	cd ${S}
	mv Makefile Makefile.bad
	sed -e "s:-lpng:\`libpng-config --libs\`:" Makefile.bad > Makefile
}

src_compile() {
	emake || die
}

src_install () {
	dobin gqcam

	dodoc CHANGES README README.threads
}