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
+4
View File
@@ -0,0 +1,4 @@
Replex was created to remultiplex transport stream (TS) data taken from
a DVB source. The result is supposed to be a program stream (PS) that
can be used to burn a DVD (with dvdauthor). Replex can also remultiplex
other PSs and AVIs with MPEG2 content.
+16
View File
@@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.5 2012/10/08 09:21:12 asau Exp $
#
DISTNAME= replex-0.1.6.8
CATEGORIES= multimedia
MASTER_SITES= http://www.metzlerbros.org/dvb/
MAINTAINER= mlelstv@NetBSD.org
HOMEPAGE= http://www.metzlerbros.org/dvb/
COMMENT= Remultiplexes transport streams from a DVB source
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin share/doc
.include "../../mk/bsd.pkg.mk"
+3
View File
@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:08:10 joerg Exp $
bin/replex
share/doc/replex/README
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2009/02/18 08:00:37 mlelstv Exp $
SHA1 (replex-0.1.6.8.tar.gz) = 594a5195d65059f26203ac25ad2f332d3c34c1ae
RMD160 (replex-0.1.6.8.tar.gz) = 9b29af523b82e008981169497956e5a590d5c268
Size (replex-0.1.6.8.tar.gz) = 49587 bytes
SHA1 (patch-aa) = b6b5a9052b9de50b52f3a38a70e3b9010f4a2524
SHA1 (patch-ab) = c397040e37d5ef420210b3ed5b9f5e20a5f19e2e
+49
View File
@@ -0,0 +1,49 @@
$NetBSD: patch-aa,v 1.3 2009/02/18 08:00:37 mlelstv Exp $
--- Makefile.orig 2007-06-19 11:30:08.000000000 +0200
+++ Makefile
@@ -1,17 +1,17 @@
VERSION = 0.1.6.8
DISTNAME = replex-$(VERSION)
TARNAME = $(DISTNAME).tar.gz
-INCS = -I..
-CFLAGS = -g -m32 -Wall -O6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION=\"$(VERSION)\"
-LDFLAGS = -m32
-LIBS = -L.
+INCS =
+CFLAGS = -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION=\"$(VERSION)\"
+LIBS =
MFLAG = -M
OBJS = element.o pes.o mpg_common.o ts.o ringbuffer.o avi.o multiplex.o
SRC = avi.c element.c mpg_common.c pes.c replex.c ringbuffer.c ts.c multiplex.c
HEADERS = element.h pes.h mpg_common.h ts.h ringbuffer.h avi.h replex.h multiplex.h
EXTRA = COPYING README TODO CHANGES
-DESTDIR = /usr/local
+#DESTDIR =
+#PREFIX = /usr/local
.PHONY: depend clean install uninstall
@@ -38,14 +38,15 @@ dist: $(SRC) $(HEADERS) Makefile
%.o: %.c %.h
$(CC) -c $(CFLAGS) $(INCS) $(DEFINES) $<
-install: libreplex.a replex
- install -m 644 libreplex.a $(DESTDIR)/lib/
- install -m 755 replex $(DESTDIR)/bin/
+install: README replex
+ $(BSD_INSTALL_PROGRAM) replex $(DESTDIR)$(PREFIX)/bin/
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(PREFIX)/share/doc/replex/
+ $(BSD_INSTALL_DATA) README $(DESTDIR)$(PREFIX)/share/doc/replex/
uninstall:
- rm -f $(DESTDIR)/lib/libreplex.a
- rm -f $(DESTDIR)/bin/replex
-
+ rm -f $(DESTDIR)$(PREFIX)/share/doc/replex/README
+ rmdir $(DESTDIR)$(PREFIX)/share/doc/replex
+ rm -f $(DESTDIR)$(PREFIX)/bin/replex
.depend:
$(CC) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.2 2007/05/17 10:07:02 mlelstv Exp $
--- replex.c.orig 2007-02-26 08:46:54.000000000 +0100
+++ replex.c
@@ -41,6 +41,10 @@
#include "replex.h"
#include "pes.h"
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 0
+#endif
+
static int replex_all_set(struct replex *rx);
void overflow_exit(struct replex *rx)