Subject: pkg/24017: new package: graphics/libmatroska
To: None <gnats-bugs@gnats.netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: netbsd-bugs
Date: 01/07/2004 23:50:45
>Number:         24017
>Category:       pkg
>Synopsis:       new package: graphics/libmatroska
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 22:51:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rhialto
>Release:        NetBSD 1.6
>Organization:
>Environment:
System: NetBSD azenomei.falu.nl 1.6 NetBSD 1.6 (AZENOMEI) #4: Fri Oct 3 00:48:25 CEST 2003 root@azenomei.falu.nl:/usr/src/sys/arch/alpha/compile/AZENOMEI alpha
Architecture: alpha
Machine: alpha
>Description:
	Matroska and libebml have been tested in MPlayer and appear to work.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	graphics/libmatroska
#	graphics/libmatroska/DESCR
#	graphics/libmatroska/Makefile
#	graphics/libmatroska/PLIST
#	graphics/libmatroska/buildlink2.mk
#	graphics/libmatroska/distinfo
#
echo c - graphics/libmatroska
mkdir -p graphics/libmatroska > /dev/null 2>&1
echo x - graphics/libmatroska/DESCR
sed 's/^X//' >graphics/libmatroska/DESCR << 'END-of-graphics/libmatroska/DESCR'
XMatroska aims to become THE Standard of Multimedia Container Formats. It
Xwas derived from a project called MCF, but differentiates from it
Xsignificantly because it is based on EBML (Extensible Binary Meta
XLanguage), a binary derivative of XML.
X
X- It is NOT a video compression format
X- It cannot be used to compress music or pictures like MP3 or JPEG, as
X  it is not a codec.
X- It is an envelope for which there can be many audio, video and
X  subtitles streams, allowing the user to store a complete movie in one
X  single file.  This ensures that the audio and video can be played in
X  most Media players.
X					
XMatroska is designed with the future in mind. It incorporates features
Xyou would expect from a modern container format.
X
END-of-graphics/libmatroska/DESCR
echo x - graphics/libmatroska/Makefile
sed 's/^X//' >graphics/libmatroska/Makefile << 'END-of-graphics/libmatroska/Makefile'
X# $NetBSD$
X#
X
XDISTNAME=	libmatroska-0.6.2
XCATEGORIES=	graphics
XMASTER_SITES=	http://matroska.free.fr/downloads/libmatroska/
X
XMAINTAINER=	
XHOMEPAGE=	http://matroska.sourceforge.net/
XCOMMENT=	file format
X
XUSE_BUILDLINK2=		YES
XUSE_GMAKE=		YES
X
X# XXX How do I make it use .buildlink/bin/c++ ?
Xdo-build:
X	cd ${WRKSRC}/make/linux && ${GMAKE} "LIBEBML_INCLUDE_DIR=${LOCALBASE}/include" "LIBEBML_LIB_DIR=${LOCALBASE}/lib" library
X
Xdo-install:
X	cd ${WRKSRC}/make/linux && ${GMAKE} "prefix=${LOCALBASE}" "INSTALL=${INSTALL} -c" install
X
X.include "../../mk/bsd.prefs.mk"
X.include "../../devel/libebml/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-graphics/libmatroska/Makefile
echo x - graphics/libmatroska/PLIST
sed 's/^X//' >graphics/libmatroska/PLIST << 'END-of-graphics/libmatroska/PLIST'
X@comment $NetBSD$
Xlib/libmatroska.a
Xinclude/matroska/FileKax.h
Xinclude/matroska/KaxAttached.h
Xinclude/matroska/KaxAttachments.h
Xinclude/matroska/KaxBlock.h
Xinclude/matroska/KaxBlockData.h
Xinclude/matroska/KaxChapters.h
Xinclude/matroska/KaxCluster.h
Xinclude/matroska/KaxClusterData.h
Xinclude/matroska/KaxConfig.h
Xinclude/matroska/KaxContentEncoding.h
Xinclude/matroska/KaxContexts.h
Xinclude/matroska/KaxCues.h
Xinclude/matroska/KaxCuesData.h
Xinclude/matroska/KaxInfo.h
Xinclude/matroska/KaxInfoData.h
Xinclude/matroska/KaxSeekHead.h
Xinclude/matroska/KaxSegment.h
Xinclude/matroska/KaxTag.h
Xinclude/matroska/KaxTagMulti.h
Xinclude/matroska/KaxTags.h
Xinclude/matroska/KaxTracks.h
Xinclude/matroska/KaxTrackAudio.h
Xinclude/matroska/KaxTrackEntryData.h
Xinclude/matroska/KaxTrackVideo.h
Xinclude/matroska/KaxTypes.h
Xinclude/matroska/KaxVersion.h
Xinclude/matroska/c/libmatroska.h
Xinclude/matroska/c/libmatroska_t.h
END-of-graphics/libmatroska/PLIST
echo x - graphics/libmatroska/buildlink2.mk
sed 's/^X//' >graphics/libmatroska/buildlink2.mk << 'END-of-graphics/libmatroska/buildlink2.mk'
X# $NetBSD$
X
X.if !defined(LIBMATROSKA_BUILDLINK2_MK)
XLIBMATROSKA_BUILDLINK2_MK=	# defined
X
XBUILDLINK_PACKAGES+=			libmatroska
XBUILDLINK_DEPENDS.libmatroska?=		libmatroska>=0.6.2
XBUILDLINK_PKGSRCDIR.libmatroska?=	../../graphics/libmatroska
X
XEVAL_PREFIX+=	BUILDLINK_PREFIX.libmatroska=libmatroska
XBUILDLINK_PREFIX.libmatroska_DEFAULT=	${LOCALBASE}
XBUILDLINK_FILES.libmatroska+=	include/matroska/*.h
XBUILDLINK_FILES.libmatroska+=	include/matroska/c/*.h
XBUILDLINK_FILES.libmatroska+=	lib/libmatroska.*
X
XBUILDLINK_TARGETS+=	libmatroska-buildlink
X
Xlibmatroska-buildlink: _BUILDLINK_USE
X
X.endif	# LIBMATROSKA_BUILDLINK2_MK
END-of-graphics/libmatroska/buildlink2.mk
echo x - graphics/libmatroska/distinfo
sed 's/^X//' >graphics/libmatroska/distinfo << 'END-of-graphics/libmatroska/distinfo'
X$NetBSD$
X
XSHA1 (libmatroska-0.6.2.tar.gz) = adc9f33aefb082fab2bc55c91ad89dd160cde767
XSize (libmatroska-0.6.2.tar.gz) = 97070 bytes
END-of-graphics/libmatroska/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted: