Changeset View
Changeset View
Standalone View
Standalone View
multimedia/gstreamer1-plugins-all/Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org> | # Created by: Michael Johnson <ahze@FreeBSD.org> | ||||
PORTNAME= gstreamer1-plugins-all | PORTNAME= gstreamer1-plugins-all | ||||
PORTVERSION= 1.16 | PORTVERSION= 1.16 | ||||
PORTREVISION= 1 | PORTREVISION= 1 | ||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MAINTAINER= multimedia@FreeBSD.org | MAINTAINER= multimedia@FreeBSD.org | ||||
COMMENT= Meta-port of all GStreamer 1.x plugins with options | COMMENT= Meta-port of all GStreamer 1.x plugins with options | ||||
USES= metaport | USES= metaport | ||||
USE_GSTREAMER1= yes | |||||
.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk" | |||||
ALL_PLUGINS:= ${_GSTREAMER_PLUGINS} | ALL_PLUGINS:= ${_GSTREAMER_PLUGINS} | ||||
# Weed out gst-plugins that can not be packaged. or are broken. | # Weed out gst-plugins that can not be packaged. or are broken. | ||||
.if defined(PACKAGE_BUILDING) | .if defined(PACKAGE_BUILDING) | ||||
# FAAC: Mp4 Dolby license , no package | # FAAC: Mp4 Dolby license , no package | ||||
# LAME: MP3 License , no package | # LAME: MP3 License , no package | ||||
# VDPAU: Needs to be build agains running kernel | # VDPAU: Needs to be build agains running kernel | ||||
DEF_PLUGINS:= ${_GSTREAMER_PLUGINS:Nfaac:Nlame:Nvdpau} | DEF_PLUGINS:= ${_GSTREAMER_PLUGINS:Nfaac:Nlame:Nvdpau} | ||||
.else | .else | ||||
DEF_PLUGINS:= ${_GSTREAMER_PLUGINS} | DEF_PLUGINS:= ${_GSTREAMER_PLUGINS} | ||||
.endif | .endif | ||||
.for all in ${ALL_PLUGINS} | .for all in ${ALL_PLUGINS} | ||||
${all:tu}_DESC= ${all} plugin | ${all:tu}_DESC= ${all} plugin | ||||
${all:tu}_USE= GSTREAMER1=${all} | ${all:tu}_USE= GSTREAMER=${all} | ||||
.endfor | .endfor | ||||
# Pull out i386-only plugins, add back conditionally | # Pull out i386-only plugins, add back conditionally | ||||
ALL_PLUGINS:= ${ALL_PLUGINS:Nspc} | ALL_PLUGINS:= ${ALL_PLUGINS:Nspc} | ||||
DEF_PLUGINS:= ${DEF_PLUGINS:Nspc} | DEF_PLUGINS:= ${DEF_PLUGINS:Nspc} | ||||
OPTIONS_DEFINE= ${ALL_PLUGINS:tu} | OPTIONS_DEFINE= ${ALL_PLUGINS:tu} | ||||
OPTIONS_DEFAULT= ${DEF_PLUGINS:tu} | OPTIONS_DEFAULT= ${DEF_PLUGINS:tu} | ||||
OPTIONS_DEFINE_i386= SPC | OPTIONS_DEFINE_i386= SPC | ||||
OPTIONS_DEFAULT_i386= SPC | OPTIONS_DEFAULT_i386= SPC | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |