aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-17 03:23:46 +0800
committerdanfe <danfe@FreeBSD.org>2005-05-17 03:23:46 +0800
commit2aa15f3472fab1374769ec22f873e6ac38295828 (patch)
treefeba1045b1415e5516b6d69548d012a4e5e27d77 /audio
parent064de1b6efc8cd7523a5d100876b5328ac6d91b1 (diff)
downloadfreebsd-ports-graphics-2aa15f3472fab1374769ec22f873e6ac38295828.tar.gz
freebsd-ports-graphics-2aa15f3472fab1374769ec22f873e6ac38295828.tar.zst
freebsd-ports-graphics-2aa15f3472fab1374769ec22f873e6ac38295828.zip
Add ReZound, awesome graphical audio file editor with tons of features.
WWW: http://rezound.sourceforge.net/
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/rezound/Makefile139
-rw-r--r--audio/rezound/distinfo2
-rw-r--r--audio/rezound/files/patch-src_backend_AStatusComm.cpp19
-rw-r--r--audio/rezound/pkg-descr4
-rw-r--r--audio/rezound/pkg-plist16
6 files changed, 181 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ee0a43ac865..6edbdbf1a5a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -381,6 +381,7 @@
SUBDIR += replay
SUBDIR += resid
SUBDIR += rexima
+ SUBDIR += rezound
SUBDIR += rhythmbox
SUBDIR += rio
SUBDIR += rio500
diff --git a/audio/rezound/Makefile b/audio/rezound/Makefile
new file mode 100644
index 00000000000..9d11942662b
--- /dev/null
+++ b/audio/rezound/Makefile
@@ -0,0 +1,139 @@
+# New ports collection makefile for: ReZound
+# Date created: 17 May 2005
+# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rezound
+DISTVERSION= 0.12.0beta
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Graphical audio file editor
+
+BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
+LIB_DEPENDS= FOX-1.4.7:${PORTSDIR}/x11-toolkits/fox-devel
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
+CONFIGURE_ARGS+= --disable-alsa
+USE_REINPLACE= yes
+
+OPTIONS= LARGEFILE "Enable 64-bit file I/O support (BROKEN!)" off \
+ JACK "Enable Jack audio server support" on \
+ AUDIOFILE "Enable Audio File Library support" on \
+ PORTAUDIO "Enable PortAudio support" on \
+ OGG "Enable OGG support" on \
+ VORBIS "Enable Vorbis support" on \
+ FLAC "Enable FLAC support" on \
+ FFTW "Enable FFTW support" on \
+ SOUNDTOUCH "Enable SoundTouch features" on \
+ LADSPA "Enable LADSPA plugin support" on \
+ LAME "Enable loading and saving MP3s" on \
+ CDRDAO "Enable burning audio files to CD" on \
+ NLS "Enable National Language Support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LARGEFILE)
+CONFIGURE_ARGS+= --enable-largefile
+BROKEN= "no expl(), logl(), nearbyintl(), et al"
+.endif
+
+.if defined(WITH_JACK)
+LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
+.endif
+
+.if defined(WITH_AUDIOFILE)
+LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
+.endif
+
+.if defined(WITH_PORTAUDIO)
+LIB_DEPENDS+= portaudio.0:${PORTSDIR}/audio/portaudio
+.endif
+
+.if defined(WITH_OGG)
+LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
+.endif
+
+.if defined(WITH_VORBIS)
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.endif
+
+.if defined(WITH_FLAC)
+LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac
+.endif
+
+.if defined(WITH_FFTW)
+BUILD_DEPENDS+= ${LOCALBASE}/include/fftw.h:${PORTSDIR}/math/fftw
+.endif
+
+.if defined(WITH_SOUNDTOUCH)
+BUILD_DEPENDS+= ${LOCALBASE}/include/soundtouch/SoundTouch.h:${PORTSDIR}/audio/soundtouch
+.endif
+
+.if defined(WITH_LADSPA)
+RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa
+.else
+CONFIGURE_ARGS+= --disable-ladspa
+.endif
+
+.if defined(WITH_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+.endif
+
+.if defined(WITH_CDRDAO)
+RUN_DEPENDS+= cdrdao:${PORTSDIR}/sysutils/cdrdao
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-patch: .SILENT
+.if ${OSVERSION} > 500027
+ ${REINPLACE_CMD} -e '/atoll/d' ${WRKSRC}/config/platform/bsd.h
+.endif
+.if ${OSVERSION} > 502112
+ ${REINPLACE_CMD} -e '/round/d' ${WRKSRC}/config/platform/bsd.h
+.endif
+.if ${OSVERSION} > 502120
+ ${REINPLACE_CMD} -e '/nearbyint/d' ${WRKSRC}/config/platform/bsd.h
+.endif
+ ${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...),' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \
+ ${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/misc/Makefile.in \
+ ${WRKSRC}/src/misc/CNestedDataFile/Makefile.in \
+ ${WRKSRC}/src/PoolFile/Makefile.in \
+ ${WRKSRC}/src/backend/DSP/Makefile.in \
+ ${WRKSRC}/src/backend/Makefile.in \
+ ${WRKSRC}/src/backend/File/Makefile.in \
+ ${WRKSRC}/src/backend/Edits/Makefile.in \
+ ${WRKSRC}/src/backend/Effects/Makefile.in \
+ ${WRKSRC}/src/backend/Filters/Makefile.in \
+ ${WRKSRC}/src/backend/Looping/Makefile.in \
+ ${WRKSRC}/src/backend/Generate/Makefile.in \
+ ${WRKSRC}/src/backend/Remaster/Makefile.in \
+ ${WRKSRC}/src/backend/LADSPA/Makefile.in \
+ ${WRKSRC}/src/frontend_fox/Makefile.in
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' ${WRKSRC}/Makefile.in
+.else
+ ${REINPLACE_CMD} -e '/AUTHORS/d; /COPYING/d' ${WRKSRC}/Makefile.in
+.endif
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/share/key_bindings.dat ${DATADIR}
+
+.include <bsd.port.post.mk>
diff --git a/audio/rezound/distinfo b/audio/rezound/distinfo
new file mode 100644
index 00000000000..e826dd57610
--- /dev/null
+++ b/audio/rezound/distinfo
@@ -0,0 +1,2 @@
+MD5 (rezound-0.12.0beta.tar.gz) = 3a47c848da6093f8d213d4529e3cdec3
+SIZE (rezound-0.12.0beta.tar.gz) = 1784776
diff --git a/audio/rezound/files/patch-src_backend_AStatusComm.cpp b/audio/rezound/files/patch-src_backend_AStatusComm.cpp
new file mode 100644
index 00000000000..e9f52f2faa8
--- /dev/null
+++ b/audio/rezound/files/patch-src_backend_AStatusComm.cpp
@@ -0,0 +1,19 @@
+--- src/backend/AStatusComm.cpp.orig Sun May 1 09:53:40 2005
++++ src/backend/AStatusComm.cpp Mon May 16 21:35:32 2005
+@@ -94,12 +94,12 @@
+
+ // --- CStatusBar --------------------------------------
+
+-#include <sys/timeb.h>
++#include <sys/time.h>
+ static unsigned long getCurrentMilliseconds()
+ {
+- struct timeb tb;
+- ftime(&tb);
+- return (unsigned long)tb.time*1000UL+(unsigned long)tb.millitm;
++ struct timeval tp;
++ (void)gettimeofday(&tp, NULL);
++ return (unsigned long)tp.tv_sec*1000UL+(unsigned long)tp.tv_usec/1000UL;
+ }
+
+ CStatusBar::CStatusBar(const string title,const sample_pos_t firstValue,const sample_pos_t lastValue,const bool showCancelButton) :
diff --git a/audio/rezound/pkg-descr b/audio/rezound/pkg-descr
new file mode 100644
index 00000000000..6eb1da8ccc1
--- /dev/null
+++ b/audio/rezound/pkg-descr
@@ -0,0 +1,4 @@
+ReZound aims to be a stable, open source, and graphical audio file editor
+primarily for but not limited to the Linux operating system.
+
+WWW: http://rezound.sourceforge.net/
diff --git a/audio/rezound/pkg-plist b/audio/rezound/pkg-plist
new file mode 100644
index 00000000000..172c59c5e09
--- /dev/null
+++ b/audio/rezound/pkg-plist
@@ -0,0 +1,16 @@
+bin/rezound
+%%DATADIR%%/icon_logo_32.gif
+%%DATADIR%%/impulse_hall1.wav
+%%DATADIR%%/key_bindings.dat
+%%DATADIR%%/menu.dat
+%%DATADIR%%/presets.dat
+@dirrm %%DATADIR%%
+%%NLS%%share/locale/de/LC_MESSAGES/rezound.mo
+%%NLS%%share/locale/es/LC_MESSAGES/rezound.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/rezound.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/rezound.mo
+%%PORTDOCS%%%%DOCSDIR%%/Features.txt
+%%PORTDOCS%%%%DOCSDIR%%/FrontendFoxFeatures.txt
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%