diff options
author | wiz <wiz@pkgsrc.org> | 2014-04-18 12:43:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-04-18 12:43:42 +0000 |
commit | 7b2bac71efc73c8932a30f00d39e6b77a466f15e (patch) | |
tree | 21d3aab5886e54363a7de2065185f362d89fba43 /audio | |
parent | 46300ef31b56922b99649633e7bbfaca36d931ea (diff) | |
download | pkgsrc-7b2bac71efc73c8932a30f00d39e6b77a466f15e.tar.gz |
Import musepack-0rc475 as audio/musepack.
This is a speed and portability optimized version of Andree Buschmann's
MPEG-Plus decoder.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/musepack/DESCR | 2 | ||||
-rw-r--r-- | audio/musepack/Makefile | 23 | ||||
-rw-r--r-- | audio/musepack/PLIST | 16 | ||||
-rw-r--r-- | audio/musepack/buildlink3.mk | 13 | ||||
-rw-r--r-- | audio/musepack/distinfo | 6 | ||||
-rw-r--r-- | audio/musepack/patches/patch-mpcenc_keyboard.c | 15 |
6 files changed, 75 insertions, 0 deletions
diff --git a/audio/musepack/DESCR b/audio/musepack/DESCR new file mode 100644 index 00000000000..a1c5cb5471c --- /dev/null +++ b/audio/musepack/DESCR @@ -0,0 +1,2 @@ +This is a speed and portability optimized version of Andree Buschmann's +MPEG-Plus decoder. diff --git a/audio/musepack/Makefile b/audio/musepack/Makefile new file mode 100644 index 00000000000..e2f5d35d555 --- /dev/null +++ b/audio/musepack/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2014/04/18 12:43:42 wiz Exp $ + +DISTNAME= musepack_src_r475 +PKGNAME= musepack-0rc475 +CATEGORIES= audio +MASTER_SITES= http://files.musepack.net/source/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.musepack.net/ +COMMENT= MPEG-Plus and MusePack decoder (V8) +LICENSE= modified-bsd + +USE_CMAKE= yes + +INSTALLATION_DIRS= lib + +post-install: + rm -rf ${DESTDIR}${PREFIX}/include/mpc/.svn/ + ${INSTALL_LIB} ${WRKSRC}/libmpcdec/libmpcdec.so ${DESTDIR}${PREFIX}/lib + +.include "../../audio/libcuefile/buildlink3.mk" +.include "../../audio/libreplaygain/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/musepack/PLIST b/audio/musepack/PLIST new file mode 100644 index 00000000000..0e313ba15bf --- /dev/null +++ b/audio/musepack/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2014/04/18 12:43:42 wiz Exp $ +bin/mpc2sv8 +bin/mpcchap +bin/mpccut +bin/mpcdec +bin/mpcenc +bin/mpcgain +bin/wavcmp +include/mpc/datatypes.h +include/mpc/minimax.h +include/mpc/mpc_types.h +include/mpc/mpcdec.h +include/mpc/mpcmath.h +include/mpc/reader.h +include/mpc/streaminfo.h +lib/libmpcdec.so diff --git a/audio/musepack/buildlink3.mk b/audio/musepack/buildlink3.mk new file mode 100644 index 00000000000..885f753b70c --- /dev/null +++ b/audio/musepack/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/04/18 12:43:42 wiz Exp $ + +BUILDLINK_TREE+= musepack + +.if !defined(MUSEPACK_BUILDLINK3_MK) +MUSEPACK_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.musepack+= musepack>=0rc475 +BUILDLINK_PKGSRCDIR.musepack?= ../../audio/musepack + +.endif # MUSEPACK_BUILDLINK3_MK + +BUILDLINK_TREE+= -musepack diff --git a/audio/musepack/distinfo b/audio/musepack/distinfo new file mode 100644 index 00000000000..d5e6630d06e --- /dev/null +++ b/audio/musepack/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/04/18 12:43:42 wiz Exp $ + +SHA1 (musepack_src_r475.tar.gz) = bdd4042773eb5c885df70d7a19914fa6e2306391 +RMD160 (musepack_src_r475.tar.gz) = 622d04eeb309beacd2b6bb650178dcdc42773db2 +Size (musepack_src_r475.tar.gz) = 188737 bytes +SHA1 (patch-mpcenc_keyboard.c) = 42e038f003c64369e245e3688f6f0783bd2d443a diff --git a/audio/musepack/patches/patch-mpcenc_keyboard.c b/audio/musepack/patches/patch-mpcenc_keyboard.c new file mode 100644 index 00000000000..2587beb6ff2 --- /dev/null +++ b/audio/musepack/patches/patch-mpcenc_keyboard.c @@ -0,0 +1,15 @@ +$NetBSD: patch-mpcenc_keyboard.c,v 1.1 2014/04/18 12:43:42 wiz Exp $ + +Add header for struct timeval. + +--- mpcenc/keyboard.c.orig 2006-12-19 19:39:02.000000000 +0000 ++++ mpcenc/keyboard.c +@@ -52,6 +52,8 @@ CheckKey ( void ) + + #else + ++#include <sys/time.h> ++ + # ifdef USE_TERMIOS + # include <termios.h> + |