freebsd-ports/multimedia/gstreamer1/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= gstreamer
PORTVERSION= 1.8.0
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
USE_GNOME= glib20 introspection:build
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.800.0
USE_LDCONFIG= yes
GST10_VERSION= 1.0
OPTIONS_SUB= yes
OPTIONS_DEFINE= LIBCHECK
LIBCHECK_DESC= Unit tests support
LIBCHECK_CONFIGURE_ENABLE= check
LIBCHECK_LIB_DEPENDS= libcheck.so:devel/libcheck
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000033
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
.include <bsd.port.mk>