summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2008-10-18 17:33:44 +0000
committerAnders Nordby <anders@FreeBSD.org>2008-10-18 17:33:44 +0000
commit5c1c98a1125fede811faa47c5ddfffe007221c0c (patch)
tree7ebe5e5e0ed330c805313dcd6abbceb95f58dadf
parentFix distinfo for LDAP patch. (diff)
Add libkate, codec for karaoke and text encapsulation for Ogg.
Notes
Notes: svn path=/head/; revision=221738
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/libkate/Makefile56
-rw-r--r--multimedia/libkate/distinfo3
-rw-r--r--multimedia/libkate/files/patch-Makefile.in11
-rw-r--r--multimedia/libkate/files/patch-doc-Makefile.in12
-rw-r--r--multimedia/libkate/pkg-descr10
-rw-r--r--multimedia/libkate/pkg-plist111
7 files changed, 204 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index b150607cf3ba..e474206050aa 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -119,6 +119,7 @@
SUBDIR += libdvdplay
SUBDIR += libdvdread
SUBDIR += libfame
+ SUBDIR += libkate
SUBDIR += libmatroska
SUBDIR += libmovtar
SUBDIR += libmpeg2
diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile
new file mode 100644
index 000000000000..beac1de75b17
--- /dev/null
+++ b/multimedia/libkate/Makefile
@@ -0,0 +1,56 @@
+# Ports collection makefile for: libkate
+# Date created: Sat 19 Oct 2008
+# Whom: Anders Nordby <anders@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libkate
+PORTVERSION= 0.1.12
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= anders@FreeBSD.org
+COMMENT= Codec for karaoke and text encapsulation for Ogg
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
+LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg \
+ png.5:${PORTSDIR}/graphics/png
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= gnomelibs pkgconfig
+USE_LDCONFIG= yes
+
+CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include"
+
+MAN1= kateenc.1 katedec.1
+
+OPTIONS= DOXYGEN "Build docs with doxygen (requires TeX, QT, etc.)" off
+
+.include <bsd.port.pre.mk>
+
+.ifdef(WITH_DOXYGEN || exists(${LOCALBASE}/bin/doxygen))
+BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
+PLIST_SUB+= DOXYGEN=""
+.else
+PLIST_SUB+= DOXYGEN="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -E -e "s|^(katepcdir =).*|\1 ${LOCALBASE}/libdata/pkgconfig|" \
+ ${WRKSRC}/Makefile.in
+.ifdef(NOPORTDOCS)
+ @${REINPLACE_CMD} -E \
+ -e 's|^([[:space:]]*SUBDIRS[[:space:]]*=.*)doc|\1|' \
+ ${BUILD_WRKSRC}/Makefile.in
+.endif
+
+post-install:
+.ifdef(NOPORTDOCS)
+.for f in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/doc/man/${f} ${PREFIX}/man/man1
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/libkate/distinfo b/multimedia/libkate/distinfo
new file mode 100644
index 000000000000..e6cce0b59940
--- /dev/null
+++ b/multimedia/libkate/distinfo
@@ -0,0 +1,3 @@
+MD5 (libkate-0.1.12.tar.gz) = a4771bbb74fc5b1b61c2d15a8cd6ba90
+SHA256 (libkate-0.1.12.tar.gz) = f74e261ce621729413fd32da9ee4479f598bc456852175edeac897b3fc816618
+SIZE (libkate-0.1.12.tar.gz) = 871941
diff --git a/multimedia/libkate/files/patch-Makefile.in b/multimedia/libkate/files/patch-Makefile.in
new file mode 100644
index 000000000000..6ea204d24cac
--- /dev/null
+++ b/multimedia/libkate/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sat Oct 18 17:46:36 2008
++++ Makefile.in Sat Oct 18 17:46:50 2008
+@@ -1205,7 +1205,7 @@
+
+ .PHONY: force-doc
+ force-doc:
+- $(MAKE) -C doc force-doc
++ $(MAKE) -C doc
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/multimedia/libkate/files/patch-doc-Makefile.in b/multimedia/libkate/files/patch-doc-Makefile.in
new file mode 100644
index 000000000000..2aaa4f8b2333
--- /dev/null
+++ b/multimedia/libkate/files/patch-doc-Makefile.in
@@ -0,0 +1,12 @@
+--- doc/Makefile.in.orig Tue Sep 9 08:52:20 2008
++++ doc/Makefile.in Sat Oct 18 17:51:51 2008
+@@ -447,8 +447,7 @@
+ @HAVE_DOXYGEN_TRUE@ doxygen kate.doxygen
+ @HAVE_DOXYGEN_TRUE@ touch .doc-dummy-target
+ @HAVE_DOXYGEN_FALSE@.doc-dummy-target:
+-@HAVE_DOXYGEN_FALSE@ echo "doxygen not found, cannot build docs"
+-@HAVE_DOXYGEN_FALSE@ /bin/false
++@HAVE_DOXYGEN_FALSE@ echo "doxygen not found, oops"
+
+ dist-hook: .doc-dummy-target
+ cp -fR * $(distdir)
diff --git a/multimedia/libkate/pkg-descr b/multimedia/libkate/pkg-descr
new file mode 100644
index 000000000000..26cada281afa
--- /dev/null
+++ b/multimedia/libkate/pkg-descr
@@ -0,0 +1,10 @@
+Kate is a codec for karaoke and text encapsulation for Ogg. 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. A possible use of
+a lone Kate stream would be an e-book. Moreover, the motion feature gives Kate
+a powerful means to describe arbitrary curves, so hand drawing of shapes can be
+achieved. This was originally meant for karaoke use, but can be used for any
+purpose. Motions can be attached to various semantics, like position, color,
+etc, so scrolling or fading text can be defined.
+
+WWW: http://wiki.xiph.org/index.php/OggKate
diff --git a/multimedia/libkate/pkg-plist b/multimedia/libkate/pkg-plist
new file mode 100644
index 000000000000..f5544b1ea4a5
--- /dev/null
+++ b/multimedia/libkate/pkg-plist
@@ -0,0 +1,111 @@
+bin/katedec
+bin/kateenc
+%%PORTDOCS%%%%DOCSDIR%%/html/Format.html
+%%PORTDOCS%%%%DOCSDIR%%/html/HOWTO.html
+%%PORTDOCS%%%%DOCSDIR%%/html/Support.html
+%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/html/categories.html
+%%PORTDOCS%%%%DOXYGEN%%%%DOCSDIR%%/html/classes.html
+%%PORTDOCS%%%%DOCSDIR%%/html/config_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/decoding_8c-example.html
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/encoding_8c-example.html
+%%PORTDOCS%%%%DOCSDIR%%/html/errors.html
+%%PORTDOCS%%%%DOCSDIR%%/html/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/html/files.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x00.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x01.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x7f.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x80.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x81.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x82.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x83.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x84.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x85.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x86.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x87.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_0x88.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_32v.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_bitmap.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_color.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_curve.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_font_range.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_fp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_motion.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_palette.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_region.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_rle.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_style.html
+%%PORTDOCS%%%%DOCSDIR%%/html/format_warp.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_defs.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/granule.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__comments.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__decoding.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__encoding.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__font.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__granule.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__high.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__info.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__misc.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__ogg__decode.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__ogg__encode.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__packet.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__text.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__tracker.html
+%%PORTDOCS%%%%DOCSDIR%%/html/group__version.html
+%%PORTDOCS%%%%DOCSDIR%%/html/high_8c-example.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/kate_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/kate_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/kate__config_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/modules.html
+%%PORTDOCS%%%%DOCSDIR%%/html/oggkate_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/html/oggkate_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/html/pages.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__bitmap.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__color.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__comment.html
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_b.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__curve.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__event.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__font__mapping.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__font__range.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__info.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__motion.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__packet.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__palette.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__region.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__state.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__style.html
+%%PORTDOCS%%%%DOCSDIR%%/html/structkate__tracker.html
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_l.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/tab_r.gif
+%%PORTDOCS%%%%DOCSDIR%%/html/tabs.css
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+include/kate/kate.h
+include/kate/kate_config.h
+include/kate/oggkate.h
+lib/libkate.so.1
+lib/libkate.so
+lib/libkate.la
+lib/libkate.a
+lib/liboggkate.a
+lib/liboggkate.la
+lib/liboggkate.so.1
+lib/liboggkate.so
+libdata/pkgconfig/kate.pc
+libdata/pkgconfig/oggkate.pc
+@dirrm include/kate
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%