diff options
author | miwi <miwi@FreeBSD.org> | 2007-10-09 17:25:38 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-10-09 17:25:38 +0800 |
commit | 6fc36a6db679d40a95203d23419650d15878c15d (patch) | |
tree | 7d42685d7528ccd6431a172f4f7501e6feda3828 /audio/waon | |
parent | 0d10da12913301220fff8d93b2a3ad4f4e1167a9 (diff) | |
download | freebsd-ports-gnome-6fc36a6db679d40a95203d23419650d15878c15d.tar.gz freebsd-ports-gnome-6fc36a6db679d40a95203d23419650d15878c15d.tar.zst freebsd-ports-gnome-6fc36a6db679d40a95203d23419650d15878c15d.zip |
WaoN is a Wave-to-Notes transcriber (converts audio file into midi file)
and some utility tools such as gWaoN, graphical visualization of the
spectra, and phase vocoder for time-stretching and pitch-shifting.
WWW: http://waon.sourceforge.net/
PR: ports/117034
Submitted by: Kengo Ichiki <kichiki at users.sourceforge.net>
Diffstat (limited to 'audio/waon')
-rw-r--r-- | audio/waon/Makefile | 30 | ||||
-rw-r--r-- | audio/waon/distinfo | 3 | ||||
-rw-r--r-- | audio/waon/files/patch-Makefile | 97 | ||||
-rw-r--r-- | audio/waon/pkg-descr | 8 |
4 files changed, 138 insertions, 0 deletions
diff --git a/audio/waon/Makefile b/audio/waon/Makefile new file mode 100644 index 000000000000..bccd3b5f9f95 --- /dev/null +++ b/audio/waon/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: waon +# Date created: 8 October 2007 +# Whom: Kengo Ichiki <kichiki@users.sourceforge.net> +# +# $FreeBSD$ +# + +PORTNAME= waon +PORTVERSION= 0.8 +CATEGORIES= audio +MASTER_SITES= SF + +MAINTAINER= kichiki@users.sourceforge.net +COMMENT= A Wave-to-Notes transcriber and some utility tools + +LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3 \ + ao.3:${PORTSDIR}/audio/libao \ + sndfile.1:${PORTSDIR}/audio/libsndfile \ + samplerate.1:${PORTSDIR}/audio/libsamplerate + +USE_GNOME= gtk20 + +PLIST_FILES= bin/waon bin/pv bin/gwaon + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/waon ${PREFIX}/bin/waon + ${INSTALL_PROGRAM} ${WRKSRC}/pv ${PREFIX}/bin/pv + ${INSTALL_PROGRAM} ${WRKSRC}/gwaon ${PREFIX}/bin/gwaon + +.include <bsd.port.mk> diff --git a/audio/waon/distinfo b/audio/waon/distinfo new file mode 100644 index 000000000000..34db88d4c6de --- /dev/null +++ b/audio/waon/distinfo @@ -0,0 +1,3 @@ +MD5 (waon-0.8.tar.gz) = 74418940418c3162eda880b5744b8c46 +SHA256 (waon-0.8.tar.gz) = 6f27e8d4c4f314208c7712bcb776ffcfaf562205a807a7b52b6bc873cc86787d +SIZE (waon-0.8.tar.gz) = 65994 diff --git a/audio/waon/files/patch-Makefile b/audio/waon/files/patch-Makefile new file mode 100644 index 000000000000..4e66a743a3ca --- /dev/null +++ b/audio/waon/files/patch-Makefile @@ -0,0 +1,97 @@ +*** Makefile.orig Wed Dec 31 17:00:00 1969 +--- Makefile Mon Oct 8 18:54:48 2007 +*************** +*** 0 **** +--- 1,92 ---- ++ ++ LD = $(CC) ++ RM = rm -f ++ ++ all: waon pv gwaon ++ ++ CFLAGS += \ ++ -Wall -O3 \ ++ `pkg-config --cflags fftw3` \ ++ `pkg-config --cflags sndfile` \ ++ `pkg-config --cflags ao` \ ++ `pkg-config --cflags samplerate` \ ++ `pkg-config --cflags gtk+-2.0` ++ ++ ## waon ++ waon_LDFLAGS = \ ++ -L/usr/local/lib \ ++ `pkg-config --libs fftw3` \ ++ `pkg-config --libs sndfile` \ ++ -lm ++ ++ waon_OBJS = \ ++ main.o \ ++ midi.o \ ++ analyse.o \ ++ fft.o \ ++ hc.o \ ++ snd.o ++ ++ waon: $(waon_OBJS) ++ $(CC) $(CFLAGS) -o waon $(waon_OBJS) $(waon_LDFLAGS) ++ ++ ## pv ++ pv_LIBS =\ ++ `pkg-config --libs ao` \ ++ `pkg-config --libs sndfile` \ ++ `pkg-config --libs fftw3` \ ++ `pkg-config --libs samplerate` \ ++ -lm ++ ++ pv_LDFLAGS = ++ ++ pv_OBJ = \ ++ pv.o \ ++ pv-complex.o \ ++ pv-conventional.o \ ++ pv-ellis.o \ ++ pv-freq.o \ ++ pv-loose-lock.o \ ++ hc.o \ ++ fft.o \ ++ snd.o \ ++ ao-wrapper.o ++ ++ ++ pv: $(pv_OBJ) ++ $(LD) $(pv_LDFLAGS) -o pv $(pv_OBJ) $(pv_LIBS) ++ ++ ## gwaon ++ gwaon_LIBS = \ ++ `pkg-config --libs gtk+-2.0` \ ++ `pkg-config --libs ao` \ ++ `pkg-config --libs sndfile` \ ++ `pkg-config --libs fftw3` \ ++ `pkg-config --libs samplerate` \ ++ -lm ++ ++ gwaon_LDFLAGS = ++ ++ gwaon_OBJ = \ ++ gwaon.o \ ++ gwaon-menu.o \ ++ gwaon-about.o \ ++ gwaon-wav.o \ ++ gwaon-play.o \ ++ pv-complex.o \ ++ pv-conventional.o \ ++ ao-wrapper.o \ ++ gtk-color.o \ ++ snd.o \ ++ hc.o \ ++ fft.o \ ++ midi.o ++ ++ gwaon: $(gwaon_OBJ) ++ $(LD) $(gwaon_LDFLAGS) -o gwaon $(gwaon_OBJ) $(gwaon_LIBS) ++ ++ clean: ++ $(RM) *.o *~ *.core \ ++ waon \ ++ pv \ ++ gwaon diff --git a/audio/waon/pkg-descr b/audio/waon/pkg-descr new file mode 100644 index 000000000000..b8e263891d07 --- /dev/null +++ b/audio/waon/pkg-descr @@ -0,0 +1,8 @@ +WaoN is a Wave-to-Notes transcriber (converts audio file into midi file) +and some utility tools such as gWaoN, graphical visualization of the +spectra, and phase vocoder for time-stretching and pitch-shifting. + +WWW: http://waon.sourceforge.net/ + +- Kengo Ichiki +kichiki@users.sourceforge.net |