pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libmatroska Initial import of libmatroska-0...
details: https://anonhg.NetBSD.org/pkgsrc/rev/128bf367075e
branches: trunk
changeset: 472262:128bf367075e
user: salo <salo%pkgsrc.org@localhost>
date: Wed Apr 07 12:52:16 2004 +0000
description:
Initial import of libmatroska-0.6.3: Extensible open standard Audio/Video
container format library.
Matroska aims to become THE Standard of Multimedia Container Formats.
It was derived from a project called MCF, but differentiates from it
significantly. It is based on EBML (Extensible Binary Meta Language),
a binary derivative of XML.
Matroska is designed with the future in mind. It incorporates features
you would expect from a modern container format, like:
- Streamable over internet (HTTP and RTP)
- Fast seeking in the file
- High error recovery
- Menus (like DVDs have)
- Chapter entries
- Selectable subtitle streams
- Selectable audio streams
- Modularly extendable
>From pkgsrc-wip, submitted by Sergey Svishchev.
diffstat:
multimedia/libmatroska/DESCR | 16 ++++++++++++++++
multimedia/libmatroska/Makefile | 21 +++++++++++++++++++++
multimedia/libmatroska/PLIST | 32 ++++++++++++++++++++++++++++++++
multimedia/libmatroska/buildlink3.mk | 25 +++++++++++++++++++++++++
multimedia/libmatroska/distinfo | 6 ++++++
multimedia/libmatroska/patches/patch-aa | 31 +++++++++++++++++++++++++++++++
multimedia/libmatroska/patches/patch-ab | 15 +++++++++++++++
7 files changed, 146 insertions(+), 0 deletions(-)
diffs (174 lines):
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/DESCR Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,16 @@
+Matroska aims to become THE Standard of Multimedia Container Formats.
+It was derived from a project called MCF, but differentiates from it
+significantly. It is based on EBML (Extensible Binary Meta Language),
+a binary derivative of XML.
+
+Matroska is designed with the future in mind. It incorporates features
+you would expect from a modern container format, like:
+
+- Streamable over internet (HTTP and RTP)
+- Fast seeking in the file
+- High error recovery
+- Menus (like DVDs have)
+- Chapter entries
+- Selectable subtitle streams
+- Selectable audio streams
+- Modularly extendable
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/Makefile Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+#
+
+DISTNAME= libmatroska-0.6.3
+CATEGORIES= multimedia devel
+MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://www.matroska.org/
+COMMENT= Extensible open standard Audio/Video container format
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+NO_CONFIGURE= yes
+MAKEFLAGS+= prefix="${PREFIX}"
+BUILD_DIRS= ${WRKDIR}/${DISTNAME}/make/linux
+
+.include "../../devel/libebml/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/PLIST Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+include/matroska/FileKax.h
+include/matroska/KaxAttached.h
+include/matroska/KaxAttachments.h
+include/matroska/KaxBlock.h
+include/matroska/KaxBlockData.h
+include/matroska/KaxChapters.h
+include/matroska/KaxCluster.h
+include/matroska/KaxClusterData.h
+include/matroska/KaxConfig.h
+include/matroska/KaxContentEncoding.h
+include/matroska/KaxContexts.h
+include/matroska/KaxCues.h
+include/matroska/KaxCuesData.h
+include/matroska/KaxInfo.h
+include/matroska/KaxInfoData.h
+include/matroska/KaxSeekHead.h
+include/matroska/KaxSegment.h
+include/matroska/KaxTag.h
+include/matroska/KaxTagMulti.h
+include/matroska/KaxTags.h
+include/matroska/KaxTrackAudio.h
+include/matroska/KaxTrackEntryData.h
+include/matroska/KaxTrackVideo.h
+include/matroska/KaxTracks.h
+include/matroska/KaxTypes.h
+include/matroska/KaxVersion.h
+include/matroska/c/libmatroska.h
+include/matroska/c/libmatroska_t.h
+lib/libmatroska.a
+@dirrm include/matroska/c
+@dirrm include/matroska
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/buildlink3.mk Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+#
+# This Makefile fragment is included by packages that use libmatroska.
+#
+
+BUILDLINK_DEPMETHOD.libmatroska?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMATROSKA_BUILDLINK3_MK:= ${LIBMATROSKA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmatroska
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmatroska}
+BUILDLINK_PACKAGES+= libmatroska
+
+.if !empty(LIBMATROSKA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmatroska+= libmatroska>=0.6.3
+BUILDLINK_PKGSRCDIR.libmatroska?= ../../multimedia/libmatroska
+.endif # LIBMATROSKA_BUILDLINK3_MK
+
+.include "../../devel/libebml/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/distinfo Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+
+SHA1 (libmatroska-0.6.3.tar.gz) = d5d372e01bff2bc5e43a26d8d872fdbb34cf7cbe
+Size (libmatroska-0.6.3.tar.gz) = 98446 bytes
+SHA1 (patch-aa) = 1b39f10c5d50091d7875d5e60c3e9b09d187a7a1
+SHA1 (patch-ab) = 41178badc83063d898939ac6a334bf6af73d0f42
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/patches/patch-aa Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+
+--- test/mux/test8.cpp.orig 2004-01-17 19:33:21.000000000 +0300
++++ test/mux/test8.cpp
+@@ -276,7 +276,7 @@ int main(int argc, char **argv)
+ } else if (EbmlId(*ElementLevel2) == KaxMuxingApp::ClassInfos.GlobalId) {
+ KaxMuxingApp *pApp = static_cast<KaxMuxingApp*>(ElementLevel2);
+ pApp->ReadData(aStream.I_O());
+-#if !defined(__CYGWIN__) && !defined(__APPLE__)
++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__)
+ wprintf(L"Muxing App : %ls\n", UTFstring(*pApp).c_str());
+ #else
+ printf("Muxing App : %s\n", UTFstring(*pApp).c_str());
+@@ -284,7 +284,7 @@ int main(int argc, char **argv)
+ } else if (EbmlId(*ElementLevel2) == KaxWritingApp::ClassInfos.GlobalId) {
+ KaxWritingApp *pApp = static_cast<KaxWritingApp*>(ElementLevel2);
+ pApp->ReadData(aStream.I_O());
+-#if !defined(__CYGWIN__) && !defined(__APPLE__)
++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__)
+ wprintf(L"Writing App : %ls (éàôï)\n", UTFstring(*pApp).c_str());
+ #else
+ printf("Writing App : %s (éàôï)\n", UTFstring(*pApp).c_str());
+@@ -603,7 +603,7 @@ int main(int argc, char **argv)
+ unsigned int Index4;
+ for (Index4 = 0; Index4<aDisplay.ListSize() ;Index4++) {
+ if (aDisplay[Index4]->Generic().GlobalId == KaxChapterString::ClassInfos.GlobalId) {
+-#if !defined(__CYGWIN__) && !defined(__APPLE__)
++#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__)
+ wprintf(L" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString
*>(aDisplay[Index4])).c_str() );
+ #else
+ printf(" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString
*>(aDisplay[Index4])).c_str() );
diff -r c7ce9edcf477 -r 128bf367075e multimedia/libmatroska/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmatroska/patches/patch-ab Wed Apr 07 12:52:16 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $
+
+MPlayer depends on this.
+
+--- matroska/KaxConfig.h.orig 2004-01-18 00:40:47.000000000 +0300
++++ matroska/KaxConfig.h
+@@ -78,7 +78,7 @@
+ #endif
+
+ #if !defined(MATROSKA_VERSION)
+-#define MATROSKA_VERSION 1
++#define MATROSKA_VERSION 2
+ #endif // MATROSKA_VERSION
+
+
Home |
Main Index |
Thread Index |
Old Index