1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/multimedia/gstreamer/Makefile
Koop Mast ade836fb8d Add USE_GCC=any as a temporary patch to work around a crash in the clang
compiler after the 3.3 update. The problem was reported upstream but no
patch available yet.

Submitted by:	miwi
2013-05-10 14:14:10 +00:00

62 lines
1.8 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer/Makefile,v 1.74 2010/03/09 10:11:45 kwm Exp $
PORTNAME= gstreamer
PORTVERSION= 0.10.36
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Development framework for creating media applications
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
gobject-introspection>=0.9.12:${PORTSDIR}/devel/gobject-introspection
RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
CFLAGS:= ${CFLAGS} -O2 -Wno-format
USES= bison pathfix pkgconfig gettext
# workaround a crash in clang 3.3 crash llvm bug # 15840
USE_GCC= any
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= glib20 libxml2 ltverhack ltasneededhack
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --disable-tests \
--disable-examples \
--disable-failing-tests \
--disable-gtk-doc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= ac_cv_func_register_printf_function="no" \
FLEX_PATH="${LOCALBASE}/bin/flex"
PLIST_SUB= VERSION="${GST_VERSION}"
USE_LDCONFIG= yes
GST_VERSION= 0.10
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
OPTIONS_DEFINE= LIBCHECK
LIBCHECK_DESC= Unit tests support
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MLIBCHECK}
LIB_DEPENDS+= check:${PORTSDIR}/devel/libcheck
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 <bsd.port.post.mk>