add wavpack-4.40.0, a library/utility for the wavpack audio format,
authordrochner <drochner>
Thu, 1 Feb 2007 16:52:28 +0000 (16:52 +0000)
committerdrochner <drochner>
Thu, 1 Feb 2007 16:52:28 +0000 (16:52 +0000)
mostly from Tobias Nygren per pkgsrc-wip

audio/wavpack/DESCR [new file with mode: 0644]
audio/wavpack/Makefile [new file with mode: 0644]
audio/wavpack/PLIST [new file with mode: 0644]
audio/wavpack/buildlink3.mk [new file with mode: 0644]
audio/wavpack/distinfo [new file with mode: 0644]

diff --git a/audio/wavpack/DESCR b/audio/wavpack/DESCR
new file mode 100644 (file)
index 0000000..7dabc39
--- /dev/null
@@ -0,0 +1,11 @@
+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. For some users this means never having
+to choose between lossless and lossy compression.
diff --git a/audio/wavpack/Makefile b/audio/wavpack/Makefile
new file mode 100644 (file)
index 0000000..23502a7
--- /dev/null
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME=              wavpack-4.40.0
+CATEGORIES=            audio
+MASTER_SITES=          http://www.wavpack.com/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            tnn+nbsd@nygren.pp.se
+HOMEPAGE=              http://www.wavpack.com/
+COMMENT=               Audio codec for lossless, lossy and hybrid compression
+
+GNU_CONFIGURE=         YES
+PKGCONFIG_OVERRIDE=    wavpack.pc.in
+USE_LIBTOOL=           YES
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/wavpack/PLIST b/audio/wavpack/PLIST
new file mode 100644 (file)
index 0000000..36f0076
--- /dev/null
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/wavpack
+bin/wvgain
+bin/wvunpack
+include/wavpack/wavpack.h
+lib/libwavpack.la
+lib/pkgconfig/wavpack.pc
+@dirrm include/wavpack
diff --git a/audio/wavpack/buildlink3.mk b/audio/wavpack/buildlink3.mk
new file mode 100644 (file)
index 0000000..d4710dd
--- /dev/null
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+WAVPACK_BUILDLINK3_MK:=        ${WAVPACK_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    wavpack
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nwavpack}
+BUILDLINK_PACKAGES+=   wavpack
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wavpack
+
+.if ${WAVPACK_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.wavpack+=        wavpack>=4.40.0
+BUILDLINK_PKGSRCDIR.wavpack?=  ../../audio/wavpack
+.endif # WAVPACK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/wavpack/distinfo b/audio/wavpack/distinfo
new file mode 100644 (file)
index 0000000..06eda3d
--- /dev/null
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (wavpack-4.40.0.tar.bz2) = dc679e8c06fcf19f25c944b95a0afe4cf7d6f5fd
+RMD160 (wavpack-4.40.0.tar.bz2) = a9bb0bd6611e411f0e82c1e03c950c8bb14f01de
+Size (wavpack-4.40.0.tar.bz2) = 320445 bytes