Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 22:25:36 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29839: New port audio/xmms-crystality
Message-ID:  <200108180225.f7I2PaM52137@cc92687-a.wlgrv1.pa.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         29839
>Category:       ports
>Synopsis:       New port audio/xmms-crystality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 17 19:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Mon Aug 13 19:08:19 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
Realtime plugin for remastering mp3 sound
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmms-crystality/
#	xmms-crystality/Makefile
#	xmms-crystality/distinfo
#	xmms-crystality/pkg-comment
#	xmms-crystality/pkg-descr
#	xmms-crystality/pkg-plist
#	xmms-crystality/files
#	xmms-crystality/files/patch-Makefile
#	xmms-crystality/files/patch-crystality.c
#	xmms-crystality/files/patch-crystality.h
#
echo c - xmms-crystality/
mkdir -p xmms-crystality/ > /dev/null 2>&1
echo x - xmms-crystality/Makefile
sed 's/^X//' >xmms-crystality/Makefile << 'END-of-xmms-crystality/Makefile'
X# New ports collection makefile for:	xmms-crystality
X# Date created:				Fri Aug 17 20:34:09 EDT 2001
X# Whom:					Patrick Li <pat@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	crystality
XPORTVERSION=	0.92
XCATEGORIES=	audio
XMASTER_SITES=	http://fanthom.math.put.poznan.pl/~gyver/crystality/
XDISTNAME=	${PORTNAME}-plugin-${PORTVERSION}
XPKGNAMEPREFIX=	xmms-
X
XMAINTAINER=	pat@databits.net
X
XLIB_DEPENDS=	xmms.2:${PORTSDIR}/audio/xmms
X
XUSE_X_PREFIX=	yes
XUSE_GTK=	yes
XUSE_IMLIB=	yes
XINSTALLS_SHLIB=	yes
XMAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
X		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/crystality-stdio ${PREFIX}/bin
X	@${INSTALL_PROGRAM} ${WRKSRC}/libcrystality.so \
X		${PREFIX}/lib/xmms/Effect
X#	@${LDCONFIG} -m ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-xmms-crystality/Makefile
echo x - xmms-crystality/distinfo
sed 's/^X//' >xmms-crystality/distinfo << 'END-of-xmms-crystality/distinfo'
XMD5 (crystality-plugin-0.92.tar.gz) = 960d69bc3b0c90f4aca2631b35417c73
END-of-xmms-crystality/distinfo
echo x - xmms-crystality/pkg-comment
sed 's/^X//' >xmms-crystality/pkg-comment << 'END-of-xmms-crystality/pkg-comment'
XRealtime plugin for remastering mp3 sound
END-of-xmms-crystality/pkg-comment
echo x - xmms-crystality/pkg-descr
sed 's/^X//' >xmms-crystality/pkg-descr << 'END-of-xmms-crystality/pkg-descr'
XThis software consists of XMMS plugin and stdin/stdout plugin. It was
Xwritten for realtime remastering of sound from mp3 files. You will
Xneed a reasonably good stereo and a good ear to notice quality
Ximprovement, otherwise this is not for you. This plugin tries to
Xpatch mp3 format flaws, not a poor audio hardware! Yes, you should be
Xable to hear well enough (sorry) - for some of my friends plugin is a
Xcool thing, while the others does not hear nothing but echo and
Xstereo expander (well, you will hear every effect if you set it to
Xthe maximum, but it will not sound nice).
X
XWWW: http://fanthom.math.put.poznan.pl/~gyver/crystality/
XAuthor: Rafal Bosak <gyver@fanthom.irc.pl>
END-of-xmms-crystality/pkg-descr
echo x - xmms-crystality/pkg-plist
sed 's/^X//' >xmms-crystality/pkg-plist << 'END-of-xmms-crystality/pkg-plist'
Xbin/crystality-stdio
Xlib/xmms/Effect/libcrystality.so
END-of-xmms-crystality/pkg-plist
echo c - xmms-crystality/files
mkdir -p xmms-crystality/files > /dev/null 2>&1
echo x - xmms-crystality/files/patch-Makefile
sed 's/^X//' >xmms-crystality/files/patch-Makefile << 'END-of-xmms-crystality/files/patch-Makefile'
X--- Makefile.orig	Fri Aug 17 21:58:32 2001
X+++ Makefile	Fri Aug 17 22:03:21 2001
X@@ -1,13 +1,13 @@
X-GTK_CFLAGS=	$(shell gtk-config --cflags)
X+GTK_CFLAGS=	`${GTK_CONFIG} --cflags`
X 
X XMMS_PLUGIN=	libcrystality.so
X XMMS_CFLAGS=	$(shell xmms-config --cflags)
X XMMS_PLUGINDIR=	$(shell xmms-config --effect-plugin-dir)
X 
X STDIO_PLUGIN=	crystality-stdio
X-STDIO_LIBS=	-lpthread $(shell gtk-config --libs)
X+STDIO_LIBS=	${PTHREAD_LIBS} `${GTK_CONFIG} --libs`
X 
X-CFLAGS= -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations $(GTK_CFLAGS)
X+CFLAGS+=	-Wall $(GTK_CFLAGS) ${PTHREAD_CFLAGS}
X 
X 
X TARGETS=	$(XMMS_PLUGIN) $(STDIO_PLUGIN)
X@@ -15,10 +15,10 @@
X all	: $(TARGETS)
X 
X $(STDIO_PLUGIN): crystality.o gui.o stdio.o
X-	cc $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread
X+	${CC} $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o
X 
X $(XMMS_PLUGIN): crystality.o gui.o xmms.o
X-	cc $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o
X+	${CC} $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o
X 
X .c.o	:
X 	cc $(CFLAGS) -c $<
END-of-xmms-crystality/files/patch-Makefile
echo x - xmms-crystality/files/patch-crystality.c
sed 's/^X//' >xmms-crystality/files/patch-crystality.c << 'END-of-xmms-crystality/files/patch-crystality.c'
X--- crystality.c.orig	Fri Aug 17 22:13:00 2001
X+++ crystality.c	Fri Aug 17 22:13:17 2001
X@@ -20,7 +20,7 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <math.h>
X-#include <linux/soundcard.h>
X+#include <machine/soundcard.h>
X 
X #include "crystality.h"
X 
END-of-xmms-crystality/files/patch-crystality.c
echo x - xmms-crystality/files/patch-crystality.h
sed 's/^X//' >xmms-crystality/files/patch-crystality.h << 'END-of-xmms-crystality/files/patch-crystality.h'
X--- crystality.h.orig	Fri Aug 17 22:13:07 2001
X+++ crystality.h	Fri Aug 17 22:13:32 2001
X@@ -17,7 +17,7 @@
X  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
X  */
X 
X-#include <linux/soundcard.h>
X+#include <machine/soundcard.h>
X 
X #define int16 short
X #define int32 long
END-of-xmms-crystality/files/patch-crystality.h
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108180225.f7I2PaM52137>