Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
This package contains the MPEG Software Simulation Group's implementation
of an ISO/IEC DIS 13818-2 codec. It converts uncompressed video frames
into MPEG-1 and MPEG-2 video coded bitstream sequences, and vice versa.

View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.23 2012/10/23 10:24:07 wiz Exp $
DISTNAME= mpeg2vidcodec_v12
PKGNAME= mpeg2codec-1.2
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.mpeg.org/pub/mpeg/mssg/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mpeg.org/MSSG/
COMMENT= MPEG Software Simulation Group's MPEG-2 Encoder and Decoder
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/mpeg2
USE_X11BASE= yes
INSTALLATION_DIRS= bin
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
do-install:
${INSTALL_PROGRAM} \
${WRKSRC}/src/mpeg2dec/mpeg2decode \
${WRKSRC}/src/mpeg2enc/mpeg2encode \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mpeg2codec
${INSTALL_DATA} ${WRKSRC}/doc/mpeg2enc.doc \
${DESTDIR}${PREFIX}/share/doc/mpeg2codec
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mpeg2codec
${INSTALL_DATA} ${WRKSRC}/par/* ${DESTDIR}${PREFIX}/share/mpeg2codec
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:59:23 joerg Exp $
bin/mpeg2decode
bin/mpeg2encode
share/doc/mpeg2codec/mpeg2enc.doc
share/mpeg2codec/MPEG-1.par
share/mpeg2codec/NTSC.par
share/mpeg2codec/PAL.par
share/mpeg2codec/inter.mat
share/mpeg2codec/intra.mat

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.6 2005/02/24 08:45:10 agc Exp $
SHA1 (mpeg2vidcodec_v12.tar.gz) = 2ba56c46f3a70213e4f09417ad5340ef2b1e312e
RMD160 (mpeg2vidcodec_v12.tar.gz) = 32fbd8edc485e7d03ab84b8328ff40a74a2b3002
Size (mpeg2vidcodec_v12.tar.gz) = 259790 bytes
SHA1 (patch-aa) = 0c1be867300e99fb62e90d782a29f71d07bded21

View File

@@ -0,0 +1,50 @@
$NetBSD: patch-aa,v 1.8 2005/01/24 20:34:11 tv Exp $
--- Makefile.orig 1996-07-19 19:35:46.000000000 -0400
+++ Makefile
@@ -30,31 +30,37 @@
# uncomment the following two lines if you want to include X11 support
# (mpeg2decode)
-#USE_DISP = -DDISPLAY
-#LIBS = -lX11
+USE_DISP = -DDISPLAY
+LIBS = -lX11
+
+OPSYS!= uname -s
# uncomment the following two lines if you want to use shared memory
# (faster display if server and client run on the same machine)
# (mpeg2decode)
-#USE_SHMEM = -DSH_MEM
-#LIBS = -lXext -lX11
+.if ${OPSYS} != "Interix"
+USE_SHMEM = -DSH_MEM
+LIBS = -lXext -lX11
+.endif
+
+.if ${OPSYS} == "SunOS"
+LIBS+= -lsocket -lnsl
+.endif
# if your X11 include files / libraries are in a non standard location:
# set INCLUDEDIR to -I followed by the appropriate include file path and
# set LIBRARYDIR to -L followed by the appropriate library path
# (mpeg2decode)
-#INCLUDEDIR = -I/usr/openwin/include
-#LIBRARYDIR = -L/usr/openwin/lib
+INCLUDEDIR = -I${X11BASE}/include
+LIBRARYDIR = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
# select one of the following CC CFLAGS settings
#
# GNU gcc
#
-CC = gcc
-CFLAGS = -O2
all: mpeg2decode mpeg2encode