aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer/Makefile')
-rw-r--r--multimedia/gstreamer/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
index 64969c21a115..f4152e378d9b 100644
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -3,11 +3,11 @@
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports-stable/multimedia/gstreamer/Makefile,v 1.1 2007/12/02 16:39:58 ahze Exp $
+# $MCom: ports/multimedia/gstreamer/Makefile,v 1.59 2008/03/21 03:53:00 ahze Exp $
#
PORTNAME= gstreamer
-PORTVERSION= 0.10.15
+PORTVERSION= 0.10.18
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ \
${MASTER_SITE_LOCAL}
@@ -19,12 +19,12 @@ COMMENT= Development framework for creating media applications
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
CFLAGS:= ${CFLAGS} -O2
-USE_XLIB= yes
USE_BISON= build
+USE_XORG= x11 xv xext videoproto xextproto
USE_BZIP2= yes
USE_GMAKE= yes
WANT_GNOME= yes
-USE_GNOME= gnomehack glib20 libxml2 ltverhack
+USE_GNOME= gnomehack glib20 libxml2 ltverhack ltasneededhack
USE_GETTEXT= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --disable-tests \
@@ -44,4 +44,14 @@ MAN1= gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \
gst-xmllaunch-${GST_VERSION}.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if (exists(${LOCALBASE}/lib/libcheck.a) || defined(WITH_CHECK))
+LIB_DEPENDS+= check.0:${PORTSDIR}/devel/libcheck
+PLIST_SUB+= CHECK=""
+.else
+CONFIGURE_ARGS+=--without-check
+PLIST_SUB+= CHECK="@comment "
+.endif
+
+.include <bsd.port.post.mk>