aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile18
-rw-r--r--multimedia/mplayer/distinfo2
2 files changed, 17 insertions, 3 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 275b4dc0d82a..a7a154b1b0fc 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -95,6 +95,9 @@
# WITH_LIBDVDNAV
# default: autodetect
#
+# WITH_LIBUNGIF
+# default: autodetect
+#
# WITH_ARTS
# default: autodetect
#
@@ -167,7 +170,7 @@
PORTNAME= mplayer
PORTVERSION= 0.92.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia audio ipv6
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
@@ -182,7 +185,7 @@ MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
DISTNAME= MPlayer-0.92
PATCH_SITES= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/kame/misc/&,}
-PATCHFILES= mplayer-0.9.1-v6-20030825.diff.gz
+PATCHFILES= mplayer-0.9.2-v6-20030930.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= riggs@rrr.de
@@ -250,6 +253,10 @@ WITH_DVD= yes
WITH_LIBDVDNAV= yes
.endif
+.if exists(${LOCALBASE}/lib/libungif.so.5)
+WITH_LIBUNGIF= yes
+.endif
+
.if exists(${LOCALBASE}/lib/libmad.so.1)
WITH_MAD= yes
.endif
@@ -376,6 +383,13 @@ CONFIGURE_ARGS+= --enable-css \
CONFIGURE_ARGS+= --disable-css
.endif
+.if defined(WITH_LIBUNGIF)
+LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
+CONFIGURE_ARGS+= --enable-gif
+.else
+CONFIGURE_ARGS+= --disable-gif
+.endif
+
.if defined(WITH_LIBDV)
LIB_DEPENDS+= dv.3:${PORTSDIR}/multimedia/libdv
diff --git a/multimedia/mplayer/distinfo b/multimedia/mplayer/distinfo
index 79b541fe3e21..ccbeaaf0a51e 100644
--- a/multimedia/mplayer/distinfo
+++ b/multimedia/mplayer/distinfo
@@ -1,2 +1,2 @@
MD5 (MPlayer-0.92.tar.bz2) = c4e003fc6c6f82c1cae96a95eb9b2d28
-MD5 (mplayer-0.9.1-v6-20030825.diff.gz) = b99f40b5e1ee9fd467246e0c627794eb
+MD5 (mplayer-0.9.2-v6-20030930.diff.gz) = 1984f929672e38efb589c0f5fc61b37e