Add support RTP/RTSP protocol with liveMedia,

Reviewed by:	Thomas E. Zander <riggs@rrr.de> (maintainer)
This commit is contained in:
Norikatsu Shigemura 2002-10-16 15:55:26 +00:00
parent c8181e4c1a
commit d1d202e468
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68150
3 changed files with 36 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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