diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libmatroska/DESCR | 16 | ||||
-rw-r--r-- | multimedia/libmatroska/Makefile | 21 | ||||
-rw-r--r-- | multimedia/libmatroska/PLIST | 32 | ||||
-rw-r--r-- | multimedia/libmatroska/buildlink3.mk | 25 | ||||
-rw-r--r-- | multimedia/libmatroska/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libmatroska/patches/patch-aa | 31 | ||||
-rw-r--r-- | multimedia/libmatroska/patches/patch-ab | 15 |
7 files changed, 146 insertions, 0 deletions
diff --git a/multimedia/libmatroska/DESCR b/multimedia/libmatroska/DESCR new file mode 100644 index 00000000000..311c345fdce --- /dev/null +++ b/multimedia/libmatroska/DESCR @@ -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 --git a/multimedia/libmatroska/Makefile b/multimedia/libmatroska/Makefile new file mode 100644 index 00000000000..95cc53d65c6 --- /dev/null +++ b/multimedia/libmatroska/Makefile @@ -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 +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 --git a/multimedia/libmatroska/PLIST b/multimedia/libmatroska/PLIST new file mode 100644 index 00000000000..9291b0fa054 --- /dev/null +++ b/multimedia/libmatroska/PLIST @@ -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 --git a/multimedia/libmatroska/buildlink3.mk b/multimedia/libmatroska/buildlink3.mk new file mode 100644 index 00000000000..71558e4ca02 --- /dev/null +++ b/multimedia/libmatroska/buildlink3.mk @@ -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 --git a/multimedia/libmatroska/distinfo b/multimedia/libmatroska/distinfo new file mode 100644 index 00000000000..63a61c83009 --- /dev/null +++ b/multimedia/libmatroska/distinfo @@ -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 --git a/multimedia/libmatroska/patches/patch-aa b/multimedia/libmatroska/patches/patch-aa new file mode 100644 index 00000000000..75c70084fd6 --- /dev/null +++ b/multimedia/libmatroska/patches/patch-aa @@ -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 --git a/multimedia/libmatroska/patches/patch-ab b/multimedia/libmatroska/patches/patch-ab new file mode 100644 index 00000000000..023ea18c220 --- /dev/null +++ b/multimedia/libmatroska/patches/patch-ab @@ -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 + + |