summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-01-25 19:31:34 +0000
committerdrochner <drochner@pkgsrc.org>2007-01-25 19:31:34 +0000
commit7556735453168146cbda6e84075c8c3e952d111a (patch)
treee055e2e1eb1a684fc9e82701ecc034dfad79e23c
parent4c948e743f3dedad666ca1a9c3f055919cdac549 (diff)
downloadpkgsrc-7556735453168146cbda6e84075c8c3e952d111a.tar.gz
import libmpcdec-1.2.4, a decoder for Musepack (mpeg-plus) audio files
-rw-r--r--audio/libmpcdec/DESCR1
-rw-r--r--audio/libmpcdec/Makefile20
-rw-r--r--audio/libmpcdec/PLIST11
-rw-r--r--audio/libmpcdec/buildlink3.mk19
-rw-r--r--audio/libmpcdec/distinfo5
5 files changed, 56 insertions, 0 deletions
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