2002-07-15 23:42:38 +02:00
|
|
|
# New ports collection makefile for: gstreamer
|
|
|
|
# Date created: Tue Jul 9 20:24:02 UTC 2002
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2008-03-24 04:52:36 +01:00
|
|
|
# $MCom: ports/multimedia/gstreamer/Makefile,v 1.59 2008/03/21 03:53:00 ahze Exp $
|
2006-10-21 23:58:22 +02:00
|
|
|
#
|
2002-07-15 23:42:38 +02:00
|
|
|
|
|
|
|
PORTNAME= gstreamer
|
2009-01-25 18:49:30 +01:00
|
|
|
PORTVERSION= 0.10.22
|
2009-01-27 23:39:17 +01:00
|
|
|
PORTREVISION= 1
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2006-05-16 01:34:49 +02:00
|
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ \
|
2008-10-10 10:59:51 +02:00
|
|
|
GNOME
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Development framework for creating media applications
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2008-07-26 15:32:14 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
|
2003-04-22 07:46:20 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2007-07-05 13:24:22 +02:00
|
|
|
CFLAGS:= ${CFLAGS} -O2
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2008-03-24 04:52:36 +01:00
|
|
|
USE_XORG= x11 xv xext videoproto xextproto
|
2002-07-15 23:42:38 +02:00
|
|
|
USE_BZIP2= yes
|
2002-10-26 18:25:05 +02:00
|
|
|
USE_GMAKE= yes
|
2003-04-22 07:46:20 +02:00
|
|
|
WANT_GNOME= yes
|
2008-03-24 04:52:36 +01:00
|
|
|
USE_GNOME= gnomehack glib20 libxml2 ltverhack ltasneededhack
|
2006-04-30 01:03:03 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-10-12 03:29:51 +02:00
|
|
|
CONFIGURE_ARGS= --disable-tests \
|
2004-12-29 14:08:15 +01:00
|
|
|
--disable-examples \
|
2004-12-25 23:52:13 +01:00
|
|
|
--disable-docs-build \
|
2006-12-08 00:49:51 +01:00
|
|
|
--disable-failing-tests \
|
2007-07-23 11:36:51 +02:00
|
|
|
--disable-gtk-doc
|
2005-12-24 22:12:07 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
2006-04-30 04:04:12 +02:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
|
2008-07-26 05:11:22 +02:00
|
|
|
ac_cv_func_register_printf_function="no" \
|
|
|
|
FLEX_PATH="${LOCALBASE}/bin/flex"
|
2006-04-30 01:03:03 +02:00
|
|
|
PLIST_SUB= VERSION="${GST_VERSION}"
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-30 01:03:03 +02:00
|
|
|
GST_VERSION= 0.10
|
2002-07-15 23:42:38 +02:00
|
|
|
|
2006-04-30 01:03:03 +02:00
|
|
|
MAN1= gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
|
|
|
|
gst-launch-${GST_VERSION}.1 \
|
|
|
|
gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \
|
|
|
|
gst-xmllaunch-${GST_VERSION}.1
|
2002-10-26 18:25:05 +02:00
|
|
|
|
2008-03-24 04:52:36 +01:00
|
|
|
.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>
|