summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmpeg3/files/1.5.2-gentoo-p1.patch')
-rw-r--r--media-libs/libmpeg3/files/1.5.2-gentoo-p1.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libmpeg3/files/1.5.2-gentoo-p1.patch b/media-libs/libmpeg3/files/1.5.2-gentoo-p1.patch
new file mode 100644
index 000000000000..5a9013c6361e
--- /dev/null
+++ b/media-libs/libmpeg3/files/1.5.2-gentoo-p1.patch
@@ -0,0 +1,53 @@
+diff -urN libmpeg3.orig/Makefile libmpeg3/Makefile
+--- libmpeg3.orig/Makefile Wed Dec 26 07:40:52 2001
++++ libmpeg3/Makefile Mon Apr 15 13:54:22 2002
+@@ -105,6 +105,30 @@
+ $(OBJDIR)/video/vlc.o \
+ $(OBJDIR)/workarounds.o
+
++INSTALL_HEADERS = \
++ bitstream.h \
++ libmpeg3.h \
++ mpeg3atrack.h \
++ mpeg3css.h \
++ mpeg3demux.h \
++ mpeg3io.h \
++ mpeg3private.h \
++ mpeg3private.inc \
++ mpeg3protos.h \
++ mpeg3title.h \
++ mpeg3vtrack.h \
++ timecode.h \
++
++INSTALL_AHEADERS = \
++ audio/ac3.h \
++ audio/mpeg3audio.h \
++
++INSTALL_VHEADERS = \
++ video/idct.h \
++ video/slice.h \
++ video/mpeg3video.h
++
++
+ OUTPUT = $(OBJDIR)/libmpeg3.a
+ SHAREDOUTPUT = $(OBJDIR)/libmpeg3.so
+ UTILS = $(OBJDIR)/mpeg3dump $(OBJDIR)/mpeg3cat $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3split
+@@ -148,7 +171,17 @@
+ util: $(UTILS)
+
+ install:
+- cp $(UTILS) /usr/bin
++ install -d $(DESTDIR)/bin
++ install -d $(DESTDIR)/include/libmpeg3
++ install -d $(DESTDIR)/include/libmpeg3/audio
++ install -d $(DESTDIR)/include/libmpeg3/video
++ install -d $(DESTDIR)/lib
++ install $(UTILS) $(DESTDIR)/bin
++ install -m 644 $(INSTALL_HEADERS) $(DESTDIR)/include/libmpeg3
++ install -m 644 $(INSTALL_AHEADERS) $(DESTDIR)/include/libmpeg3/audio
++ install -m 644 $(INSTALL_VHEADERS) $(DESTDIR)/include/libmpeg3/video
++ install -m 644 $(OUTPUT) $(DESTDIR)/lib
++ install -m 644 $(SHAREDOUTPUT) $(DESTDIR)/lib
+
+ clean:
+ rm -rf $(OBJDIR)