vamp-plugin-sdk (2.1-1) debian-dir only changes

Summary

 debian/changelog                        |   69 ++++++++++
 debian/compat                           |    1 
 debian/control                          |  107 ++++++++++++++++
 debian/copyright                        |   44 ++++++
 debian/libvamp-hostsdk3.install         |    1 
 debian/libvamp-sdk2.install             |    1 
 debian/rules                            |   93 ++++++++++++++
 debian/vamp-examples.install            |    2 
 debian/vamp-examples.manpages           |    1 
 debian/vamp-plugin-sdk-doc.doc-base     |    9 +
 debian/vamp-plugin-sdk-doc.docs         |    1 
 debian/vamp-plugin-sdk.examples         |    3 
 debian/vamp-plugin-sdk.install          |    6 
 debian/vamp-plugin-sdk.manpages         |    1 
 debian/vamp-rdf-template-generator.sgml |  154 ++++++++++++++++++++++++
 debian/vamp-simple-host.sgml            |  204 ++++++++++++++++++++++++++++++++
 debian/watch                            |    2 
 17 files changed, 699 insertions(+)

    
download this patch

Patch contents

--- vamp-plugin-sdk-2.1.orig/debian/vamp-plugin-sdk.manpages
+++ vamp-plugin-sdk-2.1/debian/vamp-plugin-sdk.manpages
@@ -0,0 +1 @@
+vamp-rdf-template-generator.1
--- vamp-plugin-sdk-2.1.orig/debian/vamp-plugin-sdk.install
+++ vamp-plugin-sdk-2.1/debian/vamp-plugin-sdk.install
@@ -0,0 +1,6 @@
+usr/include
+usr/lib/pkgconfig
+usr/lib/*.la
+usr/lib/*.a
+usr/lib/*.so
+usr/bin/vamp-rdf-template-generator
--- vamp-plugin-sdk-2.1.orig/debian/vamp-examples.install
+++ vamp-plugin-sdk-2.1/debian/vamp-examples.install
@@ -0,0 +1,2 @@
+../../examples/vamp-example-plugins.* usr/lib/vamp
+../../host/vamp-simple-host usr/bin
--- vamp-plugin-sdk-2.1.orig/debian/libvamp-sdk2.install
+++ vamp-plugin-sdk-2.1/debian/libvamp-sdk2.install
@@ -0,0 +1 @@
+usr/lib/libvamp-sdk.so.*
--- vamp-plugin-sdk-2.1.orig/debian/copyright
+++ vamp-plugin-sdk-2.1/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Székelyi Szabolcs <cc@mail.3d.hu> on
+Sun, 03 Feb 2008 01:00:33 +0000.
+
+It was downloaded from http://www.vamp-plugins.org/
+
+Upstream Author: 
+
+    Chris Cannam <cannam@all-day-breakfast.com>
+
+Copyright: 
+
+    Copyright (C) 2005-2007 Chris Cannam
+    Copyright (C) 2005-2007 Queen Mary, University of London
+
+License:
+
+    Permission is hereby granted, free of charge, to any person
+    obtaining a copy of this software and associated documentation
+    files (the "Software"), to deal in the Software without
+    restriction, including without limitation the rights to use, copy,
+    modify, merge, publish, distribute, sublicense, and/or sell copies
+    of the Software, and to permit persons to whom the Software is
+    furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice shall be
+    included in all copies or substantial portions of the Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+    NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR
+    ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+    CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+    WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+    Except as contained in this notice, the names of the Centre for
+    Digital Music; Queen Mary, University of London; and Chris Cannam
+    shall not be used in advertising or otherwise to promote the sale,
+    use or other dealings in this Software without prior written
+    authorization.
+
+The Debian packaging is Copyright (C) 2008, Székelyi Szabolcs
+<cc@mail.3d.hu> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
--- vamp-plugin-sdk-2.1.orig/debian/libvamp-hostsdk3.install
+++ vamp-plugin-sdk-2.1/debian/libvamp-hostsdk3.install
@@ -0,0 +1 @@
+usr/lib/libvamp-hostsdk.so.*
--- vamp-plugin-sdk-2.1.orig/debian/changelog
+++ vamp-plugin-sdk-2.1/debian/changelog
@@ -0,0 +1,69 @@
+vamp-plugin-sdk (2.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #560337)
+  * Added skeleton/ to vamp-plugin-sdk
+  * Added vamp-rdf-tempate-generator to vamp-plugin-sdk
+  * Added manpage for vamp-rdf-template-generator TODO
+  * Don't run `$(MAKE) test` if `nocheck` is present in DEB_BUILD_OPTIONS.
+    This involves running several $(MAKE)s with specific targets instead
+    of one generic run. TODO: check Makefile for new targets on every new
+    upstream release.
+  * Fixed typo in debian/control, libvamp-sdk2
+  * Fixed debian/vamp-plugin-sdk.examples so source code for example plugins
+    is really installed now
+  * Added #include <cstdio> to examples/FixedTempoEstimator.cpp to build
+    with GCC 4.3 (Closes: #562653)
+  * Provide a doc-base control file in vamp-plugin-sdk-doc
+  * Bumped Standards-Version to 3.8.3
+
+ -- Székelyi Szabolcs <cc@mail.3d.hu>  Wed, 23 Dec 2009 19:15:05 +0100
+
+vamp-plugin-sdk (2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Adopted to new upstream build process (GNU Autoconf)
+  * Bumped Standards-Version to 3.8.1
+  * Renamed libvamp-sdk1 to libvamp-sdk2
+  * Renamed libvamp-hostsdk2 to libvamp-hostsdk3
+
+ -- Székelyi Szabolcs <cc@mail.3d.hu>  Thu, 17 Apr 2009 13:03:58 +0200
+
+vamp-plugin-sdk (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Reverted changes made to the source in 1.2-1.1 (fixed in upstream)
+  * Moved doxygenerated documentation into a separate Architecture: all
+    package (vamp-plugin-sdk-doc) (required giving -a to dh_* in
+    binary-arch and -i in binary-indep)
+  * debian/rules: removed hardcoded version numbers from get-orig-source,
+    relpaced with dynamic upstream version number (determined from
+    debian/changelog)
+  * debian/control: added Homepage: control field
+  * Makefile: made adjustments so vamp-simple-host is now dynamically
+    linked against libraries from libvamp-hostsdk2 and example plugins use
+    libvamp-sdk1
+
+ -- Székelyi Szabolcs <cc@mail.3d.hu>  Fri, 01 Aug 2008 16:55:36 +0200
+
+vamp-plugin-sdk (1.2-1.1) unstable; urgency=high
+
+  * NMU to fix build with gcc 4.3 (Closes: #482571, #483321)
+    - vamp-sdk/PluginAdapter.cpp: #include <cstring> and <cstdlib>
+    - vamp-sdk/PluginHostAdapter.cpp: <cstdlib>
+    - vamp-sdk/hostext/PluginLoader.cpp: <cstring>
+    - host/vamp-simple-host.cpp: <cstring> and <cstdlib>
+  * Bump Standards-Version to 3.8.0
+
+ -- Albin Tonnerre <albin.tonnerre@gmail.com>  Sun, 15 Jun 2008 22:22:53 +0200
+
+vamp-plugin-sdk (1.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Székelyi Szabolcs <cc@mail.3d.hu>  Tue, 15 Apr 2008 19:05:36 +0200
+
+vamp-plugin-sdk (1.1b-1) unstable; urgency=low
+
+  * Initial release (Closes: #463754)
+
+ -- Székelyi Szabolcs <cc@mail.3d.hu>  Mon, 11 Feb 2008 01:02:37 +0100
--- vamp-plugin-sdk-2.1.orig/debian/compat
+++ vamp-plugin-sdk-2.1/debian/compat
@@ -0,0 +1 @@
+5
--- vamp-plugin-sdk-2.1.orig/debian/watch
+++ vamp-plugin-sdk-2.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/vamp/vamp-plugin-sdk-([^-]*)\.tar\.gz
--- vamp-plugin-sdk-2.1.orig/debian/vamp-rdf-template-generator.sgml
+++ vamp-plugin-sdk-2.1/debian/vamp-rdf-template-generator.sgml
@@ -0,0 +1,154 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY dhfirstname "<firstname>Szabolcs</firstname>">
+  <!ENTITY dhsurname   "<surname>Székelyi</surname>">
+  <!ENTITY dhdate      "<date>December 26, 2009</date>">
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>cc@mail.3d.hu</email>">
+  <!ENTITY dhusername  "Székelyi Szabolcs">
+  <!ENTITY dhucpackage "<refentrytitle>VAMP-RDF-TEMPLATE-GENERATOR</refentrytitle>">
+  <!ENTITY dhpackage   "vamp-rdf-template-generator">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2009</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>create a skeleton RDF description file describing a Vamp plugin library using the Vamp ontology</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-i</option></arg>
+
+      <arg>vamp:<replaceable>soname</replaceable>[:<replaceable>plugin</replaceable>]</arg>
+
+      <arg>...</arg>
+
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><replaceable>PLUGIN_BASE_URI</replaceable></arg>
+
+      <arg><option>-m</option> <replaceable>YOUR_URI</replaceable></arg>
+
+      <arg>[vamp:]<replaceable>soname</replaceable>[:<replaceable>plugin</replaceable>]</arg>
+
+      <arg>...</arg>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> is a program to generate RDF
+      description templates from binary Vamp libraries. It outputs a
+      template for the RDF file describing plugins contained
+      in <replaceable>soname</replaceable>, or
+      for <replaceable>plugin</replaceable> in <replaceable>soname</replaceable>.  The generated output
+      requires manual editing. It will
+      contain <replaceable>PLUGIN_BASE_URI</replaceable> as the topic
+      and base URI of the description
+      and <replaceable>YOUR_URI</replaceable> as the plugin
+      maker.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-i</option>
+        </term>
+        <listitem>
+          <para>Run in interactive mode, prompting for
+	    <replaceable>PLUGIN_BASE_URI</replaceable>
+	    and <replaceable>YOUR_URI</replaceable>.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-m</option> <replaceable>YOUR_URI</replaceable>
+	</term>
+        <listitem>
+          <para>Set the plugin maker
+          to <replaceable>YOUR_URI</replaceable>.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <refsect1>
+    <title>ENVIRONMENT</title>
+
+    <variablelist>
+      <varlistentry>
+	<term>VAMP_PATH</term>
+	<listitem>
+	  <para>A colon-separated list of directories to look for
+	  plugins.</para>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.</para>
+    <para>On Debian systems, the complete text of the GNU General
+      Public License can be found in
+      /usr/share/common-licenses/GPL.</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- vamp-plugin-sdk-2.1.orig/debian/vamp-plugin-sdk-doc.docs
+++ vamp-plugin-sdk-2.1/debian/vamp-plugin-sdk-doc.docs
@@ -0,0 +1 @@
+doc/html/
--- vamp-plugin-sdk-2.1.orig/debian/vamp-simple-host.sgml
+++ vamp-plugin-sdk-2.1/debian/vamp-simple-host.sgml
@@ -0,0 +1,204 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!ENTITY dhfirstname "<firstname>Szabolcs</firstname>">
+  <!ENTITY dhsurname   "<surname>Székelyi</surname>">
+  <!ENTITY dhdate      "<date>February  8, 2008</date>">
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>cc@mail.3d.hu</email>">
+  <!ENTITY dhusername  "Székelyi Szabolcs">
+  <!ENTITY dhucpackage "<refentrytitle>VAMP-SIMPLE-HOST</refentrytitle>">
+  <!ENTITY dhpackage   "vamp-simple-host">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2008</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>a simple Vamp plugin host</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg>-s</arg>
+      <arg><replaceable>pluginlibrary</replaceable>[.so]:<replaceable>plugin</replaceable>[:<replaceable>output</replaceable>]</arg>
+      <arg>file</arg>
+      <arg><option>-o</option><replaceable> outfile</replaceable></arg>
+    </cmdsynopsis>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg>-s</arg>
+      <arg><replaceable>pluginlibrary</replaceable>[.so]:<replaceable>plugin</replaceable></arg>
+      <arg>file</arg>
+      <arg>[<replaceable>outputno</replaceable>]</arg>
+      <arg><option>-o</option><replaceable> outfile</replaceable></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para><command>&dhpackage;</command> allows processing of a
+    libsndfile-readable audio file using Vamp plugins, listing
+    available plugins and the plugin search path.</para>
+
+    <para>By default, <command>&dhpackage;</command> loads plugin
+       id <replaceable>plugin</replaceable> from
+       <replaceable>pluginlibrary</replaceable> and runs it on the
+       audio data in <replaceable>file</replaceable>, retrieving the
+       named <replaceable>output</replaceable>, or output number
+       <replaceable>outputno</replaceable> (the first output by
+       default) and dumping it to standard output, or
+       to <replaceable>outfile</replaceable> if
+       the <option>-o</option> option is given.</para>
+
+    <para><replaceable>pluginlibrary</replaceable> should be a library
+       name, not a file path; the standard Vamp library search path
+       will be used to locate it.  If a file path is supplied, the
+       directory part(s) will be ignored.</para>
+
+    <para>If the <option>-s</option> option is given, results will be
+       labelled with the audio sample frame at which they
+       occur. Otherwise, they will be labelled with time in
+       seconds.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-l</option>, <option>--list</option></term>
+        <listitem>
+          <para>List the plugin libraries and Vamp plugins in the
+          library search path in a verbose human-readable format.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>--list-full</option></term>
+        <listitem>
+          <para>List all data reported by all the Vamp plugins in the
+          library search path in a very verbose human-readable
+          format.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>--list-ids</option></term>
+        <listitem>
+          <para>List the plugins in the search path in a terse
+          machine-readable format, in the form
+          vamp:soname:identifier.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>--list-outputs</option></term>
+        <listitem>
+          <para>List the outputs for plugins in the search path in a
+          machine-readable format, in the form
+          vamp:soname:identifier:output.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>--list-by-category</option></term>
+        <listitem>
+          <para>List the plugins as a plugin index by category, in a
+          machine-readable format. The format may change in future
+          releases.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-p</option></term>
+        <listitem>
+          <para>Print out the Vamp library search path.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-s</option></term>
+        <listitem>
+          <para>Label results with the audio sample frame at which
+	    they occur. Otherwise, they will be labelled with time in
+	    seconds.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-o <replaceable>file</replaceable></option></term>
+        <listitem>
+          <para>Dump plugin output
+          into <replaceable>file</replaceable>.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option></term>
+        <listitem>
+          <para>Display version information only.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>ENVIRONMENT</title>
+
+    <variablelist>
+      <varlistentry>
+	<term>VAMP_PATH</term>
+	<listitem>
+	  <para>A colon-separated list of directories to look for
+	  plugins.</para>
+	</listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others), because the
+      original program does not have a manual page.  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.</para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.</para>
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
--- vamp-plugin-sdk-2.1.orig/debian/vamp-examples.manpages
+++ vamp-plugin-sdk-2.1/debian/vamp-examples.manpages
@@ -0,0 +1 @@
+vamp-simple-host.1
--- vamp-plugin-sdk-2.1.orig/debian/vamp-plugin-sdk-doc.doc-base
+++ vamp-plugin-sdk-2.1/debian/vamp-plugin-sdk-doc.doc-base
@@ -0,0 +1,9 @@
+Document: vamp-plugin-sdk
+Title: Vamp Plugin C/C++ API documentation
+Abstract: This document describes the API for Vamp hosts and plugins. It is
+ autogenerated from the Vamp libraries' source code.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/vamp-plugin-sdk-doc/html/index.html
+Files: /usr/share/doc/vamp-plugin-sdk-doc/html/*
\ No newline at end of file
--- vamp-plugin-sdk-2.1.orig/debian/rules
+++ vamp-plugin-sdk-2.1/debian/rules
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+uversion=$(shell dpkg-parsechangelog | grep ^Version: | cut -d" " -f2 | cut -d- -f1)
+
+configure: configure-stamp
+
+configure-stamp:
+	./configure --prefix=/usr
+
+	touch $@
+
+build: build-stamp
+
+build-stamp: configure-stamp
+	dh_testdir
+	dh_prep
+
+	$(MAKE) sdk
+	$(MAKE) plugins
+	$(MAKE) host
+	$(MAKE) rdfgen
+ifneq (, findstring nocheck,$(DEB_BUILD_OPTIONS))
+	$(MAKE) test
+endif
+	doxygen build/Doxyfile
+	docbook-to-man debian/vamp-simple-host.sgml > vamp-simple-host.1
+	docbook-to-man debian/vamp-rdf-template-generator.sgml > vamp-rdf-template-generator.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	[ -f Makefile ] && $(MAKE) distclean || true
+	rm -rf doc
+	rm -f vamp-simple-host.1
+	rm -f vamp-rdf-template-generator.1
+	rm -f config.status config.log Makefile
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep 
+	dh_installdirs
+
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a --sourcedir=debian/tmp
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+get-orig-source:
+	wget http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-$(uversion).tar.gz
+	mv vamp-plugin-sdk-$(uversion).tar.gz vamp-plugin-sdk_$(uversion).orig.tar.gz
+
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source
--- vamp-plugin-sdk-2.1.orig/debian/control
+++ vamp-plugin-sdk-2.1/debian/control
@@ -0,0 +1,107 @@
+Source: vamp-plugin-sdk
+Section: sound
+Priority: extra
+Maintainer: Székelyi Szabolcs <cc@mail.3d.hu>
+Build-Depends: debhelper (>= 7), libsndfile1-dev, doxygen, graphviz, docbook-to-man
+Standards-Version: 3.8.3
+Homepage: http://www.vamp-plugins.org/
+
+Package: vamp-plugin-sdk
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libvamp-sdk2 (= ${binary:Version}), libvamp-hostsdk3 (= ${binary:Version})
+Description: audio analysis and feature extraction plugins (SDK)
+ Vamp is an audio processing plugin system for plugins that extract
+ descriptive information from audio data - typically referred to as
+ audio analysis plugins or audio feature extraction plugins.
+ .
+ Just like an audio effects plugin (such as a VST), a Vamp plugin is a
+ binary module that can be loaded up by a host application and fed
+ audio data. However, unlike an effects plugin, a Vamp plugin outputs
+ not processed audio but some sort of symbolic information. Typical
+ things that a Vamp plugin might calculate include the locations of
+ moments such as note onset times, visual representations of the audio
+ such as histograms, or curve data such as power or fundamental
+ frequency.
+ .
+ Hosts using Vamp plugins include Audacity and Sonic Visualiser.
+ .
+ This package contains C and C++ header files for developing Vamp
+ plugins and hosts as well as source code of example plugins and a
+ simple host and also a utility to generate Vamp plugin RDF templates.
+
+Package: libvamp-sdk2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: helper library for Vamp plugins written in C++
+ Vamp is an audio processing plugin system for plugins that extract
+ descriptive information from audio data - typically referred to as
+ audio analysis plugins or audio feature extraction plugins.
+ .
+ If you want to develop Vamp plugins in C++, you should use this
+ library to expose the official C API to hosts.
+
+Package: libvamp-hostsdk3
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: helper library for Vamp hosts written in C++
+ Vamp is an audio processing plugin system for plugins that extract
+ descriptive information from audio data - typically referred to as
+ audio analysis plugins or audio feature extraction plugins.
+ .
+ This library contains handy classes for using Vamp plugins from
+ hosts written in C++.
+
+Package: vamp-examples
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: example Vamp plugins and host
+ Vamp is an audio processing plugin system for plugins that extract
+ descriptive information from audio data - typically referred to as
+ audio analysis plugins or audio feature extraction plugins.
+ .
+ This package contains the following example plugins:
+ .
+  * Zero Crossings calculates the positions and density of
+    zero-crossing points in an audio waveform.
+ .
+  * Spectral Centroid calculates the centre of gravity of the
+    frequency domain representation of each block of audio.
+ .
+  * Simple Power Spectrum calculates a power spectrum from the input
+    audio.  Actually, it doesn't do any work except calculating power
+    from a cartesian complex FFT output.  The work of calculating this
+    frequency domain output is done for it by the host or host SDK; the
+    plugin just needs to declare that it wants frequency domain
+    input. This is the simplest of the example plugins.
+ .
+  * Amplitude Follower is an implementation of SuperCollider's
+    amplitude-follower algorithm as a simple Vamp plugin.
+ .
+  * Simple Percussion Onset Detector: estimates the locations of
+    percussive onsets using a simple method described in "Drum Source
+    Separation using Percussive Feature Detection and Spectral
+    Modulation" by Dan Barry, Derry Fitzgerald, Eugene Coyle and Bob
+    Lawlor, ISSC 2005.
+ .
+  * Simple Fixed Tempo Estimator: calculates a single beats-per-minute
+    value which is an estimate of the tempo of a piece of music that is
+    assumed to be of fixed tempo, using autocorrelation of a frequency
+    domain energy rise metric.  It has several outputs that return
+    intermediate results used in the calculation, and may be a useful
+    example of a plugin having several outputs with varying feature
+    structures.
+ . 
+ Also included is a simple host that can enumerate plugins, list their
+ features, and process an audio file.
+
+Package: vamp-plugin-sdk-doc
+Architecture: all
+Section: doc
+Description: audio analysis and feature extraction plugins (API documentation)
+ Vamp is an audio processing plugin system for plugins that extract
+ descriptive information from audio data - typically referred to as
+ audio analysis plugins or audio feature extraction plugins.
+ .
+ This package contains API specification for Vamp plugins and
+ documentation for libraries provided by the libvamp-hostsdk3 and
+ libvamp-sdk2 packages.
--- vamp-plugin-sdk-2.1.orig/debian/vamp-plugin-sdk.examples
+++ vamp-plugin-sdk-2.1/debian/vamp-plugin-sdk.examples
@@ -0,0 +1,3 @@
+examples/*.cpp
+examples/*.h
+skeleton