2003-04-06 09:45:30 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: swfdec
|
|
|
|
# Date created: Apr 5, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= swfdec
|
2007-08-06 16:18:31 +02:00
|
|
|
PORTVERSION= 0.5.1
|
2003-04-06 09:45:30 +02:00
|
|
|
CATEGORIES= graphics
|
2007-07-14 17:33:18 +02:00
|
|
|
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.5/
|
2003-04-06 09:45:30 +02:00
|
|
|
|
2007-08-06 16:18:31 +02:00
|
|
|
MAINTAINER= alexbl@FreeBSD.org
|
2003-04-06 09:45:30 +02:00
|
|
|
COMMENT= Flash Rendering Library
|
|
|
|
|
2004-12-15 19:50:49 +01:00
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
|
2007-05-25 22:05:10 +02:00
|
|
|
avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
2007-08-06 16:18:31 +02:00
|
|
|
oil-0.3.1:${PORTSDIR}/devel/liboil \
|
|
|
|
soup-2.2.8:${PORTSDIR}/devel/libsoup
|
2003-04-06 09:45:30 +02:00
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_XLIB= yes
|
2007-08-06 16:18:31 +02:00
|
|
|
USE_GNOME= gnomehack gtk20
|
2003-05-19 02:14:18 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2007-08-06 21:04:52 +02:00
|
|
|
USE_AUTOTOOLS= libtool:15:env automake:19:env autoconf:261
|
2003-04-06 09:45:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-14 17:33:18 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-05-25 20:15:33 +02:00
|
|
|
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
|
2007-08-06 16:18:31 +02:00
|
|
|
CONFIGURE_ARGS= --with-audio=oss
|
2007-08-06 21:04:52 +02:00
|
|
|
USE_LDCONFIG= yes
|
2003-04-06 09:45:30 +02:00
|
|
|
|
2007-08-06 16:18:31 +02:00
|
|
|
OPTIONS= GSTREAMER "Support for decoding some codecs with GStreamer" off
|
|
|
|
|
2004-12-15 19:50:49 +01:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION:R}
|
2004-03-13 11:04:53 +01:00
|
|
|
|
2007-08-06 16:18:31 +02:00
|
|
|
.if defined(WITH_GSTREAMER)
|
|
|
|
USE_GSTREAMER= yes
|
|
|
|
.else
|
2007-08-06 21:04:52 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gstreamer
|
2007-08-06 16:18:31 +02:00
|
|
|
.endif
|
|
|
|
|
2007-08-06 21:04:52 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|SWFDEC_LIBVERSION="0:0:0"|SWFDEC_LIBVERSION="1:0:0"|' ${WRKSRC}/configure.ac
|
2004-12-15 19:50:49 +01:00
|
|
|
.include <bsd.port.mk>
|