freebsd-ports/multimedia/gstreamer1/Makefile
Steve Wills b4bab1c271 devel/glib20: remove runtime dep on perl5
Since glib-mkenums was rewritten in python in glib 2.53.5, glib20 seems
to no longer need perl5 at runtime. This makes perl5 a build dep only.

Removing the run dep causes some other ports to fail, so add the build
dep to those where needed.

PR:		233138
Approved by:	gnome (kwm, maintainer, older version of patch)
Exp-run by:	antoine
2018-11-19 15:57:08 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= gstreamer
PORTVERSION= 1.14.4
CATEGORIES= multimedia
MASTER_SITES= GNOME \
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+= -Wno-format
USES= bison gettext gmake gnome libtool pathfix perl5 pkgconfig python tar:xz
USE_PERL5= build
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.1404.0
USE_LDCONFIG= yes
GST10_VERSION= 1.0
.include <bsd.port.options.mk>
.if ${ARCH} == i386 || ${ARCH} == amd64
LIB_DEPENDS+= libunwind.so:devel/libunwind
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
.include <bsd.port.mk>