aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 21:36:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-24 21:36:23 +0000
commitacbe3ce54a411ccb77e6ffb20cfb19664b5afc20 (patch)
tree77e21b01e8211ce0682184ec44f6497aae77ee06 /multimedia
parent9509aa0621400dcda14536114d206a1f2db81d87 (diff)
downloadports-acbe3ce54a411ccb77e6ffb20cfb19664b5afc20.tar.gz
ports-acbe3ce54a411ccb77e6ffb20cfb19664b5afc20.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/flv2mpeg4/Makefile42
-rw-r--r--multimedia/flv2mpeg4/distinfo3
-rw-r--r--multimedia/flv2mpeg4/files/Makefile.bsd13
-rw-r--r--multimedia/flv2mpeg4/pkg-descr4
5 files changed, 63 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 77214d250d42..bac708bee723 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -37,6 +37,7 @@
SUBDIR += etoile-multimediakit
SUBDIR += exportvideo
SUBDIR += ffmpeg
+ SUBDIR += flv2mpeg4
SUBDIR += freevo
SUBDIR += fxtv
SUBDIR += gaupol
diff --git a/multimedia/flv2mpeg4/Makefile b/multimedia/flv2mpeg4/Makefile
new file mode 100644
index 000000000000..58d72e49efd1
--- /dev/null
+++ b/multimedia/flv2mpeg4/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: flv2mpeg4
+# Date created: 22 August 2007
+# Whom: spam@rm-rf.kiev.ua
+#
+# $FreeBSD$
+#
+
+PORTNAME= flv2mpeg4
+DISTVERSION= 20061129
+CATEGORIES= multimedia
+MASTER_SITES= http://src4.narod.ru/
+
+MAINTAINER= spam@rm-rf.kiev.ua
+COMMENT= Fast and less lossy FLV to MPEG4(AVI/MOV/MP4/MP3/3GP) converter
+
+LIB_DEPENDS= avformat:${PORTSDIR}/multimedia/ffmpeg
+
+USE_BZIP2= yes
+
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+
+PLIST_FILES= bin/flv2mpeg4
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+
+SVNROOT= https://vixynet.svn.sourceforge.net/svnroot/vixynet
+
+gen-dist:
+ @if [ ! -f ${LOCALBASE}/bin/svn ]; then \
+ ${ECHO_CMD} "ERROR: You need to install devel/subversion for gen-dist target"; \
+ ${FALSE}; \
+ fi
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${MKDIR} ${WRKDIR}/svn; \
+ cd ${WRKDIR}/svn && svn co ${SVNROOT} vixynet; \
+ cd ${WRKDIR}/svn/vixynet/trunk && \
+ ${TAR} cfj ${_DISTDIR}${DISTFILES} flv2mpeg4; \
+ cd ${WRKDIR} && ${RM} -rf svn; \
+ cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/multimedia/flv2mpeg4/distinfo b/multimedia/flv2mpeg4/distinfo
new file mode 100644
index 000000000000..fd40ec609b8e
--- /dev/null
+++ b/multimedia/flv2mpeg4/distinfo
@@ -0,0 +1,3 @@
+MD5 (flv2mpeg4-20061129.tar.bz2) = f757e1b0b2aa17db9551df32df39b1d9
+SHA256 (flv2mpeg4-20061129.tar.bz2) = 84dee9767969b5166f1f72dc7e48370d621b048eb6f99250a4334354e16d1303
+SIZE (flv2mpeg4-20061129.tar.bz2) = 154190
diff --git a/multimedia/flv2mpeg4/files/Makefile.bsd b/multimedia/flv2mpeg4/files/Makefile.bsd
new file mode 100644
index 000000000000..6581f50587b5
--- /dev/null
+++ b/multimedia/flv2mpeg4/files/Makefile.bsd
@@ -0,0 +1,13 @@
+PREFIX?= /usr/local
+BINDIR?= $(PREFIX)/bin
+
+SRCS= avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c\
+ m4vencode.c mp3header.c
+LDADD+= -lpthread -lavformat -lavcodec -lavutil
+CFLAGS+= -O2
+CFLAGS+= -I/usr/local/include/ffmpeg
+LDADD+= -L/usr/local/lib
+PROG= flv2mpeg4
+NO_MAN= yes
+
+.include <bsd.prog.mk>
diff --git a/multimedia/flv2mpeg4/pkg-descr b/multimedia/flv2mpeg4/pkg-descr
new file mode 100644
index 000000000000..34be363b46d1
--- /dev/null
+++ b/multimedia/flv2mpeg4/pkg-descr
@@ -0,0 +1,4 @@
+flv2mpeg4 allows you convert a Flash Video / FLV file (YouTube's videos,etc)
+to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain
+transcoder technology (outline in Japanese). It converts FLV to MPEG4 faster
+and less lossy than a typical transcoder.