summaryrefslogtreecommitdiff
path: root/audio/mppenc
diff options
context:
space:
mode:
authordrochner <drochner>2007-01-25 19:34:22 +0000
committerdrochner <drochner>2007-01-25 19:34:22 +0000
commit54ccd295bc4f2c9d3f495651941b2f0cae15aeba (patch)
tree56f8f0aad336df180e9809c9b0d9f0646512135c /audio/mppenc
parente891dcfdcd1971374ba44e824e99a2a05dfbd145 (diff)
downloadpkgsrc-54ccd295bc4f2c9d3f495651941b2f0cae15aeba.tar.gz
add mppenc-1.16, an encoder for Musepack autio files
Diffstat (limited to 'audio/mppenc')
-rw-r--r--audio/mppenc/DESCR2
-rw-r--r--audio/mppenc/Makefile19
-rw-r--r--audio/mppenc/PLIST2
-rw-r--r--audio/mppenc/distinfo6
-rw-r--r--audio/mppenc/patches/patch-aa13
5 files changed, 42 insertions, 0 deletions
diff --git a/audio/mppenc/DESCR b/audio/mppenc/DESCR
new file mode 100644
index 00000000000..098644ddc05
--- /dev/null
+++ b/audio/mppenc/DESCR
@@ -0,0 +1,2 @@
+This is the latest StreamVersion7 encoder. It's needed to encode
+Wave files to MPC.
diff --git a/audio/mppenc/Makefile b/audio/mppenc/Makefile
new file mode 100644
index 00000000000..95b6dfa595d
--- /dev/null
+++ b/audio/mppenc/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $
+#
+
+DISTNAME= mppenc-1.16
+CATEGORIES= audio
+MASTER_SITES= http://files.musepack.net/source/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.musepack.net/
+COMMENT= Musepack encoder
+
+BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake
+
+do-configure:
+ (cd ${WRKSRC} && ${LOCALBASE}/bin/cmake \
+ -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mppenc/PLIST b/audio/mppenc/PLIST
new file mode 100644
index 00000000000..5bd274f1e5d
--- /dev/null
+++ b/audio/mppenc/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $
+bin/mppenc
diff --git a/audio/mppenc/distinfo b/audio/mppenc/distinfo
new file mode 100644
index 00000000000..370c31208fa
--- /dev/null
+++ b/audio/mppenc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $
+
+SHA1 (mppenc-1.16.tar.bz2) = f7dc898b14e0bd954941c62435a62c23af89cb8a
+RMD160 (mppenc-1.16.tar.bz2) = 6e97bfc246b9db11532a628afba631883687554d
+Size (mppenc-1.16.tar.bz2) = 105569 bytes
+SHA1 (patch-aa) = 4cc88a533db69fbd8c650358e20f261e162d1049
diff --git a/audio/mppenc/patches/patch-aa b/audio/mppenc/patches/patch-aa
new file mode 100644
index 00000000000..e01cc0c44c9
--- /dev/null
+++ b/audio/mppenc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $
+
+--- src/CMakeLists.txt.orig 2007-01-25 16:04:46.000000000 +0100
++++ src/CMakeLists.txt
+@@ -12,5 +12,8 @@ endif(NOT MSVC)
+ if(CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
+ target_link_libraries(mppenc ossaudio)
+ endif(CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
++if(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
++target_link_libraries(mppenc ossaudio)
++endif(CMAKE_SYSTEM_NAME STREQUAL NetBSD)
+
+ install(TARGETS mppenc RUNTIME DESTINATION bin)