Import libkate-0.4.1 as multimedia/libkate.

Kate is an overlay codec, originally designed for karaoke and text, that can be
multiplixed in Ogg. Text and images can be carried by a Kate stream, and
animated. Most of the time, this would be multiplexed with audio/video to carry
subtitles, song lyrics (with or without karaoke data), etc, but doesn't have to
be.

Series of curves (splines, segments, etc) may be attached to various properties
(text position, font size, etc) to create animated overlays. This allows
scrolling or fading text to be defined. This can even be used to draw arbitrary
shapes, so hand drawing can also be represented by a Kate stream.
This commit is contained in:
rodent 2013-05-15 00:41:42 +00:00
parent 998dde5aeb
commit 0ae3414c63
6 changed files with 331 additions and 0 deletions

10
multimedia/libkate/DESCR Normal file
View file

@ -0,0 +1,10 @@
Kate is an overlay codec, originally designed for karaoke and text, that can be
multiplixed in Ogg. Text and images can be carried by a Kate stream, and
animated. Most of the time, this would be multiplexed with audio/video to carry
subtitles, song lyrics (with or without karaoke data), etc, but doesn't have to
be.
Series of curves (splines, segments, etc) may be attached to various properties
(text position, font size, etc) to create animated overlays. This allows
scrolling or fading text to be defined. This can even be used to draw arbitrary
shapes, so hand drawing can also be represented by a Kate stream.

View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1 2013/05/15 00:41:42 rodent Exp $
#
DISTNAME= libkate-0.4.1
CATEGORIES= multimedia
MASTER_SITES= http://libkate.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wiki.xiph.org/index.php/OggKate
COMMENT= Overlay codec, originally designed for karaoke and text
LICENSE= modified-bsd
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= bison flex pkg-config
PKGCONFIG_OVERRIDE+= misc/pkgconfig/oggkate.pc.in
PKGCONFIG_OVERRIDE+= misc/pkgconfig/kate.pc.in
.include "options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

232
multimedia/libkate/PLIST Normal file
View file

