summaryrefslogtreecommitdiff
path: root/multimedia/libkate/options.mk
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-05-15 00:41:42 +0000
committerrodent <rodent@pkgsrc.org>2013-05-15 00:41:42 +0000
commit0ae3414c63c09747cdb0fa309195361fe111f7f0 (patch)
tree336666452c398145855add1f43dd6dccb15772e6 /multimedia/libkate/options.mk
parent998dde5aeb66444097139ab62f2ce0d0d7a2c3ef (diff)
downloadpkgsrc-0ae3414c63c09747cdb0fa309195361fe111f7f0.tar.gz
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.
Diffstat (limited to 'multimedia/libkate/options.mk')
-rw-r--r--multimedia/libkate/options.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/multimedia/libkate/options.mk b/multimedia/libkate/options.mk
new file mode 100644
index 00000000000..7d7107eec34
--- /dev/null
+++ b/multimedia/libkate/options.mk
@@ -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