diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-01-04 10:24:47 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-01-04 10:24:47 +0000 |
commit | 3a67e3750531ac61ce9e0a678dc0f061f82dab6e (patch) | |
tree | d6cb6335ff25176dcaf0416a82b1f564788b7603 /multimedia/vamps | |
parent | b6e4f5c348effb4ad9637f14690e10d1075d4550 (diff) | |
download | ports-3a67e3750531ac61ce9e0a678dc0f061f82dab6e.tar.gz ports-3a67e3750531ac61ce9e0a678dc0f061f82dab6e.zip |
Notes
Diffstat (limited to 'multimedia/vamps')
-rw-r--r-- | multimedia/vamps/Makefile | 41 | ||||
-rw-r--r-- | multimedia/vamps/distinfo | 3 | ||||
-rw-r--r-- | multimedia/vamps/files/patch-play_cell__Makefile | 21 | ||||
-rw-r--r-- | multimedia/vamps/files/patch-vamps__Makefile | 21 | ||||
-rw-r--r-- | multimedia/vamps/pkg-descr | 24 |
5 files changed, 110 insertions, 0 deletions
diff --git a/multimedia/vamps/Makefile b/multimedia/vamps/Makefile new file mode 100644 index 000000000000..2d0aa5d58c85 --- /dev/null +++ b/multimedia/vamps/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: vamps +# Date created: Fri Dec 16 04:38:13 UTC 2005 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= vamps +PORTVERSION= 0.98 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITE_SUBDIR= vamps + +MAINTAINER= lioux@FreeBSD.org +COMMENT= High performance tool to transcode DVD videos to a smaller size + +LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread + +CONFLICTS= lxdvdrip-{{0.,1.[0-3],1.4[0-7]}* + +USE_GMAKE= yes +MAKE_ENV= LDFLAGS="${LDFLAGS}" + +CFLAGS+= -DHAVE_BUILTIN_EXPECT \ + -I${LOCALBASE}/include \ + ${PTHREAD_CFLAGS} +LDFLAGS+= -L${LOCALBASE}/lib \ + ${PTHREAD_LIBS} + +PROGRAM_FILES= \ + play_cell/play_cell \ + vamps/vamps + +PLIST_FILES= ${PROGRAM_FILES:H:S,^,bin/,} + +do-install: +.for program in ${PROGRAM_FILES} + @${INSTALL_PROGRAM} ${WRKSRC}/${program} ${PREFIX}/bin/${program:H} +.endfor + +.include <bsd.port.mk> diff --git a/multimedia/vamps/distinfo b/multimedia/vamps/distinfo new file mode 100644 index 000000000000..ac9d3dba0412 --- /dev/null +++ b/multimedia/vamps/distinfo @@ -0,0 +1,3 @@ +MD5 (vamps-0.98.tar.gz) = 70f63e007a9cd314548efee2d48f1c85 +SHA256 (vamps-0.98.tar.gz) = f840d99a2d05989f18d989df05a2578aabb5ae8846b9ca6fa7d51a128d94a917 +SIZE (vamps-0.98.tar.gz) = 43590 diff --git a/multimedia/vamps/files/patch-play_cell__Makefile b/multimedia/vamps/files/patch-play_cell__Makefile new file mode 100644 index 000000000000..44f454757134 --- /dev/null +++ b/multimedia/vamps/files/patch-play_cell__Makefile @@ -0,0 +1,21 @@ +--- play_cell/Makefile.orig Wed Nov 16 18:20:08 2005 ++++ play_cell/Makefile Fri Dec 16 02:52:11 2005 +@@ -12,8 +12,6 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +-CC = gcc +-CFLAGS = -pipe -O2 -fomit-frame-pointer -Wall + STATIC = + #STATIC = -static + STRIP = strip +@@ -24,8 +22,7 @@ + all: play_cell + + play_cell: play_cell.o +- $(CC) -o $@ $(STATIC) play_cell.o -ldvdread +- $(STRIP) $@ ++ $(CC) $(LDFLAGS) -o $@ play_cell.o -ldvdread + + install: all + $(INSTALL) -m 755 play_cell $(PREFIX)/bin diff --git a/multimedia/vamps/files/patch-vamps__Makefile b/multimedia/vamps/files/patch-vamps__Makefile new file mode 100644 index 000000000000..da8a87d8250b --- /dev/null +++ b/multimedia/vamps/files/patch-vamps__Makefile @@ -0,0 +1,21 @@ +--- vamps/Makefile.orig Wed Nov 16 18:20:08 2005 ++++ vamps/Makefile Fri Dec 16 02:52:02 2005 +@@ -12,9 +12,6 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +-CC = gcc +-CFLAGS = -pipe -Wall -O3 -fomit-frame-pointer -funroll-loops \ +- -DHAVE_BUILTIN_EXPECT + STATIC = + #STATIC = -static + STRIP = strip +@@ -25,7 +22,7 @@ + all: vamps + + vamps: vamps.o requant.o +- $(CC) -o $@ $(STATIC) vamps.o requant.o -lm -lpthread ++ $(CC) $(LDFLAGS) -o $@ vamps.o requant.o -lm + $(STRIP) $@ + + requant.o: requant.h putvlc.h getvlc.h qTable.h diff --git a/multimedia/vamps/pkg-descr b/multimedia/vamps/pkg-descr new file mode 100644 index 000000000000..23d630274b52 --- /dev/null +++ b/multimedia/vamps/pkg-descr @@ -0,0 +1,24 @@ +[ excerpt from developer's www site with modifications ] + +The idea was to use the high performance Metakine M2Requantiser to +create a transcoder for Linux for shrinking the content of a DVD9. +This would enable backups on cheap single layer DVDRs (double layer +burners weren't even available that time). + +Vamps builds a wrapper around the requantizer to extract the +elementary MPEG2 video stream from the DVD's program stream, feed +it through the requantizer and finally re-pack it into the program +stream again. Besides this, Vamps allows the selection of both audio +and subtitle streams that should be copied into the output stream. +This gives another small gain of disk space, since unwanted streams +may be discarded. + +Summed up, Vamps is only a very basic, but nevertheless essential +tool to transcode DVD videos to a smaller size. Vamps does not need +to write temporary data files, which is a major pro. Vamps is very +fast. The downside is, that Vamps is not capable of making DVD +backups on its own. + +WWW: http://vamps.sourceforge.net/ + +-- lioux@FreeBSD.org |