mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
New port xmms-speex version 0.6.0: XMMS input plugin to play speex
files Submitted by: David Yeske <dyeske@yahoo.com>
This commit is contained in:
parent
3ab1729682
commit
da0cf1ebe4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67452
@ -295,6 +295,7 @@
|
||||
SUBDIR += xmms-sid
|
||||
SUBDIR += xmms-sndfile
|
||||
SUBDIR += xmms-sndstretch
|
||||
SUBDIR += xmms-speex
|
||||
SUBDIR += xmms-tfmx
|
||||
SUBDIR += xmms-volnorm
|
||||
SUBDIR += xmp
|
||||
|
39
audio/xmms-speex/Makefile
Normal file
39
audio/xmms-speex/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: xmms-speex
|
||||
# Date created: 3 Oct 2002
|
||||
# Whom: David Yeske <dyeske@yahoo.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xmms-speex
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://jzb.rapanden.dk/speex/
|
||||
DISTNAME= speex-xmms-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dyeske@yahoo.com
|
||||
|
||||
BUILD_DEPENDS= xmms-config:${PORTSDIR}/audio/xmms
|
||||
LIB_DEPENDS= speex.0:${PORTSDIR}/audio/speex
|
||||
RUN_DEPENDS= xmms:${PORTSDIR}/audio/xmms
|
||||
|
||||
WRKSRC= ${WRKDIR}/speex-xmms
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOMENG= yes
|
||||
USE_GNOME= gtk12
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's|^main|all|; \
|
||||
s|-lgtk|${CFLAGS} `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs` |; \
|
||||
s|-I/usr/include/xmms||; \
|
||||
s|^install: libspeex.o|install:|; \
|
||||
s|-I/usr/lib/glib/include||; \
|
||||
s|-I/usr/include/glib-1.2||; \
|
||||
s|-I/usr/include/gtk-1.2||; \
|
||||
s|/usr/lib/xmms/Input|${X11BASE}/lib/xmms/Input|' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
1
audio/xmms-speex/distinfo
Normal file
1
audio/xmms-speex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (speex-xmms-0.6.0.tar.gz) = b4014356ef929706444ff98639550460
|
20
audio/xmms-speex/files/patch-libspeex.c
Normal file
20
audio/xmms-speex/files/patch-libspeex.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- libspeex.c.orig Sat Sep 21 13:18:53 2002
|
||||
+++ libspeex.c Sat Sep 21 13:23:14 2002
|
||||
@@ -385,7 +385,7 @@
|
||||
#endif
|
||||
|
||||
speex_bits_rewind(&sbits);
|
||||
- speex_decode(spx_decoder, &sbits, outbuff, 1);
|
||||
+ speex_decode(spx_decoder, &sbits, outbuff);
|
||||
|
||||
// Converting and clipping check
|
||||
for (i = 0; i < speex_fs->framesize; i++) {
|
||||
@@ -455,7 +455,7 @@
|
||||
// For multiple frames within packets
|
||||
for (j=0; j < speex_fs->nframes; j++)
|
||||
{
|
||||
- speex_decode(spx_decoder, &sbits, outbuff, 0);
|
||||
+ speex_decode(spx_decoder, &sbits, outbuff);
|
||||
|
||||
// Converting and clipping check
|
||||
for (i = 0; i < speex_fs->framesize; i++) {
|
1
audio/xmms-speex/pkg-comment
Normal file
1
audio/xmms-speex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
XMMS input plugin to play speex files
|
6
audio/xmms-speex/pkg-descr
Normal file
6
audio/xmms-speex/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
A plugin to make xmms play files compressed with the Speex codec
|
||||
|
||||
WWW: http://jzb.rapanden.dk/speex/
|
||||
|
||||
- David
|
||||
dyeske@yahoo.com
|
1
audio/xmms-speex/pkg-plist
Normal file
1
audio/xmms-speex/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
lib/xmms/Input/libspeex.so
|
Loading…
Reference in New Issue
Block a user