diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-25 09:46:16 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-25 09:46:16 +0000 |
commit | b714ec93da346cc8149f76d5c0cea1733505d344 (patch) | |
tree | 637ba00b44cfb2dda69d06fe8852c7f2127e50df | |
parent | 3f53f1347481f42c96b77d1a7034d9980f4cef55 (diff) | |
download | ports-b714ec93da346cc8149f76d5c0cea1733505d344.tar.gz ports-b714ec93da346cc8149f76d5c0cea1733505d344.zip |
Add sweep - an audio editor for GNOME desktop.
Notes
Notes:
svn path=/head/; revision=33096
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/sweep/Makefile | 42 | ||||
-rw-r--r-- | audio/sweep/distinfo | 1 | ||||
-rw-r--r-- | audio/sweep/files/patch-aa | 11 | ||||
-rw-r--r-- | audio/sweep/files/patch-ab | 10 | ||||
-rw-r--r-- | audio/sweep/pkg-comment | 1 | ||||
-rw-r--r-- | audio/sweep/pkg-descr | 30 | ||||
-rw-r--r-- | audio/sweep/pkg-plist | 6 |
8 files changed, 102 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 032634003284..478638042c8d 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -123,6 +123,7 @@ SUBDIR += splay SUBDIR += splaytk SUBDIR += streamripper + SUBDIR += sweep SUBDIR += tclmidi SUBDIR += teknap SUBDIR += timidity diff --git a/audio/sweep/Makefile b/audio/sweep/Makefile new file mode 100644 index 000000000000..b3188e2812c6 --- /dev/null +++ b/audio/sweep/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: sweep +# Date created: 25 September 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= sweep +PORTVERSION= 0.0.9 +CATEGORIES= audio gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs +RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_LIBTOOL= yes + +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome +CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= sweep.1 + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> diff --git a/audio/sweep/distinfo b/audio/sweep/distinfo new file mode 100644 index 000000000000..1862436b9237 --- /dev/null +++ b/audio/sweep/distinfo @@ -0,0 +1 @@ +MD5 (sweep-0.0.9.tar.gz) = 6d4baf157d31583b830d8bcb15cb9fe2 diff --git a/audio/sweep/files/patch-aa b/audio/sweep/files/patch-aa new file mode 100644 index 000000000000..224eba887c6d --- /dev/null +++ b/audio/sweep/files/patch-aa @@ -0,0 +1,11 @@ +--- src/file_ops.c 2000/09/25 09:15:46 1.1 ++++ src/file_ops.c 2000/09/25 09:15:49 +@@ -54,7 +54,7 @@ + if (!pathname) return NULL; + + samplefile = afOpenFile(pathname, "r", NULL); +- if (samplefile <= 0) ++ if (samplefile == AF_NULL_FILEHANDLE) + /* return (int) samplefile;*/ + return NULL; + diff --git a/audio/sweep/files/patch-ab b/audio/sweep/files/patch-ab new file mode 100644 index 000000000000..800422e290b1 --- /dev/null +++ b/audio/sweep/files/patch-ab @@ -0,0 +1,10 @@ +--- src/driver.c 2000/09/25 09:09:58 1.1 ++++ src/driver.c 2000/09/25 09:10:23 +@@ -24,6 +24,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <sys/time.h> + #include <sys/types.h> + #include <sys/stat.h> diff --git a/audio/sweep/pkg-comment b/audio/sweep/pkg-comment new file mode 100644 index 000000000000..81f1c3ac90e8 --- /dev/null +++ b/audio/sweep/pkg-comment @@ -0,0 +1 @@ +A sound editor for GNOME desktop diff --git a/audio/sweep/pkg-descr b/audio/sweep/pkg-descr new file mode 100644 index 000000000000..c3b34a57b9f0 --- /dev/null +++ b/audio/sweep/pkg-descr @@ -0,0 +1,30 @@ +Sweep is an editor for sound samples. It operates on files of various formats +such as .wav, .aiff and .au, and has multiple undo/redo levels and filters. + +Sweep features: + o Loading and saving of PCM encoded sound formats including AIFF, Sun/NeXT AU + and WAV. + o Multiple views of each sound: you can view different parts of the same sound + in different windows simultaneously, with variable zooming in each view. You + can view the entire sound at once, or zoom right down to the individual + sample values. + o Discontinuous selections: you can select regions of a sound with the mouse. + By holding down the <Shift> key whilst selecting more regions, each region + is added to the total selection. Also, selection boundaries can be moved, + and selection regions merged, at any time. + o Cut, copy and paste: conventional cut or copy selected regions of a sound, + and paste into the same or other sounds. + o Multiple undo and redo: all operations are reversible and can be re-applied. + o Simple effects filters: normalisation (maximal amplification without + degradation) and time reversing of selected regions. + o Playback: playback of entire sound, or of selected regions only. Looped + playback of entire sound or selected regions. Editing and effects are not + disabled during playback, giving you instantaneous feedback of the result of + each action. + o Piano-style playback: the computer keyboard keys behave like musical keys + for playback of instrument samples, so you can hear how the sample will + sound when used in a sequencer or tracker. + o Separate volume levels per view, which can be adjusted with the mouse wheel + if available. + +WWW: http://sweep.sourceforge.net/ diff --git a/audio/sweep/pkg-plist b/audio/sweep/pkg-plist new file mode 100644 index 000000000000..d981eaaf3eb5 --- /dev/null +++ b/audio/sweep/pkg-plist @@ -0,0 +1,6 @@ +bin/sweep +share/gnome/apps/Multimedia/sweep.desktop +share/gnome/pixmaps/sweep.png +share/gnome/sweep/sweep_logo.ppm +share/locale/fr/LC_MESSAGES/sweep.mo +@dirrm share/gnome/sweep |