summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-12-09 15:37:29 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-12-09 15:37:29 +0000
commitf617349ad3d71b6d8708e8e13bffa802cb7a49ef (patch)
tree9d93998688da5909ee959b74503128c8154257ac /multimedia
parentAh, I think I now understand INSTALL scripts w/pkg_add (diff)
upgrade to v 1.2
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>, with minor mods by me
Notes
Notes: svn path=/head/; revision=4910
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg2codec/Makefile15
-rw-r--r--multimedia/mpeg2codec/distinfo2
-rw-r--r--multimedia/mpeg2codec/files/patch-aa18
-rw-r--r--multimedia/mpeg2codec/files/patch-ab10
-rw-r--r--multimedia/mpeg2codec/pkg-plist6
5 files changed, 32 insertions, 19 deletions
diff --git a/multimedia/mpeg2codec/Makefile b/multimedia/mpeg2codec/Makefile
index 99c6415367c4..bc2edfe3a727 100644
--- a/multimedia/mpeg2codec/Makefile
+++ b/multimedia/mpeg2codec/Makefile
@@ -1,15 +1,15 @@
# New ports collection makefile for: mpeg2codec
-# Version required: 1.1a
-# Date created: June 21, 1996
+# Version required: 1.2
+# Date created: November 25, 1996
# Whom: "Philippe Charnier" <charnier@lirmm.fr>
#
-# $Id: Makefile,v 1.1.1.1 1996/07/10 05:32:53 asami Exp $
+# $Id: Makefile,v 1.2 1996/11/18 11:28:25 asami Exp $
#
-DISTNAME= mpeg2codec-1.1a
+DISTNAME= mpeg2codec-1.2
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.netcom.com/pub/cf/cfogg/mpeg2/
-DISTFILES= mpeg2codec_v1.1a.tar.gz
+MASTER_SITES= ftp://ftp.mpeg.org/pub/mpeg/mssg/
+DISTFILES= mpeg2vidcodec_v12.tar.gz
MAINTAINER= charnier@lirmm.fr
@@ -21,5 +21,8 @@ do-install:
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin
.endfor
+ ${MKDIR} -p ${PREFIX}/share/mpeg2
+ ${CP} ${WRKSRC}/doc/mpeg2enc.doc ${PREFIX}/share/mpeg2
+ ${CP} ${WRKSRC}/par/* ${PREFIX}/share/mpeg2
.include <bsd.port.mk>
diff --git a/multimedia/mpeg2codec/distinfo b/multimedia/mpeg2codec/distinfo
index ec5a9a5c220a..158edc394e9e 100644
--- a/multimedia/mpeg2codec/distinfo
+++ b/multimedia/mpeg2codec/distinfo
@@ -1 +1 @@
-MD5 (mpeg2codec_v1.1a.tar.gz) = 83eda281bac437f52e38977d4df065b6
+MD5 (mpeg2vidcodec_v12.tar.gz) = 4a66565979be0818bd8a41d948943451
diff --git a/multimedia/mpeg2codec/files/patch-aa b/multimedia/mpeg2codec/files/patch-aa
index 44805e70d67d..cc0c7428c543 100644
--- a/multimedia/mpeg2codec/files/patch-aa
+++ b/multimedia/mpeg2codec/files/patch-aa
@@ -1,13 +1,12 @@
---- Makefile 1996/06/18 18:44:04 1.1
-+++ Makefile 1996/06/18 19:46:05
-@@ -30,23 +30,23 @@
+--- Makefile 1996/11/25 19:40:19 1.1
++++ Makefile 1996/11/25 21:33:39
+@@ -30,31 +30,31 @@
# uncomment the following two lines if you want to include X11 support
# (mpeg2decode)
-#USE_DISP = -DDISPLAY
--#LIBS = -lX11
+USE_DISP = -DDISPLAY
-+LIBS = -lX11
+ #LIBS = -lX11
# uncomment the following two lines if you want to use shared memory
# (faster display if server and client run on the same machine)
@@ -30,12 +29,13 @@
# select one of the following CC CFLAGS settings
-@@ -54,7 +54,7 @@
+ #
# GNU gcc
#
- CC = gcc
+-CC = gcc
-CFLAGS = -O2
++CC = cc
+CFLAGS = -O2 -m486
- #
- # SPARCworks acc
+ all: mpeg2decode mpeg2encode
+
diff --git a/multimedia/mpeg2codec/files/patch-ab b/multimedia/mpeg2codec/files/patch-ab
index 326acaa4bc00..b0f6df0ce9fb 100644
--- a/multimedia/mpeg2codec/files/patch-ab
+++ b/multimedia/mpeg2codec/files/patch-ab
@@ -1,5 +1,5 @@
---- src/mpeg2enc/mpeg2enc.c 1996/06/20 19:58:58 1.1
-+++ src/mpeg2enc/mpeg2enc.c 1996/06/20 19:36:25
+--- ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:18:23 1.1
++++ ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:22:40
@@ -29,6 +29,7 @@
#include <stdio.h>
@@ -8,11 +8,15 @@
#define GLOBAL /* used by global.h */
#include "config.h"
-@@ -50,6 +51,8 @@
+@@ -50,6 +51,12 @@
printf("Usage: mpeg2encode in.par out.m2v\n");
exit(0);
}
+
++ /*
++ * this prevents a floating point exception in calcSNR (stats.c) when
++ * working on black and white images (charnier@lirmm.fr)
++ */
+ fpsetmask(0);
/* read parameter file */
diff --git a/multimedia/mpeg2codec/pkg-plist b/multimedia/mpeg2codec/pkg-plist
index 99ac6f408657..70783cd4e3fc 100644
--- a/multimedia/mpeg2codec/pkg-plist
+++ b/multimedia/mpeg2codec/pkg-plist
@@ -1,2 +1,8 @@
bin/mpeg2encode
bin/mpeg2decode
+share/mpeg2/mpeg2enc.doc
+share/mpeg2/MPEG-1.par
+share/mpeg2/NTSC.par
+share/mpeg2/PAL.par
+share/mpeg2/inter.mat
+share/mpeg2/intra.mat