aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mpeg4ip
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-06-06 05:53:22 +0800
committerlioux <lioux@FreeBSD.org>2002-06-06 05:53:22 +0800
commit1d721ebe8c61889e4c21c65f73a2c60b2cf6914a (patch)
tree778578a353411a79a0fe0460c369aafce2401644 /multimedia/mpeg4ip
parentf4528a85216204d64deb241082c368cc4c077bcd (diff)
downloadfreebsd-ports-gnome-1d721ebe8c61889e4c21c65f73a2c60b2cf6914a.tar.gz
freebsd-ports-gnome-1d721ebe8c61889e4c21c65f73a2c60b2cf6914a.tar.zst
freebsd-ports-gnome-1d721ebe8c61889e4c21c65f73a2c60b2cf6914a.zip
New port mpeg4ip version 0.9.4.1: Standards-based system to encode,
stream and play MPEG-4 audio/video
Diffstat (limited to 'multimedia/mpeg4ip')
-rw-r--r--multimedia/mpeg4ip/Makefile137
-rw-r--r--multimedia/mpeg4ip/distinfo1
-rw-r--r--multimedia/mpeg4ip/pkg-comment1
-rw-r--r--multimedia/mpeg4ip/pkg-descr16
-rw-r--r--multimedia/mpeg4ip/pkg-plist88
5 files changed, 243 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
new file mode 100644
index 000000000000..6378235db926
--- /dev/null
+++ b/multimedia/mpeg4ip/Makefile
@@ -0,0 +1,137 @@
+# New ports collection makefile for: mpeg4ip
+# Date created: Wed Jun 5 21:49:46 UTC 2002
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpeg4ip
+PORTVERSION= 0.9.4.1
+CATEGORIES= graphics audio ipv6 net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= lioux@FreeBSD.org
+
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ libtool:${PORTSDIR}/devel/libtool \
+ nasm:${PORTSDIR}/devel/nasm
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
+
+USE_GTK= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --datadir=${DATADIR}
+CONFIGURE_ENV= PATH=${WRKDIR}/auto-bin:$$PATH
+CONFIGURE_SCRIPT= bootstrap
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+DOC_FILES= COPYING README doc/MPEG4IP_Guide.pdf
+
+MAN1= gmp4player.1 mp4creator.1 mp4encode.1 mp4live.1
+MAN3= MP4.3 MP4AddAudioTrack.3 MP4AddHintTrack.3 MP4AddODTrack.3 \
+ MP4AddRtpESConfigurationPacket.3 MP4AddRtpHint.3 \
+ MP4AddRtpImmediateData.3 MP4AddRtpPacket.3 MP4AddRtpSampleData.3 \
+ MP4AddRtpVideoHint.3 MP4AddSceneTrack.3 MP4AddSystemsTrack.3 \
+ MP4AddTrack.3 MP4AddVideoTrack.3 MP4AppendHintTrackSdp.3 \
+ MP4AppendSessionSdp.3 MP4BinaryToBase16.3 MP4BinaryToBase64.3 \
+ MP4Close.3 MP4ConvertFromMovieDuration.3 \
+ MP4ConvertFromTrackDuration.3 MP4ConvertFromTrackTimestamp.3 \
+ MP4ConvertToTrackDuration.3 MP4ConvertToTrackTimestamp.3 \
+ MP4Create.3 MP4DeleteTrack.3 MP4Dump.3 MP4FindTrackId.3 \
+ MP4FindTrackIndex.3 MP4GetAudioProfileLevel.3 MP4GetDuration.3 \
+ MP4GetGraphicsProfileLevel.3 MP4GetHintTrackReferenceTrackId.3 \
+ MP4GetHintTrackRtpPayload.3 MP4GetHintTrackSdp.3 \
+ MP4GetNumberOfTracks.3 MP4GetODProfileLevel.3 \
+ MP4GetRtpHintNumberOfPackets.3 MP4GetRtpPacketBFrame.3 \
+ MP4GetRtpPacketTransmitOffset.3 MP4GetRtpTimestampStart.3 \
+ MP4GetSampleDuration.3 MP4GetSampleIdFromTime.3 \
+ MP4GetSampleRenderingOffset.3 MP4GetSampleSize.3 \
+ MP4GetSampleSync.3 MP4GetSampleTime.3 MP4GetSceneProfileLevel.3 \
+ MP4GetSessionSdp.3 MP4GetTimeScale.3 MP4GetTrackAudioType.3 \
+ MP4GetTrackBitRate.3 MP4GetTrackDuration.3 \
+ MP4GetTrackESConfiguration.3 MP4GetTrackFixedSampleDuration.3 \
+ MP4GetTrackMaxSampleSize.3 MP4GetTrackNumberOfSamples.3 \
+ MP4GetTrackTimeScale.3 MP4GetTrackType.3 \
+ MP4GetTrackVideoFrameRate.3 MP4GetTrackVideoHeight.3 \
+ MP4GetTrackVideoType.3 MP4GetTrackVideoWidth.3 MP4GetVerbosity.3 \
+ MP4GetVideoProfileLevel.3 MP4MakeIsmaCompliant.3 MP4Modify.3 \
+ MP4Optimize.3 MP4Read.3 MP4ReadRtpHint.3 MP4ReadRtpPacket.3 \
+ MP4ReadSample.3 MP4SetAudioProfileLevel.3 \
+ MP4SetGraphicsProfileLevel.3 MP4SetHintTrackRtpPayload.3 \
+ MP4SetHintTrackSdp.3 MP4SetODProfileLevel.3 \
+ MP4SetRtpTimestampStart.3 MP4SetSampleRenderingOffset.3 \
+ MP4SetSceneProfileLevel.3 MP4SetSessionSdp.3 MP4SetTimeScale.3 \
+ MP4SetTrackESConfiguration.3 MP4SetTrackTimeScale.3 \
+ MP4SetVerbosity.3 MP4SetVideoProfileLevel.3 MP4WriteRtpHint.3 \
+ MP4WriteSample.3
+
+post-extract:
+.for dir in SDL
+ @${RM} -Rf ${WRKSRC}/lib/${dir}
+.endfor
+
+post-patch:
+ @${PERL} -pi -e 's|^(AC_ARG_ENABLE\(ipv6)|\1,|' \
+ ${CONFIGURE_WRKSRC}/configure.in
+ @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} -n 10 ${PERL} -pi -e \
+ 's|stdint\.h|inttypes.h|;s|malloc\.h|stdlib.h|'
+# replacing distfile's libs with ports' versions
+ @${PERL} -pi -e 's|SDL||' ${WRKSRC}/lib/Makefile.am
+ @${PERL} -pi -e 's|^(SDL_CFLAGS=).+|\1"`${SDL_CONFIG} --cflags`"|; \
+ s|^(SDL_LIBS=).+|\1"`${SDL_CONFIG} --libs`"|; \
+ s|\s+lib/SDL.*\n||' \
+ ${CONFIGURE_WRKSRC}/configure.in
+ @${FIND} ${WRKSRC} -type f -name "Makefile.am" | ${XARGS} -n 10 ${PERL} -pi -e \
+ 's|-I[^\s]+?lib/SDL/include|-I${LOCALBASE}/include/SDL11|; \
+ s|\$$[^\s]+/lib/SDL/src/main/libSDLmain.a|${LOCALBASE}/lib/libSDLmain-1.1.a|'
+ @${PERL} -pi -e 's!SDL_(Has|)AudioDelayMsec.*;$$!0;!' \
+ ${WRKSRC}/player/src/audio.cpp
+
+# Borrowed from kde* ports. Thanks to Will Andrews <will@FreeBSD.org>
+pre-configure:
+ @${MKDIR} ${WRKDIR}/auto-bin
+.for AC in autoconf autoheader
+ @${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKDIR}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ @${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKDIR}/auto-bin/${AM}
+.endfor
+
+post-configure:
+ @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} -n 10 ${PERL} -pi -e \
+ 's!\s(autoconf|autoheader|automake|aclocal)$$!${WRKDIR}/auto-bin/\1!'
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for files in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${files} ${DOCSDIR}/${files:C|^[^/]+/||}
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+WITHOUT_MMX= yes
+.endif
+
+.if ${OSVERSION} >= 400014 && !defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+.ifdef(WITHOUT_MMX)
+CONFIGURE_ARGS+= --disable-mmx
+.endif
+
+pre-everything::
+.ifndef(WITHOUT_IPV6)
+ @${ECHO_MSG} 'Define WITHOUT_IPV6 if you want to disable IPv6 support'
+.endif
+.ifndef(WITHOUT_MMX)
+ @${ECHO_MSG} 'Define WITHOUT_MMX if your system does not support MMX'
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/mpeg4ip/distinfo b/multimedia/mpeg4ip/distinfo
new file mode 100644
index 000000000000..51a5ad9c80f8
--- /dev/null
+++ b/multimedia/mpeg4ip/distinfo
@@ -0,0 +1 @@
+MD5 (mpeg4ip-0.9.4.1.tar.gz) = d05effbe5d304ecf6ca150b1a411dc21
diff --git a/multimedia/mpeg4ip/pkg-comment b/multimedia/mpeg4ip/pkg-comment
new file mode 100644
index 000000000000..b60030bf8ef4
--- /dev/null
+++ b/multimedia/mpeg4ip/pkg-comment
@@ -0,0 +1 @@
+Standards-based system to encode, stream and play MPEG-4 audio/video
diff --git a/multimedia/mpeg4ip/pkg-descr b/multimedia/mpeg4ip/pkg-descr
new file mode 100644
index 000000000000..dbffe73434e3
--- /dev/null
+++ b/multimedia/mpeg4ip/pkg-descr
@@ -0,0 +1,16 @@
+[ edited excerpt from developer's README ]
+
+The MPEG4IP project provides a standards-based system for encoding,
+streaming, and playing MPEG-4 encoded audio and video. To achieve
+this we've integrated a number of existing open source packages,
+and also created some original code to fill in the gaps.
+
+Please note this project is intended for developers who are interested
+in MPEG-4 audio and video, and Internet streaming. It is not intended
+for end-users. Please read all the legal information in the file
+"COPYING"!
+
+There is also a project web site at http://www.mpeg4ip.net/ that
+has some general information on MPEG4IP.
+
+WWW: http://mpeg4ip.sourceforge.net/
diff --git a/multimedia/mpeg4ip/pkg-plist b/multimedia/mpeg4ip/pkg-plist
new file mode 100644
index 000000000000..8e1330a885ba
--- /dev/null
+++ b/multimedia/mpeg4ip/pkg-plist
@@ -0,0 +1,88 @@
+bin/avi2raw
+bin/avidump
+bin/faac
+bin/gmp4player
+bin/lboxcrop
+bin/mp4creator
+bin/mp4dump
+bin/mp4encode
+bin/mp4extract
+bin/mp4info
+bin/mp4player
+bin/mp4venc
+bin/rgb2yuv
+bin/xvidenc
+bin/yuvdump
+lib/libconfig_file.a
+lib/libconfig_file.la
+lib/libfaac.a
+lib/libfaac.la
+lib/libfaac.so
+lib/libfaac.so.0
+lib/libh26lenc.a
+lib/libh26lenc.la
+lib/libh26lenc.so
+lib/libh26lenc.so.0
+lib/libhttp.a
+lib/libhttp.la
+lib/libmp4.a
+lib/libmp4.la
+lib/libmp4av.a
+lib/libmp4av.la
+lib/libmp4av.so
+lib/libmp4av.so.0
+lib/libmp4util.a
+lib/libmp4util.la
+lib/libmp4util.so
+lib/libmp4util.so.0
+lib/libmp4v2.a
+lib/libmp4v2.la
+lib/libmp4v2.so
+lib/libmp4v2.so.0
+lib/libmsg_queue.a
+lib/libmsg_queue.la
+lib/libsdp.a
+lib/libsdp.la
+lib/libuclmmbase.a
+lib/libuclmmbase.la
+lib/libuclmmbase.so
+lib/libuclmmbase.so.0
+lib/libxvid.a
+lib/libxvid.la
+lib/libxvid.so
+lib/libxvid.so.0
+lib/mp4player_plugin/aac_plugin.a
+lib/mp4player_plugin/aac_plugin.la
+lib/mp4player_plugin/aac_plugin.so
+lib/mp4player_plugin/aac_plugin.so.0
+lib/mp4player_plugin/mp3_plugin.a
+lib/mp4player_plugin/mp3_plugin.la
+lib/mp4player_plugin/mp3_plugin.so
+lib/mp4player_plugin/mp3_plugin.so.0
+lib/mp4player_plugin/mpeg4_iso_plugin.a
+lib/mp4player_plugin/mpeg4_iso_plugin.la
+lib/mp4player_plugin/mpeg4_iso_plugin.so
+lib/mp4player_plugin/mpeg4_iso_plugin.so.0
+lib/mp4player_plugin/raw_audio_plugin.a
+lib/mp4player_plugin/raw_audio_plugin.la
+lib/mp4player_plugin/raw_audio_plugin.so
+lib/mp4player_plugin/raw_audio_plugin.so.0
+lib/mp4player_plugin/raw_video_plugin.a
+lib/mp4player_plugin/raw_video_plugin.la
+lib/mp4player_plugin/raw_video_plugin.so
+lib/mp4player_plugin/raw_video_plugin.so.0
+lib/mp4player_plugin/wav_plugin.a
+lib/mp4player_plugin/wav_plugin.la
+lib/mp4player_plugin/wav_plugin.so
+lib/mp4player_plugin/wav_plugin.so.0
+lib/mp4player_plugin/xvid_plugin.a
+lib/mp4player_plugin/xvid_plugin.la
+lib/mp4player_plugin/xvid_plugin.so
+lib/mp4player_plugin/xvid_plugin.so.0
+%%PORTDOCS%%share/doc/mpeg4ip/COPYING
+%%PORTDOCS%%share/doc/mpeg4ip/MPEG4IP_Guide.pdf
+%%PORTDOCS%%share/doc/mpeg4ip/README
+share/mpeg4ip/mp4venc_template.par
+@dirrm share/mpeg4ip
+%%PORTDOCS%%@dirrm share/doc/mpeg4ip
+@dirrm lib/mp4player_plugin