summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrodent <rodent>2013-05-09 00:42:45 +0000
committerrodent <rodent>2013-05-09 00:42:45 +0000
commit6a2181180e310c827ccf4efc69f95bd885ff9eee (patch)
tree04664fc025855b42575eb567e82e35044c2b1149 /audio
parente1695f60adbb5610500a9bb5741f0826039eab9f (diff)
downloadpkgsrc-6a2181180e310c827ccf4efc69f95bd885ff9eee.tar.gz
Import libfishsound-1.0.0 as audio/libfishsound.
libfishsound provides a simple programming interface for decoding and encoding audio data using the Xiph.org codecs (FLAC, Speex and Vorbis). libfishsound by itself is designed to handle raw codec streams from a lower level layer such as UDP datagrams. When these codecs are used in files, they are commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files. libfishsound is a wrapper around the existing codec libraries and provides a consistent, higher-level programming interface. It has been designed for use in a wide variety of applications; it has no direct dependencies on Ogg encapsulation, though it is most commonly used in conjunction with liboggz to decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files, including Ogg Theora and Annodex.
Diffstat (limited to 'audio')
-rw-r--r--audio/libfishsound/DESCR13
-rw-r--r--audio/libfishsound/Makefile24
-rw-r--r--audio/libfishsound/PLIST122
-rw-r--r--audio/libfishsound/buildlink3.mk29
-rw-r--r--audio/libfishsound/distinfo5
-rw-r--r--audio/libfishsound/options.mk42
6 files changed, 235 insertions, 0 deletions
diff --git a/audio/libfishsound/DESCR b/audio/libfishsound/DESCR
new file mode 100644
index 00000000000..6379b51bae1
--- /dev/null
+++ b/audio/libfishsound/DESCR
@@ -0,0 +1,13 @@
+libfishsound provides a simple programming interface for decoding and encoding
+audio data using the Xiph.org codecs (FLAC, Speex and Vorbis).
+
+libfishsound by itself is designed to handle raw codec streams from a lower
+level layer such as UDP datagrams. When these codecs are used in files, they are
+commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files.
+
+libfishsound is a wrapper around the existing codec libraries and provides a
+consistent, higher-level programming interface. It has been designed for use in
+a wide variety of applications; it has no direct dependencies on Ogg
+encapsulation, though it is most commonly used in conjunction with liboggz to
+decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files, including Ogg
+Theora and Annodex.
diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile
new file mode 100644
index 00000000000..43be4ec502f
--- /dev/null
+++ b/audio/libfishsound/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/05/09 00:42:45 rodent Exp $
+#
+
+DISTNAME= libfishsound-1.0.0
+CATEGORIES= audio
+MASTER_SITES= http://downloads.xiph.org/releases/libfishsound/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://www.xiph.org/fishsound/
+COMMENT= Provides a simple API for decoding and encoding audio data
+LICENSE= modified-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= fishsound.pc.in
+
+.include "options.mk"
+
+.include "../../multimedia/liboggz/buildlink3.mk"
+.include "../../multimedia/libogg/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libfishsound/PLIST b/audio/libfishsound/PLIST
new file mode 100644
index 00000000000..749f7b132e1
--- /dev/null
+++ b/audio/libfishsound/PLIST
@@ -0,0 +1,122 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/09 00:42:45 rodent Exp $
+include/fishsound/comments.h
+include/fishsound/constants.h
+include/fishsound/decode.h
+include/fishsound/deprecated.h
+include/fishsound/encode.h
+include/fishsound/fishsound.h
+lib/libfishsound.la
+lib/pkgconfig/fishsound.pc
+share/doc/libfishsound/html/annotated.html
+${PLIST.doc}share/doc/libfishsound/html/bc_s.png
+${PLIST.doc}share/doc/libfishsound/html/bdwn.png
+share/doc/libfishsound/html/classes.html
+${PLIST.doc}share/doc/libfishsound/html/closed.png
+share/doc/libfishsound/html/comments_8h-source.html
+share/doc/libfishsound/html/comments_8h.html
+${PLIST.doc}share/doc/libfishsound/html/comments_8h_source.html
+share/doc/libfishsound/html/constants_8h-source.html
+share/doc/libfishsound/html/constants_8h.html
+${PLIST.doc}share/doc/libfishsound/html/constants_8h_source.html
+share/doc/libfishsound/html/decode_8h-source.html
+share/doc/libfishsound/html/decode_8h.html
+${PLIST.doc}share/doc/libfishsound/html/decode_8h_source.html
+share/doc/libfishsound/html/deprecated_8h-source.html
+share/doc/libfishsound/html/deprecated_8h.html
+${PLIST.doc}share/doc/libfishsound/html/deprecated_8h_source.html
+${PLIST.doc}share/doc/libfishsound/html/dir_000000.html
+${PLIST.doc}share/doc/libfishsound/html/dir_000001.html
+${PLIST.doc}share/doc/libfishsound/html/dir_000002.html
+${PLIST.doc}share/doc/libfishsound/html/dir_000003.html
+share/doc/libfishsound/html/doxygen.css
+share/doc/libfishsound/html/doxygen.png
+${PLIST.doc}share/doc/libfishsound/html/dynsections.js
+share/doc/libfishsound/html/encode_8h-source.html
+share/doc/libfishsound/html/encode_8h.html
+${PLIST.doc}share/doc/libfishsound/html/encode_8h_source.html
+share/doc/libfishsound/html/files.html
+share/doc/libfishsound/html/fishsound_8h-source.html
+share/doc/libfishsound/html/fishsound_8h.html
+${PLIST.doc}share/doc/libfishsound/html/fishsound_8h_source.html
+${PLIST.doc}share/doc/libfishsound/html/ftv2blank.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2cl.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2doc.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2folderclosed.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2folderopen.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2lastnode.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2link.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2mlastnode.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2mnode.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2mo.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2node.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2ns.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2plastnode.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2pnode.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2splitbar.png
+${PLIST.doc}share/doc/libfishsound/html/ftv2vertline.png
+share/doc/libfishsound/html/functions.html
+share/doc/libfishsound/html/functions_vars.html
+share/doc/libfishsound/html/globals.html
+share/doc/libfishsound/html/globals_enum.html
+share/doc/libfishsound/html/globals_eval.html
+share/doc/libfishsound/html/globals_func.html
+share/doc/libfishsound/html/globals_type.html
+share/doc/libfishsound/html/group__about.html
+share/doc/libfishsound/html/group__building.html
+share/doc/libfishsound/html/group__configuration.html
+share/doc/libfishsound/html/group__decode.html
+share/doc/libfishsound/html/group__encode.html
+share/doc/libfishsound/html/group__install.html
+share/doc/libfishsound/html/group__win32.html
+share/doc/libfishsound/html/index.html
+${PLIST.doc}share/doc/libfishsound/html/jquery.js
+share/doc/libfishsound/html/modules.html
+${PLIST.doc}share/doc/libfishsound/html/nav_f.png
+${PLIST.doc}share/doc/libfishsound/html/nav_g.png
+${PLIST.doc}share/doc/libfishsound/html/nav_h.png
+${PLIST.doc}share/doc/libfishsound/html/open.png
+${PLIST.doc}share/doc/libfishsound/html/structFS__DecEnc.html
+${PLIST.doc}share/doc/libfishsound/html/structFS__EncDec.html
+share/doc/libfishsound/html/structFishSoundComment.html
+share/doc/libfishsound/html/structFishSoundFormat.html
+share/doc/libfishsound/html/structFishSoundInfo.html
+${PLIST.doc}share/doc/libfishsound/html/sync_off.png
+${PLIST.doc}share/doc/libfishsound/html/sync_on.png
+${PLIST.doc}share/doc/libfishsound/html/tab_a.png
+share/doc/libfishsound/html/tab_b.gif
+${PLIST.doc}share/doc/libfishsound/html/tab_b.png
+${PLIST.doc}share/doc/libfishsound/html/tab_h.png
+share/doc/libfishsound/html/tab_l.gif
+share/doc/libfishsound/html/tab_r.gif
+${PLIST.doc}share/doc/libfishsound/html/tab_s.png
+share/doc/libfishsound/html/tabs.css
+${PLIST.nodoc}share/doc/libfishsound/latex/FreeSans.ttf
+share/doc/libfishsound/latex/Makefile
+share/doc/libfishsound/latex/annotated.tex
+share/doc/libfishsound/latex/comments_8h.tex
+share/doc/libfishsound/latex/constants_8h.tex
+share/doc/libfishsound/latex/decode_8h.tex
+share/doc/libfishsound/latex/deprecated_8h.tex
+${PLIST.doc}share/doc/libfishsound/latex/dir_000000.tex
+${PLIST.doc}share/doc/libfishsound/latex/dir_000001.tex
+${PLIST.doc}share/doc/libfishsound/latex/dir_000002.tex
+${PLIST.doc}share/doc/libfishsound/latex/dir_000003.tex
+share/doc/libfishsound/latex/doxygen.sty
+share/doc/libfishsound/latex/encode_8h.tex
+share/doc/libfishsound/latex/files.tex
+share/doc/libfishsound/latex/fishsound_8h.tex
+share/doc/libfishsound/latex/group__about.tex
+share/doc/libfishsound/latex/group__building.tex
+share/doc/libfishsound/latex/group__configuration.tex
+share/doc/libfishsound/latex/group__decode.tex
+share/doc/libfishsound/latex/group__encode.tex
+share/doc/libfishsound/latex/group__install.tex
+share/doc/libfishsound/latex/group__win32.tex
+share/doc/libfishsound/latex/index.tex
+share/doc/libfishsound/latex/modules.tex
+share/doc/libfishsound/latex/refman.tex
+${PLIST.doc}share/doc/libfishsound/latex/structFS__DecEnc.tex
+${PLIST.doc}share/doc/libfishsound/latex/structFS__EncDec.tex
+share/doc/libfishsound/latex/structFishSoundComment.tex
+share/doc/libfishsound/latex/structFishSoundFormat.tex
+share/doc/libfishsound/latex/structFishSoundInfo.tex
diff --git a/audio/libfishsound/buildlink3.mk b/audio/libfishsound/buildlink3.mk
new file mode 100644
index 00000000000..da268665b51
--- /dev/null
+++ b/audio/libfishsound/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/05/09 00:42:45 rodent Exp $
+
+BUILDLINK_TREE+= libfishsound
+
+.if !defined(LIBFISHSOUND_BUILDLINK3_MK)
+LIBFISHSOUND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libfishsound+= libfishsound>=1.0.0
+BUILDLINK_PKGSRCDIR.libfishsound?= ../../audio/libfishsound
+
+pkgbase := libfishsound
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.libfishsound:Mflac)
+.include "../../audio/flac/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.libfishsound:Mspeex)
+.include "../../audio/speex/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.libfishsound:Mvorbis)
+.include "../../audio/libvorbis/buildlink3.mk"
+.endif
+
+.include "../../multimedia/libogg/buildlink3.mk"
+.endif # LIBFISHSOUND_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libfishsound
diff --git a/audio/libfishsound/distinfo b/audio/libfishsound/distinfo
new file mode 100644
index 00000000000..8d53cf90007
--- /dev/null
+++ b/audio/libfishsound/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/05/09 00:42:45 rodent Exp $
+
+SHA1 (libfishsound-1.0.0.tar.gz) = 5263dfaa12dce71e30c5d80f871d92869c6b5ce2
+RMD160 (libfishsound-1.0.0.tar.gz) = 49919da94696932ca88cc81bcc317a434ce67bc9
+Size (libfishsound-1.0.0.tar.gz) = 444980 bytes
diff --git a/audio/libfishsound/options.mk b/audio/libfishsound/options.mk
new file mode 100644
index 00000000000..6480e638db9
--- /dev/null
+++ b/audio/libfishsound/options.mk
@@ -0,0 +1,42 @@
+# $NetBSD: options.mk,v 1.1 2013/05/09 00:42:45 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libfish
+PKG_SUPPORTED_OPTIONS= doc flac speex valgrind vorbis
+PKG_SUGGESTED_OPTIONS+= flac speex vorbis
+PLIST_VARS+= doc nodoc
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+PLIST.doc= yes
+.else
+CONFIGURE_ARGS+= HAVE_DOXYGEN=no
+PLIST.nodoc= yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mflac)
+BUILDLINK_DEPMETHOD.flac= build
+.include "../../audio/flac/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-flac
+.endif
+
+.if !empty(PKG_OPTIONS:Mspeex)
+.include "../../audio/speex/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-speex
+.endif
+
+.if !empty(PKG_OPTIONS:Mvalgrind)
+BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
+CONFIGURE_ARGS+= --enable-valgrind-testing
+.else
+CONFIGURE_ARGS+= --disable-valgrind-testing
+.endif
+
+.if !empty(PKG_OPTIONS:Mvorbis)
+.include "../../audio/libvorbis/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-vorbis
+.endif