ports/126336: [NEW PORT] multimedia/flvtool++: Tool for hinting and manipulating the metadata of FLV files
Gea-Suan Lin
gslin at gslin.org
Thu Aug 7 14:10:01 UTC 2008
>Number: 126336
>Category: ports
>Synopsis: [NEW PORT] multimedia/flvtool++: Tool for hinting and manipulating the metadata of FLV files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 07 14:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD ccreader.NCTU.edu.tw 6.3-STABLE FreeBSD 6.3-STABLE #4: Sat May 17 02:23:23 CST 2008
>Description:
flvtool++ is a tool for hinting and manipulating the metadata of FLV
files. It was originally created for Facebook's Video project
(http://facebook.com/video/) for fast video hinting. It is loosely
based on the Ruby FLVTool2, but is written in C++ for performance
reasons.
WWW: http://mirror.facebook.com/facebook/flvtool++/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- flvtool++-1.1.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# flvtool++
# flvtool++/pkg-descr
# flvtool++/Makefile
# flvtool++/distinfo
# flvtool++/files
# flvtool++/files/patch-SConscript
# flvtool++/files/patch-common.h
# flvtool++/files/patch-AMFData.h
#
echo c - flvtool++
mkdir -p flvtool++ > /dev/null 2>&1
echo x - flvtool++/pkg-descr
sed 's/^X//' >flvtool++/pkg-descr << 'END-of-flvtool++/pkg-descr'
Xflvtool++ is a tool for hinting and manipulating the metadata of FLV
Xfiles. It was originally created for Facebook's Video project
X(http://facebook.com/video/) for fast video hinting. It is loosely
Xbased on the Ruby FLVTool2, but is written in C++ for performance
Xreasons.
X
XWWW: http://mirror.facebook.com/facebook/flvtool++/
END-of-flvtool++/pkg-descr
echo x - flvtool++/Makefile
sed 's/^X//' >flvtool++/Makefile << 'END-of-flvtool++/Makefile'
X# New ports collection makefile for: flvtool++
X# Date created: 2008-08-07
X# Whom: Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= flvtool++
XPORTVERSION= 1.1
XCATEGORIES= multimedia
XMASTER_SITES= http://mirror.facebook.com/facebook/flvtool++/
X
XMAINTAINER= gslin at gslin.org
XCOMMENT= Tool for hinting and manipulating the metadata of FLV files
X
XBUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
XLIB_DEPENDS= boost_iostreams:${PORTSDIR}/devel/boost
X
XCFLAGS+= -I${LOCALBASE}/include/boost
XNO_WRKSUBDIR= yes
XPLIST_FILES= bin/flvtool++
XUSE_SCONS= yes
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/flvtool++ ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-flvtool++/Makefile
echo x - flvtool++/distinfo
sed 's/^X//' >flvtool++/distinfo << 'END-of-flvtool++/distinfo'
XMD5 (flvtool++-1.1.tar.gz) = 817e94b46270dd09ae1e88289c38fb7d
XSHA256 (flvtool++-1.1.tar.gz) = 12729726d870edc3c2130837a12a51249f928a6c2bbf11c8d8d5bc7a003d0f90
XSIZE (flvtool++-1.1.tar.gz) = 11071
END-of-flvtool++/distinfo
echo c - flvtool++/files
mkdir -p flvtool++/files > /dev/null 2>&1
echo x - flvtool++/files/patch-SConscript
sed 's/^X//' >flvtool++/files/patch-SConscript << 'END-of-flvtool++/files/patch-SConscript'
X--- SConscript.orig 2008-08-07 21:54:59.000000000 +0800
X+++ SConscript 2008-08-07 21:55:10.000000000 +0800
X@@ -4,6 +4,6 @@
X source = ['flvtool++.cpp',
X 'AMFData.cpp'],
X CPPPATH= ['.',
X- '/usr/local/include/boost-1_33_1'])
X+ '/usr/local/include'])
X
X Return('flvtoolxx')
END-of-flvtool++/files/patch-SConscript
echo x - flvtool++/files/patch-common.h
sed 's/^X//' >flvtool++/files/patch-common.h << 'END-of-flvtool++/files/patch-common.h'
X--- common.h.orig 2008-08-07 21:56:41.000000000 +0800
X+++ common.h 2008-08-07 21:58:29.000000000 +0800
X@@ -19,6 +19,10 @@
X #include <boost/shared_ptr.hpp>
X #include <stdexcept>
X
X+#include <sys/endian.h>
X+
X+#define bswap_64 bswap64
X+
X using std::map;
X using std::vector;
X using std::string;
END-of-flvtool++/files/patch-common.h
echo x - flvtool++/files/patch-AMFData.h
sed 's/^X//' >flvtool++/files/patch-AMFData.h << 'END-of-flvtool++/files/patch-AMFData.h'
X--- AMFData.h.orig 2008-08-07 21:59:28.000000000 +0800
X+++ AMFData.h 2008-08-07 21:59:34.000000000 +0800
X@@ -8,7 +8,6 @@
X #pragma once
X
X #include "common.h"
X-#include <byteswap.h>
X #include <float.h>
X #include <math.h>
X #include <netinet/in.h>
END-of-flvtool++/files/patch-AMFData.h
exit
--- flvtool++-1.1.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list