freebsd-ports/multimedia/gstreamer-plugins-all/Makefile
Koop Mast 44d0dc12bb Stagify Gstreamer ports.
Fix build of gstreamer and gstreamer1 with glib 2.38.x [1].
Update gstreamer and gstreamer-plugins to new rules, USES=gmake pathfix,
new LIB_DEPENDS syntax.
Only pull in flex if base version is too old.
Be more selective for which OSVERSIONS we need gcc due to the clang bug.

Obtained from:	Gstreamer upstream [1]
2013-11-01 22:14:07 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer-plugins-all/Makefile,v 1.8 2006/01/25 18:54:32 ahze Exp $
PORTNAME= gstreamer-plugins-all
PORTVERSION= 1.3.${GST_VERSION}.${GST_SHLIB_VERSION}
PORTREVISION= 14
CATEGORIES= multimedia
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Meta-port of all gstreamer plugins with options
.MAKE.FreeBSD_UL= yes
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
USE_GSTREAMER= yes
.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk"
.for all in ${_GSTREAMER_PLUGINS}
OPTIONS_DEFINE+= ${all:U}
${all:U}_DESC= ${all} plugin
OPTIONS_DEFAULT+= ${all:U}
.endfor
.include <bsd.port.pre.mk>
# Weed out gst-plugins that can not be packaged. or are broken.
.if defined(PACKAGE_BUILDING)
PORT_OPTIONS:= ${PORT_OPTIONS:NFAAC} # Mp4 Dolby license , no package
PORT_OPTIONS:= ${PORT_OPTIONS:NLAME} # MP3 License , no package
PORT_OPTIONS:= ${PORT_OPTIONS:NPEG2ENC} # Broken
PORT_OPTIONS:= ${PORT_OPTIONS:NVDPAU} # Needs to be build agains running kernel
.endif
.if ${ARCH} != "i386"
PORT_OPTIONS:= ${PORT_OPTIONS:NSPC} # i386 only
.endif
.for f in ${OPTIONS_DEFINE}
.if ${PORT_OPTIONS:M${f:U}}
USE_GSTREAMER+= ${f:L}
.endif
.endfor
.include <bsd.port.post.mk>