[Pkg-voip-commits] r8804 - in /portaudio19/trunk/debian/patches: install-headers.patch series
bdrung at alioth.debian.org
bdrung at alioth.debian.org
Sat Feb 26 15:01:00 UTC 2011
Author: bdrung
Date: Sat Feb 26 15:00:51 2011
New Revision: 8804
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8804
Log:
Install headers for portAudio backends.
Added:
portaudio19/trunk/debian/patches/install-headers.patch
Modified:
portaudio19/trunk/debian/patches/series
Added: portaudio19/trunk/debian/patches/install-headers.patch
URL: http://svn.debian.org/wsvn/pkg-voip/portaudio19/trunk/debian/patches/install-headers.patch?rev=8804&op=file
==============================================================================
--- portaudio19/trunk/debian/patches/install-headers.patch (added)
+++ portaudio19/trunk/debian/patches/install-headers.patch Sat Feb 26 15:00:51 2011
@@ -1,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 ""
Modified: portaudio19/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/portaudio19/trunk/debian/patches/series?rev=8804&op=diff
==============================================================================
--- portaudio19/trunk/debian/patches/series (original)
+++ portaudio19/trunk/debian/patches/series Sat Feb 26 15:00:51 2011
@@ -1,3 +1,4 @@
audacity-portmixer.patch
binutils-gold-fix.patch
export-oss-functions.patch
+install-headers.patch
More information about the Pkg-voip-commits
mailing list