diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-10-09 09:25:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-10-09 09:25:38 +0000 |
commit | ae6deb96afc7e864a8450606a00fc5d61dabde63 (patch) | |
tree | 17def23dbe61eac91d55e83cc2f98461c8a8e00e /audio | |
parent | f30ad1e5481b3ad97d99f9576d6701b33acc8193 (diff) | |
download | ports-ae6deb96afc7e864a8450606a00fc5d61dabde63.tar.gz ports-ae6deb96afc7e864a8450606a00fc5d61dabde63.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-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 |
5 files changed, 139 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index f7318465d192..38ed416ba417 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -647,6 +647,7 @@ SUBDIR += vorbis-tools SUBDIR += vorbisgain SUBDIR += vsound + SUBDIR += waon SUBDIR += wav2cdr SUBDIR += wavbreaker SUBDIR += waveplay 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 |