summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-10-16 15:55:26 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-10-16 15:55:26 +0000
commitd1d202e468f8e65610fef94ac7e2040e28bb280b (patch)
treef7f8eabe3a4c402d85eb3fef83b2fc1876ccaa47 /multimedia
parentGet this to compile with gcc 3.x on -current. Mostly consists of moving (diff)
Add support RTP/RTSP protocol with liveMedia,
Reviewed by: Thomas E. Zander <riggs@rrr.de> (maintainer)
Notes
Notes: svn path=/head/; revision=68150
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile13
-rw-r--r--multimedia/mplayerxp/Makefile13
2 files changed, 24 insertions, 2 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 4a8daeac4d3c..1d41d0ef1bed 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/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
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