@ -0,0 +1,232 @@
@comment $NetBSD: PLIST,v 1.1 2013/05/15 00:41:42 rodent Exp $
${PLIST.python}bin/KateDJ
bin/katalyzer
bin/katedec
bin/kateenc
include/kate/kate.h
include/kate/kate_config.h
include/kate/oggkate.h
lib/libkate.la
lib/liboggkate.la
lib/pkgconfig/kate.pc
lib/pkgconfig/oggkate.pc
${PLIST.python}${PYSITELIB}/kdj/__init__.py
${PLIST.python}${PYSITELIB}/kdj/__init__.pyc
${PLIST.python}${PYSITELIB}/kdj/__init__.pyo
${PLIST.python}${PYSITELIB}/kdj/constants.py
${PLIST.python}${PYSITELIB}/kdj/constants.pyc
${PLIST.python}${PYSITELIB}/kdj/constants.pyo
${PLIST.python}${PYSITELIB}/kdj/demuxer.py
${PLIST.python}${PYSITELIB}/kdj/demuxer.pyc
${PLIST.python}${PYSITELIB}/kdj/demuxer.pyo
${PLIST.python}${PYSITELIB}/kdj/finder.py
${PLIST.python}${PYSITELIB}/kdj/finder.pyc
${PLIST.python}${PYSITELIB}/kdj/finder.pyo
${PLIST.python}${PYSITELIB}/kdj/muxer.py
${PLIST.python}${PYSITELIB}/kdj/muxer.pyc
${PLIST.python}${PYSITELIB}/kdj/muxer.pyo
${PLIST.python}${PYSITELIB}/kdj/options.py
${PLIST.python}${PYSITELIB}/kdj/options.pyc
${PLIST.python}${PYSITELIB}/kdj/options.pyo
${PLIST.python}${PYSITELIB}/kdj/tester.py
${PLIST.python}${PYSITELIB}/kdj/tester.pyc
${PLIST.python}${PYSITELIB}/kdj/tester.pyo
${PLIST.python}${PYSITELIB}/kdj/tools.py
${PLIST.python}${PYSITELIB}/kdj/tools.pyc
${PLIST.python}${PYSITELIB}/kdj/tools.pyo
${PLIST.python}${PYSITELIB}/kdj/ui_editor.py
${PLIST.python}${PYSITELIB}/kdj/ui_editor.pyc
${PLIST.python}${PYSITELIB}/kdj/ui_editor.pyo
${PLIST.python}${PYSITELIB}/kdj/ui_main.py
${PLIST.python}${PYSITELIB}/kdj/ui_main.pyc
${PLIST.python}${PYSITELIB}/kdj/ui_main.pyo
${PLIST.python}${PYSITELIB}/kdj/ui_options.py
${PLIST.python}${PYSITELIB}/kdj/ui_options.pyc
${PLIST.python}${PYSITELIB}/kdj/ui_options.pyo
man/man1/KateDJ.1
man/man1/katalyzer.1
man/man1/katedec.1
man/man1/kateenc.1
share/doc/libkate/AUTHORS
share/doc/libkate/COPYING
share/doc/libkate/ChangeLog
share/doc/libkate/README
share/doc/libkate/THANKS
share/doc/libkate/html/Format.html
share/doc/libkate/html/HOWTO.html
share/doc/libkate/html/Support.html
share/doc/libkate/html/annotated.html
${PLIST.doc}share/doc/libkate/html/bc_s.png
${PLIST.doc}share/doc/libkate/html/bdwn.png
share/doc/libkate/html/categories.html
share/doc/libkate/html/classes.html
${PLIST.doc}share/doc/libkate/html/closed.png
share/doc/libkate/html/config_8h-source.html
share/doc/libkate/html/config_8h_source.html
share/doc/libkate/html/decoding_8c-example.html
${PLIST.doc}share/doc/libkate/html/dir_000000.html
${PLIST.doc}share/doc/libkate/html/dir_000001.html
${PLIST.doc}share/doc/libkate/html/dir_000002.html
share/doc/libkate/html/doxygen.css
share/doc/libkate/html/doxygen.png
${PLIST.doc}share/doc/libkate/html/dynsections.js
share/doc/libkate/html/encoding_8c-example.html
share/doc/libkate/html/errors.html
share/doc/libkate/html/examples.html
share/doc/libkate/html/files.html
share/doc/libkate/html/format_0x00.html
share/doc/libkate/html/format_0x01.html
share/doc/libkate/html/format_0x7f.html
share/doc/libkate/html/format_0x80.html
share/doc/libkate/html/format_0x81.html
share/doc/libkate/html/format_0x82.html
share/doc/libkate/html/format_0x83.html
share/doc/libkate/html/format_0x84.html
share/doc/libkate/html/format_0x85.html
share/doc/libkate/html/format_0x86.html
share/doc/libkate/html/format_0x87.html
share/doc/libkate/html/format_0x88.html
share/doc/libkate/html/format_32v.html
share/doc/libkate/html/format_bitmap.html
share/doc/libkate/html/format_color.html
share/doc/libkate/html/format_curve.html
share/doc/libkate/html/format_font_range.html
share/doc/libkate/html/format_fp.html
share/doc/libkate/html/format_metadata.html
share/doc/libkate/html/format_motion.html
share/doc/libkate/html/format_palette.html
share/doc/libkate/html/format_region.html
share/doc/libkate/html/format_rle.html
share/doc/libkate/html/format_style.html
share/doc/libkate/html/format_warp.html
${PLIST.doc}share/doc/libkate/html/ftv2blank.png
${PLIST.doc}share/doc/libkate/html/ftv2cl.png
${PLIST.doc}share/doc/libkate/html/ftv2doc.png
${PLIST.doc}share/doc/libkate/html/ftv2folderclosed.png
${PLIST.doc}share/doc/libkate/html/ftv2folderopen.png
${PLIST.doc}share/doc/libkate/html/ftv2lastnode.png
${PLIST.doc}share/doc/libkate/html/ftv2link.png
${PLIST.doc}share/doc/libkate/html/ftv2mlastnode.png
${PLIST.doc}share/doc/libkate/html/ftv2mnode.png
${PLIST.doc}share/doc/libkate/html/ftv2mo.png
${PLIST.doc}share/doc/libkate/html/ftv2node.png
${PLIST.doc}share/doc/libkate/html/ftv2ns.png
${PLIST.doc}share/doc/libkate/html/ftv2plastnode.png
${PLIST.doc}share/doc/libkate/html/ftv2pnode.png
${PLIST.doc}share/doc/libkate/html/ftv2splitbar.png
${PLIST.doc}share/doc/libkate/html/ftv2vertline.png
share/doc/libkate/html/functions.html
share/doc/libkate/html/functions_vars.html
share/doc/libkate/html/globals.html
share/doc/libkate/html/globals_0x63.html
share/doc/libkate/html/globals_0x64.html
share/doc/libkate/html/globals_0x65.html
share/doc/libkate/html/globals_0x66.html
share/doc/libkate/html/globals_0x67.html
share/doc/libkate/html/globals_0x68.html
share/doc/libkate/html/globals_0x69.html
share/doc/libkate/html/globals_0x6c.html
share/doc/libkate/html/globals_0x6d.html
share/doc/libkate/html/globals_0x6f.html
share/doc/libkate/html/globals_0x70.html
share/doc/libkate/html/globals_0x72.html
share/doc/libkate/html/globals_0x73.html
share/doc/libkate/html/globals_0x74.html
share/doc/libkate/html/globals_0x75.html
share/doc/libkate/html/globals_0x76.html
share/doc/libkate/html/globals_0x77.html
share/doc/libkate/html/globals_defs.html
share/doc/libkate/html/globals_enum.html
share/doc/libkate/html/globals_eval.html
share/doc/libkate/html/globals_func.html
${PLIST.doc}share/doc/libkate/html/globals_type.html
share/doc/libkate/html/granule.html
share/doc/libkate/html/group__comments.html
share/doc/libkate/html/group__decoding.html
share/doc/libkate/html/group__encoding.html
share/doc/libkate/html/group__font.html
share/doc/libkate/html/group__granule.html
share/doc/libkate/html/group__high.html
share/doc/libkate/html/group__info.html
share/doc/libkate/html/group__metadata.html
share/doc/libkate/html/group__misc.html
share/doc/libkate/html/group__ogg__decode.html
share/doc/libkate/html/group__ogg__encode.html
share/doc/libkate/html/group__packet.html
share/doc/libkate/html/group__text.html
share/doc/libkate/html/group__tracker.html
share/doc/libkate/html/group__version.html
share/doc/libkate/html/high_8c-example.html
share/doc/libkate/html/index.html
${PLIST.doc}share/doc/libkate/html/jquery.js
share/doc/libkate/html/kate_8c_source.html
share/doc/libkate/html/kate_8h-source.html
share/doc/libkate/html/kate_8h.html
share/doc/libkate/html/kate_8h_source.html
share/doc/libkate/html/kate__bitwise_8c_source.html
share/doc/libkate/html/kate__bitwise_8h_source.html
share/doc/libkate/html/kate__comment_8c_source.html
share/doc/libkate/html/kate__config_8h-source.html
share/doc/libkate/html/kate__config_8h_source.html
share/doc/libkate/html/kate__decode_8c_source.html
share/doc/libkate/html/kate__decode__state_8c_source.html
share/doc/libkate/html/kate__decode__state_8h_source.html
share/doc/libkate/html/kate__encode_8c_source.html
share/doc/libkate/html/kate__encode__state_8c_source.html
share/doc/libkate/html/kate__encode__state_8h_source.html
share/doc/libkate/html/kate__event_8c_source.html
share/doc/libkate/html/kate__font_8c_source.html
share/doc/libkate/html/kate__fp_8c_source.html
share/doc/libkate/html/kate__fp_8h_source.html
share/doc/libkate/html/kate__granule_8c_source.html
share/doc/libkate/html/kate__high_8c_source.html
share/doc/libkate/html/kate__info_8c_source.html
share/doc/libkate/html/kate__internal_8h_source.html
share/doc/libkate/html/kate__motion_8c_source.html
share/doc/libkate/html/kate__ogg_8c_source.html
share/doc/libkate/html/kate__packet_8c_source.html
share/doc/libkate/html/kate__rle_8c_source.html
share/doc/libkate/html/kate__rle_8h_source.html
share/doc/libkate/html/kate__text_8c_source.html
share/doc/libkate/html/kate__tracker_8c_source.html
share/doc/libkate/html/modules.html
${PLIST.doc}share/doc/libkate/html/nav_f.png
${PLIST.doc}share/doc/libkate/html/nav_g.png
${PLIST.doc}share/doc/libkate/html/nav_h.png
share/doc/libkate/html/oggkate_8h-source.html
share/doc/libkate/html/oggkate_8h.html
share/doc/libkate/html/oggkate_8h_source.html
${PLIST.doc}share/doc/libkate/html/open.png
share/doc/libkate/html/pages.html
share/doc/libkate/html/structkate__active__event.html
share/doc/libkate/html/structkate__bitmap.html
share/doc/libkate/html/structkate__color.html
share/doc/libkate/html/structkate__comment.html
share/doc/libkate/html/structkate__curve.html
share/doc/libkate/html/structkate__decode__state.html
share/doc/libkate/html/structkate__encode__state.html
share/doc/libkate/html/structkate__event.html
share/doc/libkate/html/structkate__event__timing.html
share/doc/libkate/html/structkate__font__mapping.html
share/doc/libkate/html/structkate__font__range.html
share/doc/libkate/html/structkate__info.html
share/doc/libkate/html/structkate__memory__guard.html
share/doc/libkate/html/structkate__motion.html
share/doc/libkate/html/structkate__pack__buffer.html
share/doc/libkate/html/structkate__packet.html
share/doc/libkate/html/structkate__palette.html
share/doc/libkate/html/structkate__region.html
share/doc/libkate/html/structkate__state.html
share/doc/libkate/html/structkate__style.html
share/doc/libkate/html/structkate__tracker.html
share/doc/libkate/html/structkate__tracker__internal.html
${PLIST.doc}share/doc/libkate/html/sync_off.png
${PLIST.doc}share/doc/libkate/html/sync_on.png
${PLIST.doc}share/doc/libkate/html/tab_a.png
share/doc/libkate/html/tab_b.gif
${PLIST.doc}share/doc/libkate/html/tab_b.png
${PLIST.doc}share/doc/libkate/html/tab_h.png
share/doc/libkate/html/tab_l.gif
share/doc/libkate/html/tab_r.gif
${PLIST.doc}share/doc/libkate/html/tab_s.png
share/doc/libkate/html/tabs.css

