# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ # $MCom: ports/multimedia/gstreamer1/Makefile,v 1.5 2013/01/15 21:43:45 kwm Exp $ PORTNAME= gstreamer1 PORTVERSION= 1.0.10 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ DISTNAME= ${PORTNAME:S/1//}-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Media applications framework LICENSE= LGPL20 PORTSCOUT= limitw:1,even CFLAGS:= ${CFLAGS} -O2 -Wno-format USES= bison gettext gmake pathfix pkgconfig # workaround a crash in clang 3.3, llvm bug # 15840 USE_GCC= any USE_XZ= yes USE_GNOME= glib20 gnomehier introspection:build ltverhack:0 ltasneededhack USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --disable-tests \ --disable-examples \ --disable-failing-tests \ --disable-fatal-warnings \ --disable-gtk-doc #--enable-gst-debug --enable-debug CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= ac_cv_func_register_printf_function="no" PLIST_SUB= VERSION=${GST10_VERSION} USE_LDCONFIG= yes GST10_VERSION= ${PORTVERSION:R} MAN1= gst-inspect-${GST10_VERSION}.1 gst-launch-${GST10_VERSION}.1 \ gst-typefind-${GST10_VERSION}.1 OPTIONS_DEFINE= LIBCHECK LIBCHECK_DESC= Unit tests support NO_STAGE= yes .include .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex" .endif .if ${PORT_OPTIONS:MLIBCHECK} LIB_DEPENDS+= libcheck.so:${PORTSDIR}/devel/libcheck CONFIGURE_ARGS+=--enable-check PLIST_SUB+= CHECK="" .else CONFIGURE_ARGS+=--disable-check PLIST_SUB+= CHECK="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure .include