pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cheese Only depend on gst-plugins0.10-v4l2 on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d523faa080b6
branches:  trunk
changeset: 550581:d523faa080b6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 24 12:49:39 2008 +0000

description:
Only depend on gst-plugins0.10-v4l2 on NetBSD-[5-9]* and Linux.
No PKGREVISION bump because that dependency didn't build on other OPSYS
anyway.
Addresses PR 39988 by Robert Elz.

diffstat:

 graphics/cheese/Makefile |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r d89db28784ba -r d523faa080b6 graphics/cheese/Makefile
--- a/graphics/cheese/Makefile  Mon Nov 24 12:04:32 2008 +0000
+++ b/graphics/cheese/Makefile  Mon Nov 24 12:49:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/11/14 11:25:28 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/11/24 12:49:39 wiz Exp $
 
 DISTNAME=      cheese-2.24.1
 CATEGORIES=    graphics
@@ -9,6 +9,15 @@
 COMMENT=       Use your webcam to take photos and videos
 
 BUILD_DEPENDS+=        gettext-m4-[0-9]*:../../devel/gettext-m4
+DEPENDS+= gst-plugins0.10-theora>=0.10.1:../../multimedia/gst-plugins0.10-theora
+DEPENDS+= gst-plugins0.10-ogg>=0.10.1:../../multimedia/gst-plugins0.10-ogg
+DEPENDS+= gst-plugins0.10-vorbis>=0.10.1:../../audio/gst-plugins0.10-vorbis
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*) || !empty(MACHINE_PLATFORM:MLinux)
+DEPENDS+= gst-plugins0.10-v4l2>=0.10.10:../../multimedia/gst-plugins0.10-v4l2
+.endif
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
@@ -37,10 +46,6 @@
 .include "../../mail/evolution-data-server/buildlink3.mk"
 .include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
 .include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
-DEPENDS+= gst-plugins0.10-theora>=0.10.1:../../multimedia/gst-plugins0.10-theora
-DEPENDS+= gst-plugins0.10-ogg>=0.10.1:../../multimedia/gst-plugins0.10-ogg
-DEPENDS+= gst-plugins0.10-vorbis>=0.10.1:../../audio/gst-plugins0.10-vorbis
-DEPENDS+= gst-plugins0.10-v4l2>=0.10.10:../../multimedia/gst-plugins0.10-v4l2
 .include "../../multimedia/gstreamer0.10/buildlink3.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index