mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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.
This commit is contained in:
parent
c817bd6c33
commit
c3acdbabdc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225861
7 changed files with 70 additions and 0 deletions
|
@ -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
|
||||
|
|
28
audio/xmms-wavpack/Makefile
Normal file
28
audio/xmms-wavpack/Makefile
Normal file
|
@ -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>
|
3
audio/xmms-wavpack/distinfo
Normal file
3
audio/xmms-wavpack/distinfo
Normal file
|
@ -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
|
20
audio/xmms-wavpack/files/patch-src_libwavpack.cpp
Normal file
20
audio/xmms-wavpack/files/patch-src_libwavpack.cpp
Normal file
|
@ -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);
|
11
audio/xmms-wavpack/files/patch-src_ui.cpp
Normal file
11
audio/xmms-wavpack/files/patch-src_ui.cpp
Normal file
|
@ -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);
|
5
audio/xmms-wavpack/pkg-descr
Normal file
5
audio/xmms-wavpack/pkg-descr
Normal file
|
@ -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/
|
2
audio/xmms-wavpack/pkg-plist
Normal file
2
audio/xmms-wavpack/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $FreeBSD$
|
||||
lib/xmms/Input/libwavpack.so
|
Loading…
Add table
Reference in a new issue