import wavpack, tweaked from a ports@ submission by Alexandr Shadchin

WavPack is a completely open audio compression format providing
lossless, high-quality lossy, and a unique hybrid compression mode.
The compression ratio depends on the source material, but generally
is between 30% and 70%.

The hybrid mode provides all the advantages of lossless compression
with an additional bonus. Instead of creating a single file, this
mode creates both a relatively small, high-quality lossy file that
can be used all by itself, and a "correction" file that (when
combined with the lossy file) provides full lossless restoration.

WavPack employs only well known, public domain techniques (i.e.,
linear prediction with LMS adaptation, Elias and Golomb codes) in
its implementation. Methods and algorithms that have ever been
patented (e.g., arithmetic coding, LZW compression) are specifically
avoided.
This commit is contained in:
sthen 2009-01-10 02:08:34 +00:00
parent be67d08402
commit 96f1b5c1c0
5 changed files with 66 additions and 0 deletions

32
audio/wavpack/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/01/10 02:08:34 sthen Exp $
COMMENT = Audio codec for lossless, lossy and hybrid compression
DISTNAME = wavpack-4.50.1
CATEGORIES = audio
HOMEPAGE = http://www.wavpack.com/
SHARED_LIBS += wavpack 0.0
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tar.bz2
WANTLIB = c m
MODULES = converters/libiconv
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--with-libiconv-prefix="${LOCALBASE}"
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

5
audio/wavpack/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (wavpack-4.50.1.tar.bz2) = LJ1+NnL2AHDU/SyGySSjtA==
RMD160 (wavpack-4.50.1.tar.bz2) = aAu1hFIchOpFVrKZG+o4qRxlv9w=
SHA1 (wavpack-4.50.1.tar.bz2) = G9jXVLdVAUO+iM0PGKlzdAwcO4w=
SHA256 (wavpack-4.50.1.tar.bz2) = KcA20Q+4vLbapYcY0RI5QpGIf8DpsQiFEBchgYRIOVQ=
SIZE (wavpack-4.50.1.tar.bz2) = 375792

16
audio/wavpack/pkg/DESCR Normal file
View File

@ -0,0 +1,16 @@
WavPack is a completely open audio compression format providing
lossless, high-quality lossy, and a unique hybrid compression mode.
The compression ratio depends on the source material, but generally
is between 30% and 70%.
The hybrid mode provides all the advantages of lossless compression
with an additional bonus. Instead of creating a single file, this
mode creates both a relatively small, high-quality lossy file that
can be used all by itself, and a "correction" file that (when
combined with the lossy file) provides full lossless restoration.
WavPack employs only well known, public domain techniques (i.e.,
linear prediction with LMS adaptation, Elias and Golomb codes) in
its implementation. Methods and algorithms that have ever been
patented (e.g., arithmetic coding, LZW compression) are specifically
avoided.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/01/10 02:08:34 sthen Exp $
@lib lib/libwavpack.so.${LIBwavpack_VERSION}

11
audio/wavpack/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/10 02:08:34 sthen Exp $
@bin bin/wavpack
@bin bin/wvgain
@bin bin/wvunpack
include/wavpack/
include/wavpack/wavpack.h
lib/libwavpack.a
lib/libwavpack.la
%%SHARED%%
lib/pkgconfig/
lib/pkgconfig/wavpack.pc