[Pkg-voip-commits] [portaudio19] 82/114: Install headers for portAudio backends.
Benjamin Drung
bdrung at moszumanska.debian.org
Sun Dec 25 20:05:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
bdrung pushed a commit to branch master
in repository portaudio19.
commit a887aca407ba87199755d155fb0997d8b4cf4de9
Author: Benjamin Drung <bdrung at debian.org>
Date: Sat Feb 26 15:00:51 2011 +0000
Install headers for portAudio backends.
---
debian/patches/install-headers.patch | 69 ++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 70 insertions(+)
diff --git a/debian/patches/install-headers.patch b/debian/patches/install-headers.patch
new file mode 100644
index 0000000..a9de7c7
--- /dev/null
+++ b/debian/patches/install-headers.patch
@@ -0,0 +1,69 @@
+Description: Install headers for portAudio backends.
+Author: Benjamin Drung <bdrung at debian.org>
+
+--- portaudio19-19+svn20101113.orig/configure.in
++++ portaudio19-19+svn20101113/configure.in
+@@ -165,6 +165,7 @@ AC_SUBST(DLL_LIBS)
+ AC_SUBST(CXXFLAGS)
+ AC_SUBST(NASM)
+ AC_SUBST(NASMOPT)
++AC_SUBST(INCLUDES)
+
+ dnl -g is optional on darwin
+ if ( echo "${host_os}" | grep ^darwin >> /dev/null ) &&
+@@ -188,6 +189,8 @@ add_objects()
+ done
+ }
+
++INCLUDES=portaudio.h
++
+ case "${host_os}" in
+ darwin* )
+ dnl Mac OS X configuration
+@@ -317,6 +320,7 @@ case "${host_os}" in
+ DLL_LIBS="$DLL_LIBS -lasound"
+ LIBS="$LIBS -lasound"
+ OTHER_OBJS="$OTHER_OBJS src/hostapi/alsa/pa_linux_alsa.o"
++ INCLUDES="$INCLUDES pa_linux_alsa.h"
+ AC_DEFINE(PA_USE_ALSA)
+ fi
+
+@@ -324,6 +328,7 @@ case "${host_os}" in
+ DLL_LIBS="$DLL_LIBS $JACK_LIBS"
+ CFLAGS="$CFLAGS $JACK_CFLAGS"
+ OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o src/common/pa_ringbuffer.o"
++ INCLUDES="$INCLUDES pa_jack.h"
+ AC_DEFINE(PA_USE_JACK)
+ fi
+
+@@ -332,7 +337,8 @@ case "${host_os}" in
+ if [[ "$have_libossaudio" = "yes" ]] ; then
+ DLL_LIBS="$DLL_LIBS -lossaudio"
+ LIBS="$LIBS -lossaudio"
+- fi
++ fi
++ INCLUDES="$INCLUDES pa_unix_oss.h"
+ AC_DEFINE(PA_USE_OSS)
+ fi
+
+--- portaudio19-19+svn20101113.orig/Makefile.in
++++ portaudio19-19+svn20101113/Makefile.in
+@@ -38,6 +38,7 @@ LT_REVISION=@LT_REVISION@
+ LT_AGE=@LT_AGE@
+
+ OTHER_OBJS = @OTHER_OBJS@
++INCLUDES = @INCLUDES@
+
+ PALIB = libportaudio.la
+ PAINC = include/portaudio.h
+@@ -158,7 +159,9 @@ install: lib/$(PALIB) portaudio-2.0.pc
+ $(INSTALL) -d $(DESTDIR)$(libdir)
+ $(LIBTOOL) --mode=install $(INSTALL) lib/$(PALIB) $(DESTDIR)$(libdir)
+ $(INSTALL) -d $(DESTDIR)$(includedir)
+- $(INSTALL_DATA) -m 644 $(top_srcdir)/$(PAINC) $(DESTDIR)$(includedir)/portaudio.h
++ for include in $(INCLUDES); do \
++ $(INSTALL_DATA) -m 644 $(top_srcdir)/include/$$include $(DESTDIR)$(includedir)/$$include; \
++ done
+ $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc
+ @echo ""
diff --git a/debian/patches/series b/debian/patches/series
index 8532c96..4f06a36 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
audacity-portmixer.patch
binutils-gold-fix.patch
export-oss-functions.patch
+install-headers.patch
--
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