diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-29 16:24:21 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-29 16:24:21 +0000 |
commit | 574bcefe7fd05961ba971c0a0e594d40a2418920 (patch) | |
tree | 36df03137abe6e22c2160baa08af123619e0a9fd /audio/xmms-crystality | |
parent | d1b5b62cbb3c4e66322b97a56787d3a2c72aced1 (diff) | |
download | ports-574bcefe7fd05961ba971c0a0e594d40a2418920.tar.gz ports-574bcefe7fd05961ba971c0a0e594d40a2418920.zip |
Notes
Diffstat (limited to 'audio/xmms-crystality')
-rw-r--r-- | audio/xmms-crystality/Makefile | 31 | ||||
-rw-r--r-- | audio/xmms-crystality/distinfo | 1 | ||||
-rw-r--r-- | audio/xmms-crystality/files/patch-Makefile | 32 | ||||
-rw-r--r-- | audio/xmms-crystality/files/patch-crystality.c | 11 | ||||
-rw-r--r-- | audio/xmms-crystality/files/patch-crystality.h | 11 | ||||
-rw-r--r-- | audio/xmms-crystality/pkg-comment | 1 | ||||
-rw-r--r-- | audio/xmms-crystality/pkg-descr | 12 | ||||
-rw-r--r-- | audio/xmms-crystality/pkg-plist | 2 |
8 files changed, 101 insertions, 0 deletions
diff --git a/audio/xmms-crystality/Makefile b/audio/xmms-crystality/Makefile new file mode 100644 index 000000000000..1ef8ca8c125e --- /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 <pat@databits.net> +# +# $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 <bsd.port.mk> diff --git a/audio/xmms-crystality/distinfo b/audio/xmms-crystality/distinfo new file mode 100644 index 000000000000..bda25d6928ea --- /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 000000000000..6725d19f2be0 --- /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 000000000000..6a4d6984eed6 --- /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 <stdio.h> + #include <stdlib.h> + #include <math.h> +-#include <linux/soundcard.h> ++#include <machine/soundcard.h> + + #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 000000000000..b55525ca13df --- /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 <linux/soundcard.h> ++#include <machine/soundcard.h> + + #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 000000000000..aa27da315046 --- /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 000000000000..9e02ce2b3963 --- /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 <gyver@fanthom.irc.pl> diff --git a/audio/xmms-crystality/pkg-plist b/audio/xmms-crystality/pkg-plist new file mode 100644 index 000000000000..040112c8e36a --- /dev/null +++ b/audio/xmms-crystality/pkg-plist @@ -0,0 +1,2 @@ +bin/crystality-stdio +lib/xmms/Effect/libcrystality.so |