aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins-all80/Makefile
blob: 9b03cad64d5a66dc1c2f91bce4da5594fc45ffb2 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:    gstreamer-plugins-all
# Date created:     2004-12-12
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/multimedia/gstreamer-plugins-all80/Makefile,v 1.2 2006/01/20 14:27:43 ahze Exp $
#

PORTNAME=   gstreamer-plugins-all80
PORTVERSION=    1.1.${GST80_VERSION}.${GST80_SHLIB_VERSION}
CATEGORIES= multimedia
MASTER_SITES=   # empty
DISTFILES=  # empty
EXTRACT_ONLY=   # empty

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

NO_BUILD=   yes
USE_GSTREAMER80=    yes
OPTIONS=    # Hacky.. but it works the way it is set up...

.include <bsd.port.pre.mk>

# Weed out gst-plugins that can not be packaged. or are broken.
.if defined(PACKAGE_BUILDING)
WITHOUT_FAAC=   yes # Mp4 Dolby license , no package
WITHOUT_LAME=   yes # MP3 License , no package
.endif
WITHOUT_MPEG2ENC=yes    # Broken from updated mjpegtools
.if ${OSVERSION} < 500000
WITHOUT_LIBVISUAL=yes   # Broken on 4.x
WITHOUT_POLYPAUDIO=yes  # Broken on 4.x
.endif
# Shout & Shout2 Conflict
.if !defined(WITHOUT_SHOUT) && !defined(WITHOUT_SHOUT2)
WITHOUT_SHOUT=  yes
.endif
# Jpeg & Jpeg-mmx Conflict
.if ${ARCH}!="i386"
WITHOUT_JPEG-MMX=   yes
.else
.if !defined(WITHOUT_JPEG) && !defined(WITHOUT_JPEG-MMX)
WITHOUT_JPEG-MMX=   yes
.endif
.endif

# Remove core, yes
PLUGS=  ${_USE_GSTREAMER80_ALL:S/core//:S/yes//}

.for all in ${PLUGS}
OPTIONS+=   ${all:U} "${all} plugin " on
.endfor

.for f in ${PLUGS}
.if !defined(WITHOUT_${f:U})
USE_GSTREAMER80+=   ${f}
.endif
.endfor

do-install: # empty

.include <bsd.port.post.mk>