musepack decoding engine, from David Love <david@dcs.shef.ac.uk>

This commit is contained in:
espie 2006-03-10 09:43:37 +00:00
parent d43b199bbd
commit a4255b2368
6 changed files with 149 additions and 0 deletions

34
audio/libmpcdec/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/03/10 09:43:37 espie Exp $
COMMENT= "musepack, high quality audio compression format"
DISTNAME= libmpcdec-1.2.2
PKGNAME= ${DISTNAME}
CATEGORIES= audio
HOMEPAGE= http://www.musepack.net
MAINTAINER= David Love <david@dcs.shef.ac.uk>
MASTER_SITES= http://files2.musepack.net/source/
EXTRACT_SUFX= .tar.bz2
# BSD
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
DOCDIR=${PREFIX}/share/doc/libmpcdec
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cp -r ${WRKDIST}/docs/* ${DOCDIR}
SHARED_LIBS= mpcdec 1.0
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>

4
audio/libmpcdec/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (libmpcdec-1.2.2.tar.bz2) = f14e07285b9b102a806649074c1d779b
RMD160 (libmpcdec-1.2.2.tar.bz2) = c49faf5ba183e1c66b33c5b729168b13ff3c7447
SHA1 (libmpcdec-1.2.2.tar.bz2) = aab2a7329486e712ea5fd6e3b0819f918c428e8a
SIZE (libmpcdec-1.2.2.tar.bz2) = 318620

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-include_Makefile_in,v 1.1.1.1 2006/03/10 09:43:37 espie Exp $
--- include/Makefile.in.orig Fri Mar 10 10:39:30 2006
+++ include/Makefile.in Fri Mar 10 10:39:38 2006
@@ -218,7 +218,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_bu
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status include/config.h
$(srcdir)/config.h.in: $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
+# cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@

View File

@ -0,0 +1,8 @@
Musepack is an audio compression format with a strong emphasis on high
quality. It's not lossless, but it is designed for transparency, so that
you won't be able to hear differences between the original wave file and
the much smaller MPC file.
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it
has rapidly developed and vastly improved and is now at an advanced
stage in which it contains heavily optimized and patentless code.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/03/10 09:43:37 espie Exp $
@lib lib/libmpcdec.so.${LIBmpcdec_VERSION}

89
audio/libmpcdec/pkg/PLIST Normal file
View File

@ -0,0 +1,89 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/03/10 09:43:37 espie Exp $
%%SHARED%%
include/mpcdec/
include/mpcdec/config_types.h
include/mpcdec/decoder.h
include/mpcdec/huffman.h
include/mpcdec/math.h
include/mpcdec/mpcdec.h
include/mpcdec/reader.h
include/mpcdec/requant.h
include/mpcdec/streaminfo.h
lib/libmpcdec.a
lib/libmpcdec.la
share/doc/libmpcdec/
share/doc/libmpcdec/Doxyfile
share/doc/libmpcdec/custom.css
share/doc/libmpcdec/html/
share/doc/libmpcdec/html/annotated.html
share/doc/libmpcdec/html/classWavWriter-members.html
share/doc/libmpcdec/html/classWavWriter.html
share/doc/libmpcdec/html/config__win32_8h-source.html
share/doc/libmpcdec/html/custom.css
share/doc/libmpcdec/html/decoder_8h-source.html
share/doc/libmpcdec/html/decoder_8h.html
share/doc/libmpcdec/html/dir_000000.html
share/doc/libmpcdec/html/dir_000001.html
share/doc/libmpcdec/html/dir_000002.html
share/doc/libmpcdec/html/dirs.html
share/doc/libmpcdec/html/doxygen.png
share/doc/libmpcdec/html/files.html
share/doc/libmpcdec/html/functions.html
share/doc/libmpcdec/html/functions_func.html
share/doc/libmpcdec/html/functions_rela.html
share/doc/libmpcdec/html/functions_vars.html
share/doc/libmpcdec/html/globals.html
share/doc/libmpcdec/html/globals_defs.html
share/doc/libmpcdec/html/globals_eval.html
share/doc/libmpcdec/html/globals_func.html
share/doc/libmpcdec/html/globals_type.html
share/doc/libmpcdec/html/globals_vars.html
share/doc/libmpcdec/html/huffman_8h-source.html
share/doc/libmpcdec/html/huffman_8h.html
share/doc/libmpcdec/html/huffsv46_8c-source.html
share/doc/libmpcdec/html/huffsv46_8c.html
share/doc/libmpcdec/html/huffsv7_8c-source.html
share/doc/libmpcdec/html/huffsv7_8c.html
share/doc/libmpcdec/html/idtag_8c-source.html
share/doc/libmpcdec/html/idtag_8c.html
share/doc/libmpcdec/html/index.html
share/doc/libmpcdec/html/internal_8h-source.html
share/doc/libmpcdec/html/internal_8h.html
share/doc/libmpcdec/html/mainpage_8h-source.html
share/doc/libmpcdec/html/math_8h-source.html
share/doc/libmpcdec/html/math_8h.html
share/doc/libmpcdec/html/mpc__decoder_8c-source.html
share/doc/libmpcdec/html/mpc__decoder_8c.html
share/doc/libmpcdec/html/mpc__reader_8c-source.html
share/doc/libmpcdec/html/mpc__reader_8c.html
share/doc/libmpcdec/html/mpcdec_8h-source.html
share/doc/libmpcdec/html/mpcdec_8h.html
share/doc/libmpcdec/html/pages.html
share/doc/libmpcdec/html/reader_8h-source.html
share/doc/libmpcdec/html/reader_8h.html
share/doc/libmpcdec/html/requant_8c-source.html
share/doc/libmpcdec/html/requant_8c.html
share/doc/libmpcdec/html/requant_8h-source.html
share/doc/libmpcdec/html/requant_8h.html
share/doc/libmpcdec/html/sample_8cpp-source.html
share/doc/libmpcdec/html/streaminfo_8c-source.html
share/doc/libmpcdec/html/streaminfo_8c.html
share/doc/libmpcdec/html/streaminfo_8h-source.html
share/doc/libmpcdec/html/streaminfo_8h.html
share/doc/libmpcdec/html/structQuantTyp-members.html
share/doc/libmpcdec/html/structQuantTyp.html
share/doc/libmpcdec/html/structhuffman__type__t-members.html
share/doc/libmpcdec/html/structhuffman__type__t.html
share/doc/libmpcdec/html/structmpc__decoder__t-members.html
share/doc/libmpcdec/html/structmpc__decoder__t.html
share/doc/libmpcdec/html/structmpc__reader__file__t-members.html
share/doc/libmpcdec/html/structmpc__reader__file__t.html
share/doc/libmpcdec/html/structmpc__reader__t-members.html
share/doc/libmpcdec/html/structmpc__reader__t.html
share/doc/libmpcdec/html/structmpc__streaminfo-members.html
share/doc/libmpcdec/html/structmpc__streaminfo.html
share/doc/libmpcdec/html/structreader__data__t-members.html
share/doc/libmpcdec/html/structreader__data__t.html
share/doc/libmpcdec/html/synth__filter_8c-source.html
share/doc/libmpcdec/html/synth__filter_8c.html
share/doc/libmpcdec/html/todo.html