summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/gqcam')
-rw-r--r--media-video/gqcam/ChangeLog5
-rw-r--r--media-video/gqcam/gqcam-0.9.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/media-video/gqcam/ChangeLog b/media-video/gqcam/ChangeLog
index 3bd0b47b3280..de3d66b058db 100644
--- a/media-video/gqcam/ChangeLog
+++ b/media-video/gqcam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/gqcam
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/gqcam/ChangeLog,v 1.1 2002/07/09 12:16:05 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gqcam/ChangeLog,v 1.2 2002/11/27 01:03:13 foser Exp $
+
+ 27 Nov 2002; foser <foser@gentoo.org> gqcam-0.9.ebuild :
+ Fix problems with libpng-1.2.5 (bug #9792)
*gqcam-0.9 (7 May 2002)
diff --git a/media-video/gqcam/gqcam-0.9.ebuild b/media-video/gqcam/gqcam-0.9.ebuild
index 8f7ed99ab2f5..41046312d10a 100644
--- a/media-video/gqcam/gqcam-0.9.ebuild
+++ b/media-video/gqcam/gqcam-0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# 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.5 2002/10/04 05:55:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gqcam/gqcam-0.9.ebuild,v 1.6 2002/11/27 01:03:13 foser Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A V4L-compatible frame grabber - works with many webcams."
@@ -15,6 +15,14 @@ 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
}