From 7556735453168146cbda6e84075c8c3e952d111a Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 25 Jan 2007 19:31:34 +0000 Subject: import libmpcdec-1.2.4, a decoder for Musepack (mpeg-plus) audio files --- audio/libmpcdec/DESCR | 1 + audio/libmpcdec/Makefile | 20 ++++++++++++++++++++ audio/libmpcdec/PLIST | 11 +++++++++++ audio/libmpcdec/buildlink3.mk | 19 +++++++++++++++++++ audio/libmpcdec/distinfo | 5 +++++ 5 files changed, 56 insertions(+) create mode 100644 audio/libmpcdec/DESCR create mode 100644 audio/libmpcdec/Makefile create mode 100644 audio/libmpcdec/PLIST create mode 100644 audio/libmpcdec/buildlink3.mk create mode 100644 audio/libmpcdec/distinfo diff --git a/audio/libmpcdec/DESCR b/audio/libmpcdec/DESCR new file mode 100644 index 00000000000..fd32d2ec72a --- /dev/null +++ b/audio/libmpcdec/DESCR @@ -0,0 +1 @@ +Portable Musepack decoder library. diff --git a/audio/libmpcdec/Makefile b/audio/libmpcdec/Makefile new file mode 100644 index 00000000000..fca7b63c94a --- /dev/null +++ b/audio/libmpcdec/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/01/25 19:31:34 drochner Exp $ +# + +DISTNAME= libmpcdec-1.2.4 +CATEGORIES= audio +MASTER_SITES= http://files.musepack.net/source/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.musepack.net/ +COMMENT= Portable Musepack decoder library + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/include/mpcdec + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libmpcdec/PLIST b/audio/libmpcdec/PLIST new file mode 100644 index 00000000000..ed726ad9221 --- /dev/null +++ b/audio/libmpcdec/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/25 19:31:34 drochner Exp $ +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.la +@dirrm include/mpcdec diff --git a/audio/libmpcdec/buildlink3.mk b/audio/libmpcdec/buildlink3.mk new file mode 100644 index 00000000000..1eac98e9223 --- /dev/null +++ b/audio/libmpcdec/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/01/25 19:31:34 drochner Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBMPCDEC_BUILDLINK3_MK:= ${LIBMPCDEC_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libmpcdec +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpcdec} +BUILDLINK_PACKAGES+= libmpcdec +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpcdec + +.if ${LIBMPCDEC_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libmpcdec+= libmpcdec>=1.2.4 +BUILDLINK_PKGSRCDIR.libmpcdec?= ../../audio/libmpcdec +.endif # LIBMPCDEC_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/libmpcdec/distinfo b/audio/libmpcdec/distinfo new file mode 100644 index 00000000000..8ca580a6264 --- /dev/null +++ b/audio/libmpcdec/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/01/25 19:31:34 drochner Exp $ + +SHA1 (libmpcdec-1.2.4.tar.bz2) = 2522288ac1baf12854b92c219662bfc9bd88067b +RMD160 (libmpcdec-1.2.4.tar.bz2) = d2414d1cbfacbdbcd479ce6855e3e439ccb6098a +Size (libmpcdec-1.2.4.tar.bz2) = 259859 bytes -- cgit v1.2.3