From 65a2512391cbbee0896295ea6d31ba2a35b9bd74 Mon Sep 17 00:00:00 2001 From: lioux Date: Wed, 29 Aug 2001 16:24:21 +0000 Subject: New port xmms-crystality version 0.92: Realtime XMMS plugin for remastering mp3 sound PR: 29839 Submitted by: Patrick Li --- audio/Makefile | 1 + audio/xmms-crystality/Makefile | 31 +++++++++++++++++++++++++ audio/xmms-crystality/distinfo | 1 + audio/xmms-crystality/files/patch-Makefile | 32 ++++++++++++++++++++++++++ audio/xmms-crystality/files/patch-crystality.c | 11 +++++++++ audio/xmms-crystality/files/patch-crystality.h | 11 +++++++++ audio/xmms-crystality/pkg-comment | 1 + audio/xmms-crystality/pkg-descr | 12 ++++++++++ audio/xmms-crystality/pkg-plist | 2 ++ 9 files changed, 102 insertions(+) create mode 100644 audio/xmms-crystality/Makefile create mode 100644 audio/xmms-crystality/distinfo create mode 100644 audio/xmms-crystality/files/patch-Makefile create mode 100644 audio/xmms-crystality/files/patch-crystality.c create mode 100644 audio/xmms-crystality/files/patch-crystality.h create mode 100644 audio/xmms-crystality/pkg-comment create mode 100644 audio/xmms-crystality/pkg-descr create mode 100644 audio/xmms-crystality/pkg-plist (limited to 'audio') diff --git a/audio/Makefile b/audio/Makefile index f857501a9c9..56463305091 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -225,6 +225,7 @@ SUBDIR += xmmix SUBDIR += xmms SUBDIR += xmms-crossfade + SUBDIR += xmms-crystality SUBDIR += xmms-kde SUBDIR += xmms-liveice SUBDIR += xmms-quix3dn diff --git a/audio/xmms-crystality/Makefile b/audio/xmms-crystality/Makefile new file mode 100644 index 00000000000..1ef8ca8c125 --- /dev/null +++ b/audio/xmms-crystality/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xmms-crystality +# Date created: Fri Aug 17 20:34:09 EDT 2001 +# Whom: Patrick Li +# +# $FreeBSD$ +# + +PORTNAME= crystality +PORTVERSION= 0.92 +CATEGORIES= audio +MASTER_SITES= http://fanthom.math.put.poznan.pl/~gyver/crystality/ +PKGNAMEPREFIX= xmms- +DISTNAME= ${PORTNAME}-plugin-${PORTVERSION} + +MAINTAINER= pat@databits.net + +LIB_DEPENDS= xmms.2:${PORTSDIR}/audio/xmms + +USE_X_PREFIX= yes +USE_GTK= yes +USE_IMLIB= yes +INSTALLS_SHLIB= yes +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/crystality-stdio ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/libcrystality.so \ + ${PREFIX}/lib/xmms/Effect + +.include diff --git a/audio/xmms-crystality/distinfo b/audio/xmms-crystality/distinfo new file mode 100644 index 00000000000..bda25d6928e --- /dev/null +++ b/audio/xmms-crystality/distinfo @@ -0,0 +1 @@ +MD5 (crystality-plugin-0.92.tar.gz) = 960d69bc3b0c90f4aca2631b35417c73 diff --git a/audio/xmms-crystality/files/patch-Makefile b/audio/xmms-crystality/files/patch-Makefile new file mode 100644 index 00000000000..6725d19f2be --- /dev/null +++ b/audio/xmms-crystality/files/patch-Makefile @@ -0,0 +1,32 @@ +--- Makefile.orig Fri Aug 17 21:58:32 2001 ++++ Makefile Fri Aug 17 22:03:21 2001 +@@ -1,13 +1,13 @@ +-GTK_CFLAGS= $(shell gtk-config --cflags) ++GTK_CFLAGS= `${GTK_CONFIG} --cflags` + + XMMS_PLUGIN= libcrystality.so + XMMS_CFLAGS= $(shell xmms-config --cflags) + XMMS_PLUGINDIR= $(shell xmms-config --effect-plugin-dir) + + STDIO_PLUGIN= crystality-stdio +-STDIO_LIBS= -lpthread $(shell gtk-config --libs) ++STDIO_LIBS= ${PTHREAD_LIBS} `${GTK_CONFIG} --libs` + +-CFLAGS= -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations $(GTK_CFLAGS) ++CFLAGS+= -Wall $(GTK_CFLAGS) ${PTHREAD_CFLAGS} + + + TARGETS= $(XMMS_PLUGIN) $(STDIO_PLUGIN) +@@ -15,10 +15,10 @@ + all : $(TARGETS) + + $(STDIO_PLUGIN): crystality.o gui.o stdio.o +- cc $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread ++ ${CC} $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o + + $(XMMS_PLUGIN): crystality.o gui.o xmms.o +- cc $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o ++ ${CC} $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o + + .c.o : + cc $(CFLAGS) -c $< diff --git a/audio/xmms-crystality/files/patch-crystality.c b/audio/xmms-crystality/files/patch-crystality.c new file mode 100644 index 00000000000..6a4d6984eed --- /dev/null +++ b/audio/xmms-crystality/files/patch-crystality.c @@ -0,0 +1,11 @@ +--- crystality.c.orig Fri Aug 17 22:13:00 2001 ++++ crystality.c Fri Aug 17 22:13:17 2001 +@@ -20,7 +20,7 @@ + #include + #include + #include +-#include ++#include + + #include "crystality.h" + diff --git a/audio/xmms-crystality/files/patch-crystality.h b/audio/xmms-crystality/files/patch-crystality.h new file mode 100644 index 00000000000..b55525ca13d --- /dev/null +++ b/audio/xmms-crystality/files/patch-crystality.h @@ -0,0 +1,11 @@ +--- crystality.h.orig Fri Aug 17 22:13:07 2001 ++++ crystality.h Fri Aug 17 22:13:32 2001 +@@ -17,7 +17,7 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include ++#include + + #define int16 short + #define int32 long diff --git a/audio/xmms-crystality/pkg-comment b/audio/xmms-crystality/pkg-comment new file mode 100644 index 00000000000..aa27da31504 --- /dev/null +++ b/audio/xmms-crystality/pkg-comment @@ -0,0 +1 @@ +Realtime XMMS plugin for remastering mp3 sound diff --git a/audio/xmms-crystality/pkg-descr b/audio/xmms-crystality/pkg-descr new file mode 100644 index 00000000000..9e02ce2b396 --- /dev/null +++ b/audio/xmms-crystality/pkg-descr @@ -0,0 +1,12 @@ +This software consists of XMMS plugin and stdin/stdout plugin. It +was written for realtime remastering of sound from mp3 files. You +will need a reasonably good stereo and a good ear to notice quality +improvement, otherwise this is not for you. This plugin tries to +patch mp3 format flaws, not a poor audio hardware! Yes, you should +be able to hear well enough (sorry) - for some of my friends plugin +is a cool thing, while the others does not hear nothing but echo +and stereo expander (well, you will hear every effect if you set +it to the maximum, but it will not sound nice). + +WWW: http://fanthom.math.put.poznan.pl/~gyver/crystality/ +Author: Rafal Bosak diff --git a/audio/xmms-crystality/pkg-plist b/audio/xmms-crystality/pkg-plist new file mode 100644 index 00000000000..040112c8e36 --- /dev/null +++ b/audio/xmms-crystality/pkg-plist @@ -0,0 +1,2 @@ +bin/crystality-stdio +lib/xmms/Effect/libcrystality.so -- cgit