# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD: head/multimedia/gstreamer1/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= gstreamer PORTVERSION= 1.16.2 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ PKGNAMESUFFIX= 1 MAINTAINER= multimedia@FreeBSD.org COMMENT= Media applications framework LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limitw:1,even CFLAGS:= ${CFLAGS} -O2 -Wno-format USES= bison gettext gmake libtool pathfix pkgconfig tar:xz perl5 \ python:3.5+ compiler:gcc-c++11-lib USE_PERL5= build USE_GNOME= glib20 introspection:build LIB_DEPENDS= libcheck.so:devel/check GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-tests \ --disable-examples \ --disable-failing-tests \ --disable-fatal-warnings \ --disable-gtk-doc CONFIGURE_ENV= ac_cv_func_register_printf_function="no" INSTALL_TARGET= install-strip PLIST_SUB= VERSION=${GST10_VERSION} \ SOVERSION=0.1602.0 USE_LDCONFIG= yes GST10_VERSION= 1.0 OPTIONS_SUB= yes OPTIONS_DEFINE= NLS OPTIONS_DEFINE_aarch64= LIBUNWIND OPTIONS_DEFFAULT_aarch64= LIBUNWIND OPTIONS_DEFINE_amd64= LIBUNWIND OPTIONS_DEFAULT_amd64= LIBUNWIND OPTIONS_DEFINE_i386= LIBUNWIND OPTIONS_DEFFAULT_i386= LIBUNWIND NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls LIBUNWIND_DESC= Libunwind is optionally used by the leaks tracer LIBUNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind LIBUNWIND_CONFIGURE_WITH= unwind .include .if ${OSVERSION} < 1000033 || ${OPSYS} == 'BSDSUniX' BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex" .endif post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure pre-configure: ${FIND} ${WRKSRC} -name "Makefile.in" -exec \ ${REINPLACE_CMD} -e 's|\\n\\#include |\\n#include |g' {} \; .include