[Pkg-voip-commits] [portaudio19] 01/04: Imported Debian patch 19+svn20071022-3.2

Victor Seva Lopez maniac-guest at moszumanska.debian.org
Sun Aug 16 06:28:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

maniac-guest pushed a commit to branch master
in repository portaudio19.

commit 98b48e226ede227b327684e03476d513f5155984
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Thu Nov 25 13:22:09 2010 +0100

    Imported Debian patch 19+svn20071022-3.2
---
 debian/changelog                       | 148 +++++++++++++++++++++++++++++++
 debian/compat                          |   1 +
 debian/control                         |  65 ++++++++++++++
 debian/copyright                       |  51 +++++++++++
 debian/libportaudio2.dirs              |   1 +
 debian/libportaudio2.install           |   1 +
 debian/libportaudiocpp0.install        |   1 +
 debian/patches/00list                  |   2 +
 debian/patches/01_config.dpatch        |  30 +++++++
 debian/patches/20_error_handler.dpatch |  23 +++++
 debian/portaudio19-dev.dirs            |   2 +
 debian/portaudio19-dev.install         |   5 ++
 debian/portaudio19-doc.doc-base        |  14 +++
 debian/portaudio19-doc.docs            |   2 +
 debian/portaudio19-doc.examples        |   2 +
 debian/portaudio19-doc.install         |   1 +
 debian/rules                           | 153 +++++++++++++++++++++++++++++++++
 debian/watch                           |   8 ++
 18 files changed, 510 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5c53e34
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,148 @@
+portaudio19 (19+svn20071022-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-depend on libjack-dev as an alternative to libjack0.100.0-dev,
+    the latter is a virtual package (Closes: #603388).
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Thu, 25 Nov 2010 13:22:09 +0100
+
+portaudio19 (19+svn20071022-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches
+    - (series): Add *.dpatch suffix to 01.
+    - (20): New. Do not define error handler because ALSA's default error
+      handler prints errors to stderr. Patch tanks to Marcelo E. Magallon
+      <mmagallo at debian.org>. (grave; Closes: #563192).
+
+ -- Jari Aalto <jari.aalto at cante.net>  Thu, 28 Oct 2010 14:52:22 +0300
+
+portaudio19 (19+svn20071022-3) unstable; urgency=low
+
+  [ Patrick Matthäi ]
+  * Fixed doc-base section.
+  * Removed extra whitespaces at after the Abstract field in the doc-base.
+    Thanks lintian.
+
+  [ Mark Purcell ]
+  * paravoid fixed lintian:xs-vcs-header-in-debian-control
+  * Fix lintian:debian-watch-file-is-missing
+
+ -- Mark Purcell <msp at debian.org>  Sun, 12 Oct 2008 15:35:36 +1100
+
+portaudio19 (19+svn20071022-2) unstable; urgency=low
+
+  * Vanilla 'dh_makeshlibs -a' does correct magic
+    - shlibs file incorrect: does not force dependency on libportaudiocpp0
+    (Closes: #447819)
+  * We only support upgrades from stable/etch 19+svn20060825-1, thus
+    libportaudio2 (>= 19+cvs20060311-1) is unnecssary
+
+ -- Mark Purcell <msp at debian.org>  Thu, 25 Oct 2007 06:59:26 +0100
+
+portaudio19 (19+svn20071022-1) unstable; urgency=low
+
+  [ Mark Purcell ]
+  * New upstream release
+    - libportaudio2: new snapshot (Closes: #447338)
+
+  [ Kilian Krause ]
+  * Use ${binary:Version} for binNMU-safe uploads.
+    Add dpkg-dev (>= 1.13.19) to Build-Depends
+  * Don't ignore make clean errors.
+  * Fix dh_makeshlibs call. Get rid of libportaudiocpp0 binary:
+    shlibs-declares-dependency-on-other-package libportaudio2.
+  * Add Homepage field as added in dpkg-dev 1.14.6.
+
+ -- Mark Purcell <msp at debian.org>  Tue, 23 Oct 2007 07:13:43 +0100
+
+portaudio19 (19+svn20070125-1) unstable; urgency=low
+
+  [ Mikael Magnusson ]
+  * Update to svn 20070125 (r1174)
+  * Disable JACK and ringbuffer on all architectures except i386 and
+    powerpc.  (Closes: #406754: FTBFS: #error Memory barriers are not
+    defined on this system)
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Sun, 25 Mar 2007 17:04:32 +0100
+
+portaudio19 (19+svn20070113-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/rules: add binary-indep
+  * FTBFS on GNU/kFreeBSD  (due to unsatisfied Build-Depends on
+    libasound2-dev) (Closes: #401052)
+  * FTBFS on GNU/kFreeBSD (pa_unix_oss support) (Closes: #406717)
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Sat, 13 Jan 2007 12:18:36 +0100
+
+portaudio19 (19+svn20060825-1) unstable; urgency=low
+
+  * Initial release. (Closes: #328873: portaudio: please package v19)
+  * Disable V18 compatibility and bump shlib dependency
+  * Change SONAME to libportaudio2.so
+  * Updated debian/copyright with more copyright holders and added the
+    licence interpretation from the PortAudio web site.
+  * Updated package descriptions and added homepage url:s.
+  * Removed unused patches: 20_compat and 30_alsa.
+  * Removed patches applied by upstream: 40_vpath_libtool and
+    41_vpath_libtool_gen.
+  * Fixed path to low_latency_tip.txt, moved by upstream.
+  * Add print-version and get-orig-source targets to rules.
+  * Include C++ bindings.
+  * Rename libportaudio2-dev to portaudio19-dev, since it contains the
+    developer files for both the libportaudio2 and libportaudiocpp0
+    packages. Also rename libportaudio2-doc to portaudio19-doc.
+  * Include C++ examples.
+  * Bump Standards-Version to 3.7.2. No changes required.
+  * Removed old documents and added doxygen generated documentation.
+  * Updated copyright, license modified by upstream.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Thu, 24 Aug 2006 14:23:41 +0200
+
+portaudio19 (19+20041112-3) experimental; urgency=low
+
+  * Enabled OSS and JACK
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Tue,  1 Mar 2005 20:08:03 +0100
+
+portaudio19 (19+20041112-2) experimental; urgency=low
+
+  * Added missing depends to libportaudio19-dev: libasound2-dev, libjack-dev
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Fri, 19 Nov 2004 00:15:00 +0100
+
+portaudio19 (19+20041112-1) experimental; urgency=low
+
+  * New upstream release
+  * VPATH support in Makefile.in
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Sat, 13 Nov 2004 12:16:47 +0100
+
+portaudio19 (19+20041104-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Thu,  4 Nov 2004 16:46:48 +0100
+
+portaudio19 (19+20040729-2) experimental; urgency=low
+
+  * Added V18 compatibility.
+  * ALSA: Support of multiple devices for each card.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Wed,  3 Nov 2004 15:56:49 +0100
+
+portaudio19 (19+20040729-1) experimental; urgency=low
+
+  * -D_REENTRANT must be specified when building libraries.
+  * Enforce symbol resolution at build time with -Wl,-z,defs.
+  * Fixed CFLAGS in configure.
+  * Link with libm and libpthread.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Wed, 29 Sep 2004 20:24:20 +0200
+
+portaudio19 (19+20040729-0) experimental; urgency=low
+
+  * Initial Release.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Tue, 28 Sep 2004 14:40:10 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fee9d15
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,65 @@
+Source: portaudio19
+Priority: optional
+Section: sound
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Mikael Magnusson <mikma at users.sourceforge.net>
+Build-Depends: debhelper (>= 4.0.0), dpatch, autotools-dev,
+ libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], 
+ libjack-dev | libjack0.100.0-dev, doxygen, dpkg-dev (>= 1.13.19)
+Standards-Version: 3.7.2
+Homepage: http://www.portaudio.com/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/portaudio19/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/portaudio19/?op=log
+
+Package: libportaudio2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Portable audio I/O - shared library
+ PortAudio is a portable audio I/O library designed for cross-platform
+ support of audio. It uses a callback mechanism to request audio
+ processing.  Audio can be generated in various formats, including 32
+ bit floating point, and will be converted to the native format
+ internally.
+ .
+ This package contains the shared library.
+
+Package: portaudio19-dev
+Section: devel
+Architecture: any
+Depends: libportaudio2 (= ${binary:Version}), ${alsa-dev}, ${jack-dev}
+Conflicts: libportaudio-dev, libportaudio19-dev, libportaudio-19-dev
+Replaces: libportaudio19-dev, libportaudio-19-dev
+Description: Portable audio I/O - development files
+ PortAudio is a portable audio I/O library designed for cross-platform
+ support of audio. It uses a callback mechanism to request audio
+ processing.  Audio can be generated in various formats, including 32
+ bit floating point, and will be converted to the native format
+ internally.
+ .
+ This package contains the development files.
+
+Package: portaudio19-doc
+Section: doc
+Architecture: all
+Description: Portable audio I/O - documentation
+ PortAudio is a portable audio I/O library designed for cross-platform
+ support of audio. It uses a callback mechanism to request audio
+ processing.  Audio can be generated in various formats, including 32
+ bit floating point, and will be converted to the native format
+ internally.
+ .
+ This package contains the documentation.
+
+Package: libportaudiocpp0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Portable audio I/O C++ bindings - shared library
+ PortAudio is a portable audio I/O library designed for cross-platform
+ support of audio. It uses a callback mechanism to request audio
+ processing.  Audio can be generated in various formats, including 32
+ bit floating point, and will be converted to the native format
+ internally.
+ .
+ This package contains the shared library of the C++ bindings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b7b5c89
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Mikael Magnusson
+<mikma at users.sourceforge.net> on Mon, 12 Jul 2004 13:23:58 +0000.
+
+It was downloaded from:
+https://www.portaudio.com/repos/portaudio/branches/v19-devel
+
+Upstream Authors:
+Ross Bencina <rbencina at iprimus.com.au>
+Phil Burk <philburk at softsynth.com>
+
+Copyright:
+
+PortAudio Portable Real-Time Audio Library
+Copyright (c) 1999-2006 Ross Bencina, Phil Burk
+Copyright (c) 1999-2000 Robert Marsanyi
+Copyright (c) 1999-2004 Andrew Baldwin
+Copyright (c) 2002 Joshua Haberman <joshua at haberman.com>
+Copyright (c) 2003 Fred Gleason
+Copyright (c) 2004 Stefan Westerfeld <stefan at space.twc.de>
+Copyright (c) 2004-2006 Arve Knudsen <aknuds-1 at broadpark.no>
+Copyright (c) 2005-2006 Ludwig Schwardt
+Copyright (c) 2006 David Viens
+
+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 AUTHORS OR COPYRIGHT HOLDERS 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.
+
+
+The text above constitutes the entire PortAudio license; however,
+the PortAudio community also makes the following non-binding requests:
+
+Any person wishing to distribute modifications to the Software is
+requested to send the modifications to the original developer so that
+they can be incorporated into the canonical version. It is also
+requested that these non-binding requests be included along with the
+license above.
diff --git a/debian/libportaudio2.dirs b/debian/libportaudio2.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libportaudio2.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libportaudio2.install b/debian/libportaudio2.install
new file mode 100644
index 0000000..0c4c235
--- /dev/null
+++ b/debian/libportaudio2.install
@@ -0,0 +1 @@
+usr/lib/libportaudio.*so.*
diff --git a/debian/libportaudiocpp0.install b/debian/libportaudiocpp0.install
new file mode 100644
index 0000000..5993446
--- /dev/null
+++ b/debian/libportaudiocpp0.install
@@ -0,0 +1 @@
+usr/lib/libportaudiocpp.*so.*
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..9b43834
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+01_config.dpatch
+20_error_handler.dpatch
diff --git a/debian/patches/01_config.dpatch b/debian/patches/01_config.dpatch
new file mode 100644
index 0000000..9551a21
--- /dev/null
+++ b/debian/patches/01_config.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh -e
+## config.dpatch by Ralf Treinen <treinen at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: replace all config.{guess,sub} by the vesion installed in
+## DP: /usr/share/misc
+
+if [ $# -lt 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+       -patch)	find . -name config.guess -o -name config.sub \
+	 		| tar cf debian/patched/config.guess+sub.tar -T -;
+		find . -name config.guess \
+			-exec ln -sf /usr/share/misc/config.guess '{}' \; ;
+		find . -name config.sub \
+			-exec ln -sf /usr/share/misc/config.sub '{}' \; ;;
+		
+       -unpatch) tar xf debian/patched/config.guess+sub.tar;;
+
+        *)
+                echo >&2 \
+		  "`basename $0`: script expects -patch|-unpatch as argument"
+                exit 1;;
+esac
+
+exit 0
+
+# arch-tag: 8a610a57-687b-4395-8ff2-79265c0a4eb3
diff --git a/debian/patches/20_error_handler.dpatch b/debian/patches/20_error_handler.dpatch
new file mode 100644
index 0000000..65ebe37
--- /dev/null
+++ b/debian/patches/20_error_handler.dpatch
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## /tmp/error-handler.patch.dpatch by jaalto <jari.aalto at cante.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: 
+## DP:     src/hostapi/alsa/pa_linux_alsa.c: snd_lib_error_set_handler set NULL
+## DP:     By Marcelo E. Magallon <mmagallo at debian.org>
+
+ at DPATCH@
+
+diff --git a/src/hostapi/alsa/pa_linux_alsa.c b/src/hostapi/alsa/pa_linux_alsa.c
+index 0842bb4..665be18 100644
+--- a/src/hostapi/alsa/pa_linux_alsa.c
++++ b/src/hostapi/alsa/pa_linux_alsa.c
+@@ -304,6 +304,8 @@ static void Terminate( struct PaUtilHostApiRepresentation *hostApi )
+ 
+     assert( hostApi );
+ 
++    snd_lib_error_set_handler(NULL);
++
+     if( alsaHostApi->allocations )
+     {
+         PaUtil_FreeAllAllocations( alsaHostApi->allocations );
diff --git a/debian/portaudio19-dev.dirs b/debian/portaudio19-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/portaudio19-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/portaudio19-dev.install b/debian/portaudio19-dev.install
new file mode 100644
index 0000000..bba219c
--- /dev/null
+++ b/debian/portaudio19-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+/usr/lib/*.la
diff --git a/debian/portaudio19-doc.doc-base b/debian/portaudio19-doc.doc-base
new file mode 100644
index 0000000..cfcfe22
--- /dev/null
+++ b/debian/portaudio19-doc.doc-base
@@ -0,0 +1,14 @@
+Document: portaudio19
+Title: PortAudio - Portable Audio Library - Documentation
+Author: Phil Burk and Ross Bencina
+Abstract:
+ PortAudio is a cross platform, open-source, audio I/O library proposed by
+ Ross Bencina to the music-dsp mailing list. It lets you write simple audio
+ programs in 'C' that will compile and run on Windows, Macintosh, Unix,
+ BeOS. PortAudio is intended to promote the exchange of audio synthesis
+ software between developers on different platforms.
+Section: Sound
+
+Format: HTML
+Index: /usr/share/doc/portaudio19-doc/index.html
+Files: /usr/share/doc/portaudio19-doc/doc/html/*
diff --git a/debian/portaudio19-doc.docs b/debian/portaudio19-doc.docs
new file mode 100644
index 0000000..e3b9bed
--- /dev/null
+++ b/debian/portaudio19-doc.docs
@@ -0,0 +1,2 @@
+README.txt
+index.html
diff --git a/debian/portaudio19-doc.examples b/debian/portaudio19-doc.examples
new file mode 100644
index 0000000..3c1e2fa
--- /dev/null
+++ b/debian/portaudio19-doc.examples
@@ -0,0 +1,2 @@
+pablio/*
+bindings/cpp/example/*.cxx
diff --git a/debian/portaudio19-doc.install b/debian/portaudio19-doc.install
new file mode 100644
index 0000000..c6c5785
--- /dev/null
+++ b/debian/portaudio19-doc.install
@@ -0,0 +1 @@
+../../doc/html/ /usr/share/doc/portaudio19-doc/doc
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ec4a4fa
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,153 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH_OS    ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+
+CFLAGS = -Wall -g -D_REENTRANT
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+	CONFIGURE_SOUND_ARGS = --with-oss=yes --with-alsa=yes
+	DH_GENCONTROL_ARGS = -Valsa-dev="libasound2-dev"
+else
+	CONFIGURE_SOUND_ARGS = --with-oss=yes --with-alsa=no
+endif
+
+#
+# pa_ringbuffer required for jack support is only guaranteed
+# SMP safe on i386 and powerpc
+#
+ENABLE_JACK = no
+ifeq (i386,$(DEB_HOST_ARCH))
+	ENABLE_JACK = yes
+else
+ifeq (powerpc,$(DEB_HOST_ARCH))
+	ENABLE_JACK = yes
+endif
+endif
+
+ifeq (yes,$(ENABLE_JACK))
+	DH_GENCONTROL_ARGS += -Vjack-dev="libjack0.100.0-dev"
+endif
+
+CONFIGURE_SOUND_ARGS += --with-jack=$(ENABLE_JACK)
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+UPDATE:=$(shell echo $(UPVERSION) | sed -e 's/^.*\+svn//')
+
+FILENAME := portaudio19_$(UPVERSION).orig.tar.gz
+URL := https://www.portaudio.com/repos/portaudio/branches/v19-devel
+SRCDIR := portaudio19-$(UPVERSION).orig
+
+autoreconf:
+	aclocal
+	autoconf
+	libtoolize -c
+	$(RM) -r autom4te.cache
+
+config: patch config.status
+config.status:
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-cxx $(CONFIGURE_SOUND_ARGS)
+
+build: config build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE) lib/libportaudio.la
+	$(MAKE) -C bindings/cpp
+	doxygen
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f bindings/cpp/doc/Makefile ]||$(MAKE) -C bindings/cpp/doc distclean
+	[ ! -f bindings/cpp/Makefile ]||$(MAKE) -C bindings/cpp distclean
+	[ ! -f Makefile ]||$(MAKE) distclean
+	$(RM) -r lib/.libs
+	$(RM) doc/html/*
+	$(MAKE) -f $(CURDIR)/debian/rules unpatch
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	
+	install -d $(CURDIR)/debian/tmp/usr/lib
+	install -d $(CURDIR)/debian/tmp/usr/include
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_install -i --sourcedir=debian/tmp
+	dh_compress -i --exclude=usr/share/doc/portaudio19-doc/docs
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_install -a --sourcedir=debian/tmp --list-missing
+	dh_strip -a
+	dh_compress -a --exclude=usr/share/doc/portaudio19-doc/docs
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a -- $(DH_GENCONTROL_ARGS)
+	dh_md5sums -a
+	dh_builddeb -a
+
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "Upstream version:        $(UPVERSION)"
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(FILENAME) from $(URL) ...
+	@@svn export -r{$(UPDATE)T0000Z} $(URL) ../tarballs/$(SRCDIR)
+	@@echo Building snapshot tarball
+	@@GZIP=-9 tar -b1 -czf ../tarballs/$(FILENAME) -C ../tarballs $(SRCDIR)
+	@@echo Cleaning up
+	@@rm -rf ../tarballs/$(SRCDIR)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch config autoreconf print-version get-orig-source
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4774332
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+# See uscan(1) for format
+
+version=3
+
+#http://www.portaudio.com/archives/pa_stable_v19_(.*).tar.gz
+
+opts=dversionmangle=s/+svn/_/ \
+ http://www.portaudio.com/archives/pa_stable_v(19_.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/portaudio19.git



More information about the Pkg-voip-commits mailing list