blob: ce6044c9f4849ebec3c5eb93364496ba09a34555 (
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
|
# ex:ts=8
# Ports collection makefile for: swfdec
# Date created: Apr 5, 2003
# Whom: ijliao
#
# $FreeBSD$
# $MCom: ports/graphics/swfdec/Makefile,v 1.25 2008/09/11 01:13:27 marcus Exp $
PORTNAME= swfdec
PORTVERSION= 0.8.2
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.8/
MAINTAINER= alexbl@FreeBSD.org
COMMENT= Flash Rendering Library
LIB_DEPENDS= oil-0.3.0:${PORTSDIR}/devel/liboil \
soup-2.4.1:${PORTSDIR}/devel/libsoup
USE_LDCONFIG= yes
USE_GNOME= gnomehack gtk20 ltverhack
USE_GSTREAMER= core good mp3 ffmpeg
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION:R}
OPTIONS= PULSEAUDIO "Enable the PulseAudio sound module" off
.include <bsd.port.pre.mk>
.if defined(WITH_PULSEAUDIO)
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+= --with-audio=pulse
.else
CONFIGURE_ARGS+= --with-audio=oss
.endif
post-extract:
@${CP} ${FILESDIR}/swfdec_playback_oss.c \
${WRKSRC}/swfdec-gtk
post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>
|