summaryrefslogtreecommitdiffstats
path: root/graphics/swfdec/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-29 09:43:06 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-29 09:43:06 +0800
commit78a4db8e7e172cf86b9151a9cdceb9ab199c4157 (patch)
tree4a2058e0835c130d6fde489d4cb10151290a7b0e /graphics/swfdec/Makefile
parentba809a4ce1ee5d8c53fcec6f157ac92e9f6554d7 (diff)
downloadmarcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar.gz
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar.bz2
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar.lz
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar.xz
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.tar.zst
marcuscom-ports-78a4db8e7e172cf86b9151a9cdceb9ab199c4157.zip
Switch libsoup dependency to libsoup22.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10258 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/swfdec/Makefile')
-rw-r--r--graphics/swfdec/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile
new file mode 100644
index 000000000..57ecae89d
--- /dev/null
+++ b/graphics/swfdec/Makefile
@@ -0,0 +1,46 @@
+# ex:ts=8
+# Ports collection makefile for: swfdec
+# Date created: Apr 5, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= swfdec
+PORTVERSION= 0.5.5
+PORTREVISION= 1
+CATEGORIES= graphics
+MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.5/
+
+MAINTAINER= alexbl@FreeBSD.org
+COMMENT= Flash Rendering Library
+
+LIB_DEPENDS= oil-0.3.1:${PORTSDIR}/devel/liboil \
+ soup-2.2.8:${PORTSDIR}/devel/libsoup22
+
+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>