mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add swami 0.9.2,
Swami - Sampled Waveforms and And Musical Instruments - is an advanced instrument editor for MIDI music composition and a sampler frontend. Currently SoundFont(r) files can be browsed, edited and saved and new instrument formats are being added in the Swami development version. Swami uses FluidSynth for software synthesis, so almost any sound card can be used. FluidSynth has real time effect control and SoundFont 2.01 modulator support for controlling effects in real time with MIDI. PR: ports/68335 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
This commit is contained in:
parent
18dd10fbb7
commit
3853ed3f1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112302
@ -347,6 +347,7 @@
|
||||
SUBDIR += streamtuner-local
|
||||
SUBDIR += streamtuner-python
|
||||
SUBDIR += streamtuner-xiph
|
||||
SUBDIR += swami
|
||||
SUBDIR += sweep
|
||||
SUBDIR += swhplugins
|
||||
SUBDIR += taglib
|
||||
|
44
audio/swami/Makefile
Normal file
44
audio/swami/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# New ports collection makefile for: Swami
|
||||
# Date created: 25 Jun 2004
|
||||
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= swami
|
||||
PORTVERSION= 0.9.2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= jylefort@brutele.be
|
||||
COMMENT= An advanced instrument editor
|
||||
|
||||
LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
fluidsynth:${PORTSDIR}/audio/fluidsynth \
|
||||
sndfile:${PORTSDIR}/audio/libsndfile \
|
||||
audiofile:${PORTSDIR}/audio/libaudiofile
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_BZIP2= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER= 14
|
||||
USE_GNOME= gnomelibs gnometarget
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|libpng|libpng12|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/AUTHORS \
|
||||
${WRKSRC}/NEWS \
|
||||
${WRKSRC}/README \
|
||||
${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/swami/distinfo
Normal file
2
audio/swami/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (swami-0.9.2.tar.bz2) = 72e981c592165537d86ae37fd21e3933
|
||||
SIZE (swami-0.9.2.tar.bz2) = 729688
|
12
audio/swami/files/patch-src::gui::main.c
Normal file
12
audio/swami/files/patch-src::gui::main.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/gui/main.c.orig Fri Jun 25 17:40:49 2004
|
||||
+++ src/gui/main.c Fri Jun 25 17:41:12 2004
|
||||
@@ -119,6 +119,9 @@
|
||||
|
||||
poptFreeContext (popt_ctx);
|
||||
|
||||
+ /* keep sound alive */
|
||||
+ gtk_timeout_add(10, gtk_true, NULL);
|
||||
+
|
||||
gdk_threads_enter ();
|
||||
gtk_main (); /* kick it in the main GTK loop */
|
||||
gdk_threads_leave ();
|
11
audio/swami/files/patch-src::plugins::wavetbl_fluidsynth.c
Normal file
11
audio/swami/files/patch-src::plugins::wavetbl_fluidsynth.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/plugins/wavetbl_fluidsynth.c.orig Fri Jun 25 18:02:19 2004
|
||||
+++ src/plugins/wavetbl_fluidsynth.c Fri Jun 25 18:03:08 2004
|
||||
@@ -154,7 +154,7 @@
|
||||
{ "fluidsynth", "audio_type", G_TOKEN_STRING, {""}},
|
||||
{ NULL, "audio_device", G_TOKEN_STRING, {""}},
|
||||
{ NULL, "audio_bufsize", G_TOKEN_INT, {GINT_TO_POINTER (64)}},
|
||||
- { NULL, "audio_bufcount", G_TOKEN_INT, {GINT_TO_POINTER (3)}},
|
||||
+ { NULL, "audio_bufcount", G_TOKEN_INT, {GINT_TO_POINTER (16)}},
|
||||
{ NULL, "midi_type", G_TOKEN_STRING, {""}},
|
||||
{ NULL, "midi_device", G_TOKEN_STRING, {""}},
|
||||
{ NULL, "master_gain", G_TOKEN_FLOAT, {v_float:0.0}},
|
13
audio/swami/pkg-descr
Normal file
13
audio/swami/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
Swami - Sampled Waveforms and And Musical Instruments - is an advanced
|
||||
instrument editor for MIDI music composition and a sampler
|
||||
frontend. Currently SoundFont(r) files can be browsed, edited and
|
||||
saved and new instrument formats are being added in the Swami
|
||||
development version. Swami uses FluidSynth for software synthesis, so
|
||||
almost any sound card can be used. FluidSynth has real time effect
|
||||
control and SoundFont 2.01 modulator support for controlling effects
|
||||
in real time with MIDI.
|
||||
|
||||
WWW: http://swami.sourceforge.net/
|
||||
|
||||
- Jean-Yves Lefort
|
||||
jylefort@brutele.be
|
16
audio/swami/pkg-plist
Normal file
16
audio/swami/pkg-plist
Normal file
@ -0,0 +1,16 @@
|
||||
bin/swami
|
||||
lib/swami/samplelib_audiofile.a
|
||||
lib/swami/samplelib_audiofile.la
|
||||
lib/swami/samplelib_audiofile.so
|
||||
lib/swami/samplelib_libsndfile.a
|
||||
lib/swami/samplelib_libsndfile.la
|
||||
lib/swami/samplelib_libsndfile.so
|
||||
lib/swami/wavetbl_fluidsynth.a
|
||||
lib/swami/wavetbl_fluidsynth.la
|
||||
lib/swami/wavetbl_fluidsynth.so
|
||||
share/locale/de/LC_MESSAGES/swami.mo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
@dirrm lib/swami
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user