View file

@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1 2013/05/15 00:41:42 rodent Exp $
BUILDLINK_TREE+= libkate
.if !defined(LIBKATE_BUILDLINK3_MK)
LIBKATE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libkate+= libkate>=0.4.1
BUILDLINK_PKGSRCDIR.libkate?= ../../multimedia/libkate
pkgbase := libkate
.include "../../mk/pkg-build-options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.endif # LIBKATE_BUILDLINK3_MK
BUILDLINK_TREE+= -libkate

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/05/15 00:41:42 rodent Exp $
SHA1 (libkate-0.4.1.tar.gz) = 87fd8baaddb7120fb4d20b0a0437e44ea8b6c9d8
RMD160 (libkate-0.4.1.tar.gz) = e92e11bde9cd14312c304a89d79c3ba9e4384762
Size (libkate-0.4.1.tar.gz) = 906896 bytes

View file

@ -0,0 +1,41 @@
# $NetBSD: options.mk,v 1.1 2013/05/15 00:41:42 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libkate
PKG_SUPPORTED_OPTIONS= debug doc oggz python valgrind vorbis
PKG_SUGGESTED_OPTIONS+= oggz vorbis
PLIST_VARS+= doc python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.if !empty(PKG_OPTIONS:Mdoc)
PLIST.doc= yes
.else
CONFIGURE_ARGS+= --disable-doc
.endif
.if !empty(PKG_OPTIONS:Moggz)
.include "../../multimedia/liboggz/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpython)
REPLACE_PYTHON= tools/KateDJ/KateDJ
PY_PATCHPLIST= yes
.include "../../x11/py-wxWidgets/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
PLIST.python= yes
.else
CONFIGURE_ARGS+= HAVE_PYTHON=no
.endif
.if !empty(PKG_OPTIONS:Mvalgrind)
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
.endif
.if !empty(PKG_OPTIONS:Mvorbis)
BUILD_DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
.endif