diff options
author | naddy <naddy@FreeBSD.org> | 2009-01-12 23:38:21 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2009-01-12 23:38:21 +0800 |
commit | ddf22e90c99de398ebce0b0208b59cb679211f07 (patch) | |
tree | f9280225fbe4ad51ff52b2d03e997db657d25896 /audio | |
parent | bea66639c1e2de43a4bbc9c0799065832f7a451b (diff) | |
download | freebsd-ports-gnome-ddf22e90c99de398ebce0b0208b59cb679211f07.tar.gz freebsd-ports-gnome-ddf22e90c99de398ebce0b0208b59cb679211f07.tar.zst freebsd-ports-gnome-ddf22e90c99de398ebce0b0208b59cb679211f07.zip |
Import xmms-wavpack 1.0.2.
xmms-wavpack is a plugin for the multimedia player XMMS that plays
audio files in the WavPack format, which supports lossless and lossy
compression.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/xmms-wavpack/Makefile | 28 | ||||
-rw-r--r-- | audio/xmms-wavpack/distinfo | 3 | ||||
-rw-r--r-- | audio/xmms-wavpack/files/patch-src_libwavpack.cpp | 20 | ||||
-rw-r--r-- | audio/xmms-wavpack/files/patch-src_ui.cpp | 11 | ||||
-rw-r--r-- | audio/xmms-wavpack/pkg-descr | 5 | ||||
-rw-r--r-- | audio/xmms-wavpack/pkg-plist | 2 |
7 files changed, 70 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 39b3f6f926d8..688004a9596f 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -802,6 +802,7 @@ SUBDIR += xmms-tfmx SUBDIR += xmms-uade SUBDIR += xmms-volnorm + SUBDIR += xmms-wavpack SUBDIR += xmms-wma SUBDIR += xmms-xf86audio SUBDIR += xmms-xymms diff --git a/audio/xmms-wavpack/Makefile b/audio/xmms-wavpack/Makefile new file mode 100644 index 000000000000..0e7a939f7b05 --- /dev/null +++ b/audio/xmms-wavpack/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: xmms-wavpack +# Date created: 2009-01-12 +# Whom: Christian Weisgerber <naddy@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= xmms-wavpack +PORTVERSION= 1.0.2 +CATEGORIES= audio +MASTER_SITES= http://www.wavpack.com/ + +MAINTAINER= naddy@FreeBSD.org +COMMENT= XMMS input plugin to play WavPack files + +LIB_DEPENDS= wavpack.1:${PORTSDIR}/audio/wavpack \ + xmms.4:${PORTSDIR}/multimedia/xmms + +RESTRICTED= missing license + +USE_BZIP2= Yes +GNU_CONFIGURE= Yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: + ${RM} ${PREFIX}/lib/xmms/Input/libwavpack.la + +.include <bsd.port.mk> diff --git a/audio/xmms-wavpack/distinfo b/audio/xmms-wavpack/distinfo new file mode 100644 index 000000000000..50a7e4f50a39 --- /dev/null +++ b/audio/xmms-wavpack/distinfo @@ -0,0 +1,3 @@ +MD5 (xmms-wavpack-1.0.2.tar.bz2) = 3e278d29b9609817cb3a2d0a20108d69 +SHA256 (xmms-wavpack-1.0.2.tar.bz2) = 7a7d227120284935f7366c7e1b494d0a84efd7740699ba548b1efd64855d049e +SIZE (xmms-wavpack-1.0.2.tar.bz2) = 233978 diff --git a/audio/xmms-wavpack/files/patch-src_libwavpack.cpp b/audio/xmms-wavpack/files/patch-src_libwavpack.cpp new file mode 100644 index 000000000000..c8dd51f6d972 --- /dev/null +++ b/audio/xmms-wavpack/files/patch-src_libwavpack.cpp @@ -0,0 +1,20 @@ +--- src/libwavpack.cpp.orig 2009-01-12 16:13:13.000000000 +0100 ++++ src/libwavpack.cpp 2009-01-12 16:15:30.000000000 +0100 +@@ -21,7 +21,7 @@ extern "C" { + #define M_LN10 2.3025850929940456840179914546843642 + #endif + +-#define DBG(format, args...) fprintf(stderr, format, ## args) ++#define DBG(format, args...) //fprintf(stderr, format, ## args) + #define BUFFER_SIZE 256 // read buffer size, in samples + + extern "C" InputPlugin * get_iplugin_info(void); +@@ -343,7 +343,7 @@ convertUTF8toLocale(char *utf8) + size_t in_left = strlen(utf8); + size_t out_left = 2 * in_left + 1; + char *buf = (char *)g_malloc(out_left); +- char *in = utf8; ++ const char *in = utf8; + char *out = buf; + + memset(buf, 0, out_left); diff --git a/audio/xmms-wavpack/files/patch-src_ui.cpp b/audio/xmms-wavpack/files/patch-src_ui.cpp new file mode 100644 index 000000000000..de46d855c65e --- /dev/null +++ b/audio/xmms-wavpack/files/patch-src_ui.cpp @@ -0,0 +1,11 @@ +--- src/ui.cpp.orig 2009-01-12 16:16:18.000000000 +0100 ++++ src/ui.cpp 2009-01-12 16:16:26.000000000 +0100 +@@ -21,7 +21,7 @@ extern "C" { + #define M_LN10 2.3025850929940456840179914546843642 + #endif + +-#define DBG(format, args...) fprintf(stderr, format, ## args) ++#define DBG(format, args...) //fprintf(stderr, format, ## args) + + void load_tag(ape_tag *tag, WavpackContext *ctx); + void update_tag(ape_tag *tag, char *filename); diff --git a/audio/xmms-wavpack/pkg-descr b/audio/xmms-wavpack/pkg-descr new file mode 100644 index 000000000000..d434b253c74e --- /dev/null +++ b/audio/xmms-wavpack/pkg-descr @@ -0,0 +1,5 @@ +xmms-wavpack is a plugin for the multimedia player XMMS that plays +audio files in the WavPack format, which supports lossless and lossy +compression. + +WWW: http://www.wavpack.com/ diff --git a/audio/xmms-wavpack/pkg-plist b/audio/xmms-wavpack/pkg-plist new file mode 100644 index 000000000000..4b3b82dcdfb5 --- /dev/null +++ b/audio/xmms-wavpack/pkg-plist @@ -0,0 +1,2 @@ +@comment $FreeBSD$ +lib/xmms/Input/libwavpack.so |