<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[114610] trunk/dports/audio</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/114610">114610</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2013-12-11 13:03:31 -0800 (Wed, 11 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>rubberband: new port, version 1.8.1</pre>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/audio/rubberband/</li>
<li><a href="#trunkdportsaudiorubberbandPortfile">trunk/dports/audio/rubberband/Portfile</a></li>
<li>trunk/dports/audio/rubberband/files/</li>
<li><a href="#trunkdportsaudiorubberbandfilespatchMakefileosxdiff">trunk/dports/audio/rubberband/files/patch-Makefile.osx.diff</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsaudiorubberbandPortfile"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/rubberband/Portfile (0 => 114610)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/rubberband/Portfile         (rev 0)
+++ trunk/dports/audio/rubberband/Portfile        2013-12-11 21:03:31 UTC (rev 114610)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name rubberband
+version 1.8.1
+set download_id 34
+categories audio
+platforms darwin
+maintainers ryandesign openmaintainer
+license GPL-2+
+
+description audio time-stretching and pitch-shifting library and utility program
+
+long_description Rubber Band is a library and utility program that permits \
+ changing the tempo and pitch of an audio recording \
+ independently of one another.
+
+homepage http://breakfastquay.com/rubberband/
+master_sites http://code.breakfastquay.com/attachments/download/${download_id}/
+use_bzip2 yes
+
+checksums rmd160 21178218aeffb0a0827ba8c4fd32e95f5a08b295 \
+ sha256 ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75
+
+depends_lib port:libsndfile
+
+patchfiles patch-Makefile.osx.diff
+
+use_configure no
+
+variant universal {}
+
+build.target default
+build.args -f Makefile.osx \
+ ARCHFLAGS="[get_canonical_archflags cc]" \
+ CC=${configure.cc} \
+ CXX=${configure.cxx} \
+ PREFIX=${prefix}
+
+eval destroot.args ${build.args}
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGELOG \
+ COPYING \
+ README.txt \
+ ${destroot}${docdir}
+}
+
+livecheck.type regex
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
</ins><span class="cx">Property changes on: trunk/dports/audio/rubberband/Portfile
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkdportsaudiorubberbandfilespatchMakefileosxdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/rubberband/files/patch-Makefile.osx.diff (0 => 114610)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/rubberband/files/patch-Makefile.osx.diff         (rev 0)
+++ trunk/dports/audio/rubberband/files/patch-Makefile.osx.diff        2013-12-11 21:03:31 UTC (rev 114610)
</span><span class="lines">@@ -0,0 +1,93 @@
</span><ins>+Various improvements to the OS X Makefile already submitted and committed to upstream
+https://bitbucket.org/breakfastquay/rubberband/issue/3/makefileosx-doesnt-have-an-install-target
+--- Makefile.osx.orig        2012-10-28 05:30:09.000000000 -0500
++++ Makefile.osx        2013-12-11 14:42:41.000000000 -0600
+@@ -1,29 +1,39 @@
+
++PREFIX                := /usr/local
+ CXX                := g++
+ CC                := gcc
+ ARCHFLAGS        :=
+ OPTFLAGS        := -DNDEBUG -ffast-math -mfpmath=sse -msse -msse2 -O3 -ftree-vectorize
+-
+-CXXFLAGS        := $(ARCHFLAGS) $(OPTFLAGS) -I/usr/local/include -DUSE_PTHREADS -DMALLOC_IS_ALIGNED -DHAVE_VDSP -DUSE_SPEEX -DNO_THREAD_CHECKS -DNO_TIMING -Irubberband -I. -Isrc
+-
+-LIBRARY_LIBS                := -framework Accelerate
+-
++CXXFLAGS        := $(ARCHFLAGS) $(OPTFLAGS) -Irubberband -I. -Isrc -I$(PREFIX)/include -DUSE_PTHREADS -DMALLOC_IS_ALIGNED -DHAVE_VDSP -DUSE_SPEEX -DNO_THREAD_CHECKS -DNO_TIMING
+ CFLAGS                := $(ARCHFLAGS) $(OPTFLAGS)
+ LDFLAGS                := $(ARCHFLAGS) -lpthread $(LDFLAGS)
+
+-PROGRAM_LIBS                := -L/usr/local/lib -lsndfile $(LIBRARY_LIBS)
+-VAMP_PLUGIN_LIBS        := -L/usr/local/lib -lvamp-sdk $(LIBRARY_LIBS)
++LIBRARY_LIBS                := -framework Accelerate
++PROGRAM_LIBS                := -L$(PREFIX)/lib -lsndfile $(LIBRARY_LIBS)
++VAMP_PLUGIN_LIBS        := -L$(PREFIX)/lib -lvamp-sdk $(LIBRARY_LIBS)
+ LADSPA_PLUGIN_LIBS        := $(LIBRARY_LIBS)
+
+ MKDIR                        := mkdir
+ AR                        := ar
+
+-DYNAMIC_LDFLAGS                := -dynamiclib
++INSTALL_BINDIR                := $(PREFIX)/bin
++INSTALL_INCDIR                := $(PREFIX)/include/rubberband
++INSTALL_LIBDIR                := $(PREFIX)/lib
++INSTALL_VAMPDIR                := $(PREFIX)/lib/vamp
++INSTALL_LADSPADIR        := $(PREFIX)/lib/ladspa
++INSTALL_LRDFDIR                := $(PREFIX)/share/ladspa/rdf
++INSTALL_PKGDIR                := $(PREFIX)/lib/pkgconfig
++
++LIBNAME                        := librubberband
++
+ DYNAMIC_EXTENSION        := .dylib
++DYNAMIC_FULL_VERSION        := 2.1.0
++DYNAMIC_ABI_VERSION        := 2
++DYNAMIC_LDFLAGS                := -dynamiclib -install_name $(INSTALL_LIBDIR)/$(LIBNAME).$(DYNAMIC_ABI_VERSION)$(DYNAMIC_EXTENSION) -current_version $(DYNAMIC_FULL_VERSION) -compatibility_version $(DYNAMIC_ABI_VERSION)
+
+ PROGRAM_TARGET                 := bin/rubberband
+-STATIC_TARGET                 := lib/librubberband.a
+-DYNAMIC_TARGET                 := lib/librubberband$(DYNAMIC_EXTENSION)
++STATIC_TARGET                 := lib/$(LIBNAME).a
++DYNAMIC_TARGET                 := lib/$(LIBNAME)$(DYNAMIC_EXTENSION)
+ VAMP_TARGET                 := lib/vamp-rubberband$(DYNAMIC_EXTENSION)
+ LADSPA_TARGET                 := lib/ladspa-rubberband$(DYNAMIC_EXTENSION)
+
+@@ -121,10 +131,10 @@
+ LADSPA_OBJECTS := $(LADSPA_SOURCES:.cpp=.o)
+
+ $(PROGRAM_TARGET):        $(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS)
+-        $(CXX) -o $@ $^ $(PROGRAM_LIBS) $(PROGRAM_LIBS) $(LDFLAGS)
++        $(CXX) -o $@ $^ $(PROGRAM_LIBS) $(LDFLAGS)
+
+ $(STATIC_TARGET):        $(LIBRARY_OBJECTS)
+-        $(AR) rc $@ $^
++        $(AR) rsc $@ $^
+
+ $(DYNAMIC_TARGET):        $(LIBRARY_OBJECTS)
+         $(CXX) $(DYNAMIC_LDFLAGS) $^ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
+@@ -140,6 +150,25 @@
+ lib:
+         $(MKDIR) $@
+
++install:        default
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_INCDIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_LIBDIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_VAMPDIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
++        $(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
++        cp $(PROGRAM_TARGET) $(DESTDIR)$(INSTALL_BINDIR)
++        cp $(PUBLIC_INCLUDES) $(DESTDIR)$(INSTALL_INCDIR)
++        cp $(STATIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)
++        rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME).$(DYNAMIC_ABI_VERSION)$(DYNAMIC_EXTENSION)
++        rm -f $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
++        cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME).$(DYNAMIC_FULL_VERSION)$(DYNAMIC_EXTENSION)
++        ln -s $(LIBNAME).$(DYNAMIC_FULL_VERSION)$(DYNAMIC_EXTENSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME).$(DYNAMIC_ABI_VERSION)$(DYNAMIC_EXTENSION)
++        ln -s $(LIBNAME).$(DYNAMIC_FULL_VERSION)$(DYNAMIC_EXTENSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
++        sed "s,%PREFIX%,$(PREFIX)," rubberband.pc.in \
++         > $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
++
+ clean:
+         rm -f $(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS) $(LADSPA_OBJECTS) $(VAMP_OBJECTS)
+
</ins></span></pre>
</div>
</div>
</body>
</html>