summaryrefslogtreecommitdiff
path: root/multimedia/mplayerxp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayerxp')
-rw-r--r--multimedia/mplayerxp/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/mplayerxp/Makefile b/multimedia/mplayerxp/Makefile
index 4a8daeac4d3c..1d41d0ef1bed 100644
--- a/multimedia/mplayerxp/Makefile
+++ b/multimedia/mplayerxp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://ftp.mplayerhq.hu/MPlayer/releases/ \
http://www.mplayerhq.hu/MPlayer/releases/ \
@@ -79,6 +79,10 @@ WITH_XANIM= yes
WITH_REALPLAYER= yes
.endif
+.if exists(${LOCALBASE}/live/liveMedia/libliveMedia.a)
+WITH_LIVEMEDIA= yes
+.endif
+
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
.endif
@@ -123,6 +127,13 @@ RUN_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer
BUILD_DEPENDS+= realplay:${PORTSDIR}/audio/linux-realplayer
.endif
+.if defined(WITH_LIVEMEDIA)
+CONFIGURE_ARGS+= --enable-live \
+ --with-livelibdir=${LOCALBASE}/live
+RUN_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+BUILD_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+ .endif
+
.if defined(WITH_XANIM)
BUILD_DEPENDS+= xanim:${PORTSDIR}/graphics/xanim