aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2007-05-26 02:15:33 +0800
committeranholt <anholt@FreeBSD.org>2007-05-26 02:15:33 +0800
commitc4b00feb5aad72df2e454571f421bca7f5c60d61 (patch)
treef0dcfce1c751a257192e8006b3cba7bf84cddacd
parent2aa5d9e330ff2e8c78000976db0cbdf81640601e (diff)
downloadfreebsd-ports-gnome-c4b00feb5aad72df2e454571f421bca7f5c60d61.tar.gz
freebsd-ports-gnome-c4b00feb5aad72df2e454571f421bca7f5c60d61.tar.zst
freebsd-ports-gnome-c4b00feb5aad72df2e454571f421bca7f5c60d61.zip
Update swfdec to 0.4.4.
Also, add dependency on ffmpeg now that our version is new enough. Most importantly, fix linking so that the mozilla plugin resolves swfdec's js calls into the local hacked spidermonkey instead of mozilla's. This greatly improves the stability of swfdec-mozilla.
-rw-r--r--graphics/swfdec/Makefile7
-rw-r--r--graphics/swfdec/distinfo6
2 files changed, 6 insertions, 7 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile
index 83870e024f03..fd9b16970273 100644
--- a/graphics/swfdec/Makefile
+++ b/graphics/swfdec/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= swfdec
-PORTVERSION= 0.4.2
-PORTREVISION= 1
+PORTVERSION= 0.4.4
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.4/
@@ -16,6 +15,7 @@ MAINTAINER= rainer.alves@gmail.com
COMMENT= Flash Rendering Library
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
+ avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel \
oil-0.3.1:${PORTSDIR}/devel/liboil
USE_XLIB= yes
@@ -25,7 +25,7 @@ USE_GSTREAMER= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-mozilla-plugin \
--with-audio=none
INSTALLS_SHLIB= yes
@@ -36,7 +36,6 @@ post-patch:
@${REINPLACE_CMD} -e "s,int16_t,__int16_t," ${WRKSRC}/libswfdec/swfdec_shape.c
@${REINPLACE_CMD} -e 's|plugin||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" \
- -e 's|libavcodec|libavcodec-nonfreebsd|g' \
${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/swfdec/distinfo b/graphics/swfdec/distinfo
index 98ba23f1c329..3afa9c8bae2a 100644
--- a/graphics/swfdec/distinfo
+++ b/graphics/swfdec/distinfo
@@ -1,3 +1,3 @@
-MD5 (swfdec-0.4.2.tar.gz) = 851b8891299b68f84dc731441188b261
-SHA256 (swfdec-0.4.2.tar.gz) = f63cc7b3fda4c236aac1c460441395550a69460202412a6bc48c2ad84e6daaa0
-SIZE (swfdec-0.4.2.tar.gz) = 1494144
+MD5 (swfdec-0.4.4.tar.gz) = 7f69ae821c6002a857d99656758e8c0b
+SHA256 (swfdec-0.4.4.tar.gz) = 7b3b85c4805db73d3ea9632fcf9d2565bdcfc37827f7c67b287eaa4f731159d7
+SIZE (swfdec-0.4.4.tar.gz) = 2014286