aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer1-plugins-all/Makefile
blob: f9e4991e94ad4c0dd07561842fa242b41f92dfda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gstreamer1-plugins-all
PORTVERSION=    ${GST1_VERSION}
PORTREVISION=   4
CATEGORIES= multimedia

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    Meta-port of all GStreamer 1.x plugins with options

USES=       metaport
USE_GSTREAMER1= yes

.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk"

ALL_PLUGINS:=   ${_GSTREAMER_PLUGINS}
# Weed out gst-plugins that can not be packaged. or are broken.
.if defined(PACKAGE_BUILDING)
# FAAC:    Mp4 Dolby license , no package
# LAME:    MP3 License , no package
# VDPAU:   Needs to be build agains running kernel
DEF_PLUGINS:=   ${_GSTREAMER_PLUGINS:Nfaac:Nlame:Nvdpau}
.else
DEF_PLUGINS:=   ${_GSTREAMER_PLUGINS}
.endif

.for all in ${ALL_PLUGINS}
${all:tu}_DESC= ${all} plugin
${all:tu}_USE=  GSTREAMER1=${all}
.endfor

# Pull out i386-only plugins, add back conditionally
ALL_PLUGINS:=   ${ALL_PLUGINS:Nspc}
DEF_PLUGINS:=   ${DEF_PLUGINS:Nspc}

OPTIONS_DEFINE= ${ALL_PLUGINS:tu}
OPTIONS_DEFAULT=    ${DEF_PLUGINS:tu}

OPTIONS_DEFINE_i386=    SPC
OPTIONS_DEFAULT_i386=   SPC

.include <bsd.port.mk>