aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-30 00:24:21 +0800
committerlioux <lioux@FreeBSD.org>2001-08-30 00:24:21 +0800
commit65a2512391cbbee0896295ea6d31ba2a35b9bd74 (patch)
tree360e188330edb17804e396ce25bc143d391f5ba9 /audio
parent6e87b2c8aa7fdf2e3d3e3abca8bf3e39dcf021d5 (diff)
downloadfreebsd-ports-gnome-65a2512391cbbee0896295ea6d31ba2a35b9bd74.tar.gz
freebsd-ports-gnome-65a2512391cbbee0896295ea6d31ba2a35b9bd74.tar.zst
freebsd-ports-gnome-65a2512391cbbee0896295ea6d31ba2a35b9bd74.zip
New port xmms-crystality version 0.92: Realtime XMMS plugin for
remastering mp3 sound PR: 29839 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/xmms-crystality/Makefile31
-rw-r--r--audio/xmms-crystality/distinfo1
-rw-r--r--audio/xmms-crystality/files/patch-Makefile32
-rw-r--r--audio/xmms-crystality/files/patch-crystality.c11
-rw-r--r--audio/xmms-crystality/files/patch-crystality.h11
-rw-r--r--audio/xmms-crystality/pkg-comment1
-rw-r--r--audio/xmms-crystality/pkg-descr12
-rw-r--r--audio/xmms-crystality/pkg-plist2
9 files changed, 102 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index f857501a9c9f..564633050915 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 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