diff --git a/audio/Makefile b/audio/Makefile index 79436219103f..d343132dfe2f 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -174,6 +174,7 @@ SUBDIR += quelcom SUBDIR += radio SUBDIR += raproxy + SUBDIR += rebler SUBDIR += replay SUBDIR += rio SUBDIR += rio500 diff --git a/audio/rebler/Makefile b/audio/rebler/Makefile new file mode 100644 index 000000000000..cc0439e31570 --- /dev/null +++ b/audio/rebler/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# New ports collection makefile for: rebler +# Date created: Nov 3, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= rebler +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= mpeg2:${PORTSDIR}/graphics/libmpeg2 \ + aviplay:${PORTSDIR}/graphics/avifile \ + popt:${PORTSDIR}/devel/popt + +USE_BZIP2= yes +AVIFILE_CONFIG?= ${LOCALBASE}/bin/avifile-config +CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \ + `${AVIFILE_CONFIG} --cflags` +LIBS+= -L${LOCALBASE}/lib -lm -lmpeg2 ${PTHREAD_LIBS} \ + `${AVIFILE_CONFIG} --libs` -lpopt + +do-build: + @(cd ${WRKSRC} ; \ + ${CXX} ${CXXFLAGS} rebler.cpp -o rebler ${LIBS}) + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/rebler ${PREFIX}/bin + +.include diff --git a/audio/rebler/distinfo b/audio/rebler/distinfo new file mode 100644 index 000000000000..27bd44a5c389 --- /dev/null +++ b/audio/rebler/distinfo @@ -0,0 +1 @@ +MD5 (rebler-1.0.tar.bz2) = a68de698cc4aa8a04951116287bbd899 diff --git a/audio/rebler/files/patch-rebler.cpp b/audio/rebler/files/patch-rebler.cpp new file mode 100644 index 000000000000..bd529f8c7549 --- /dev/null +++ b/audio/rebler/files/patch-rebler.cpp @@ -0,0 +1,43 @@ +--- rebler.cpp.orig Mon Aug 6 21:59:36 2001 ++++ rebler.cpp Wed Mar 6 12:03:42 2002 +@@ -29,6 +29,7 @@ + ******************************************************************************/ + + ++#include + #include + #include + #include +@@ -281,8 +282,8 @@ + void dumpCodec( const CodecInfo* ci ) + { + cerr << "-------------------------------------------" << endl; +- cerr << "Name : " << ci->text << endl; +- cerr << "About : " << ci->about << endl; ++ cerr << "Name : " << ci->GetName() << endl; ++ cerr << "About : " << ci->GetAbout() << endl; + cerr << "Win32DLL : " << ci->dll << endl; + // cerr << "GUID : " << ci->guid << endl; + cerr << "module name: " << ci->modulename << endl; +@@ -325,8 +326,8 @@ + iter != ci->encoder_info.end(); + iter++) + { +- cerr << " " << "name : " << iter->name << endl; +- cerr << " " << "about : " << iter->about << endl; ++ cerr << " " << "name : " << iter->GetName() << endl; ++ cerr << " " << "about : " << iter->GetAbout() << endl; + cerr << " " << "kind : "; + switch(iter->kind) + { +@@ -338,8 +339,8 @@ + { + cerr << "Select from: "; + for( std::vector::const_iterator i = +- iter->options.begin(); +- i != iter->options.end(); ++ (std::vector::const_iterator)iter->options.begin(); ++ i != (std::vector::const_iterator)iter->options.end(); + i++ ) + { + cerr << *i << " "; diff --git a/audio/rebler/pkg-comment b/audio/rebler/pkg-comment new file mode 100644 index 000000000000..671dccb86747 --- /dev/null +++ b/audio/rebler/pkg-comment @@ -0,0 +1 @@ +A program to convert mpeg2 and ac3 into DivX with ac3 audio diff --git a/audio/rebler/pkg-descr b/audio/rebler/pkg-descr new file mode 100644 index 000000000000..3bae2c9d4062 --- /dev/null +++ b/audio/rebler/pkg-descr @@ -0,0 +1,18 @@ +A program to convert mpeg2 and ac3 into DivX with ac3 audio multiplexed +into it. + +rebler is mainly intended for people to digitize their home handy cam videos +and preserve them online. For example tapes of weddings and other times that +one might wish to watch over and over. Though there may be other uses for +rebler than this. + +Some examples of usage: + +./rebler --input-ac3=music.ac3 --output-avi=snakes.avi \ +--output-fourcc=DIV3