summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/libmusepack/DESCR8
-rw-r--r--audio/libmusepack/Makefile17
-rw-r--r--audio/libmusepack/PLIST9
-rw-r--r--audio/libmusepack/buildlink3.mk18
-rw-r--r--audio/libmusepack/distinfo4
5 files changed, 56 insertions, 0 deletions
diff --git a/audio/libmusepack/DESCR b/audio/libmusepack/DESCR
new file mode 100644
index 00000000000..850d102aee0
--- /dev/null
+++ b/audio/libmusepack/DESCR
@@ -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 has rapidly
+developed and vastly improved and is now at an advanced stage in
+which it contains heavily optimized and patentless code.
diff --git a/audio/libmusepack/Makefile b/audio/libmusepack/Makefile
new file mode 100644
index 00000000000..c4ac94eff7d
--- /dev/null
+++ b/audio/libmusepack/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/04 20:28:31 wiz Exp $
+#
+
+DISTNAME= libmusepack-1.0.3
+CATEGORIES= audio
+MASTER_SITES= http://www.saunalahti.fi/grimmel/musepack.net/source/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.musepack.net/
+COMMENT= Portable Musepack decoder library
+
+USE_BUILDLINK3= yes
+USE_LANGUAGES= c++
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libmusepack/PLIST b/audio/libmusepack/PLIST
new file mode 100644
index 00000000000..a23a6f2cef9
--- /dev/null
+++ b/audio/libmusepack/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/04 20:28:31 wiz Exp $
+include/musepack/config_types.h
+include/musepack/mpc_dec.h
+include/musepack/mpc_math.h
+include/musepack/requant.h
+include/musepack/stdafx.h
+include/musepack/streaminfo.h
+lib/libmusepack.la
+@dirrm include/musepack
diff --git a/audio/libmusepack/buildlink3.mk b/audio/libmusepack/buildlink3.mk
new file mode 100644
index 00000000000..559dc42b9f8
--- /dev/null
+++ b/audio/libmusepack/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/04 20:28:32 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMUSEPACK_BUILDLINK3_MK:= ${LIBMUSEPACK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmusepack
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmusepack}
+BUILDLINK_PACKAGES+= libmusepack
+
+.if !empty(LIBMUSEPACK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmusepack+= libmusepack>=1.0.3
+BUILDLINK_PKGSRCDIR.libmusepack?= ../../audio/libmusepack
+.endif # LIBMUSEPACK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libmusepack/distinfo b/audio/libmusepack/distinfo
new file mode 100644
index 00000000000..61ee5df97c5
--- /dev/null
+++ b/audio/libmusepack/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/12/04 20:28:31 wiz Exp $
+
+SHA1 (libmusepack-1.0.3.tar.bz2) = 2c2bc15f960c4593bee209fed939829e82ad030c
+Size (libmusepack-1.0.3.tar.bz2) = 226099 bytes