diff options
author | wiz <wiz> | 2006-01-11 18:36:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-01-11 18:36:11 +0000 |
commit | a7e8c10fe1edb95f9483566bd9cd90c4541d6a60 (patch) | |
tree | b4cc44e20446d5e4760d45145b5a22a9a10f63d9 /multimedia/replex/patches | |
parent | 8c7587668c30ec59e141924355fc6a716673d113 (diff) | |
download | pkgsrc-a7e8c10fe1edb95f9483566bd9cd90c4541d6a60.tar.gz |
Initial import of replex-0.1.4, provided by Michael van Elst in PR 32380:
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.
Diffstat (limited to 'multimedia/replex/patches')
-rw-r--r-- | multimedia/replex/patches/patch-aa | 46 | ||||
-rw-r--r-- | multimedia/replex/patches/patch-ab | 15 |
2 files changed, 61 insertions, 0 deletions
diff --git a/multimedia/replex/patches/patch-aa b/multimedia/replex/patches/patch-aa new file mode 100644 index 00000000000..fcc69950ff1 --- /dev/null +++ b/multimedia/replex/patches/patch-aa @@ -0,0 +1,46 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/01/11 18:36:11 wiz Exp $ + +--- Makefile.orig 2005-03-27 21:54:24.000000000 +0200 ++++ Makefile +@@ -1,16 +1,17 @@ + VERSION = 0.1.4 + DISTNAME = replex-$(VERSION) + TARNAME = $(DISTNAME).tar.gz +-INCS = -I.. ++INCS = + CFLAGS = -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +-LIBS = -L. ++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 +@@ -37,13 +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 $(PREFIX)/bin/ ++ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/doc/replex/ ++ $(BSD_INSTALL_DATA) README $(PREFIX)/share/doc/replex/ + + uninstall: +- rm -f $(DESTDIR)/lib/libreplex.a +- rm -f $(DESTDIR)/bin/replex ++ rm -f $(PREFIX)/share/doc/replex/README ++ rmdir $(PREFIX)/share/doc/replex ++ rm -f $(PREFIX)/bin/replex + + + .depend: diff --git a/multimedia/replex/patches/patch-ab b/multimedia/replex/patches/patch-ab new file mode 100644 index 00000000000..141aef2b1ec --- /dev/null +++ b/multimedia/replex/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/01/11 18:36:11 wiz Exp $ + +--- replex.c.orig 2005-03-27 21:54:23.000000000 +0200 ++++ replex.c +@@ -39,6 +39,10 @@ + #include "replex.h" + #include "pes.h" + ++#ifndef O_LARGEFILE ++#define O_LARGEFILE 0 ++#endif ++ + static int replex_all_set(struct replex *rx); + + int replex_check_id(struct replex *rx, uint16_t id) |