blob: 6712086366eb93d92d5dbe16b62046ab3aad91b3 (
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
|
# ex:ts=8
# Ports collection makefile for: swfdec
# Date created: Apr 5, 2003
# Whom: ijliao
#
# $FreeBSD$
# $MCom: ports/graphics/swfdec/Makefile,v 1.13 2008/02/11 21:38:55 marcus Exp $
PORTNAME= swfdec
PORTVERSION= 0.6.0
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.6/
MAINTAINER= alexbl@FreeBSD.org
COMMENT= Flash Rendering Library
LIB_DEPENDS= oil-0.3.1:${PORTSDIR}/devel/liboil \
soup-2.4.1:${PORTSDIR}/devel/libsoup
USE_XLIB= yes
USE_GNOME= gnomehack gtk20
USE_GETOPT_LONG= yes
USE_AUTOTOOLS= libtool:15:env automake:19:env autoconf:261
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-audio=oss
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
OPTIONS= GSTREAMER "Support for decoding some codecs with GStreamer" off
PLIST_SUB= VERSION=${PORTVERSION:R}
.if defined(WITH_GSTREAMER)
USE_GSTREAMER= yes
.else
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
mad.2:${PORTSDIR}/audio/libmad
CONFIGURE_ARGS+= --disable-gstreamer --enable-ffmpeg --enable-mad
.endif
post-patch:
@${REINPLACE_CMD} -e 's|SWFDEC_LIBVERSION="0:0:0"|SWFDEC_LIBVERSION="1:0:0"|' ${WRKSRC}/configure.ac
.include <bsd.port.mk>
|