[SCM] zita-alsa-pcmi/master: Fix building of apps.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Jan 31 10:05:53 UTC 2012


The following commit has been merged in the master branch:
commit f50b3779589263eb758c64f859802deddc7a3d92
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Jan 31 11:05:48 2012 +0100

    Fix building of apps.

diff --git a/debian/patches/02-missing_include.patch b/debian/patches/02-missing_include.patch
new file mode 100644
index 0000000..1565189
--- /dev/null
+++ b/debian/patches/02-missing_include.patch
@@ -0,0 +1,33 @@
+---
+ apps/Makefile |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- zita-alsa-pcmi.orig/apps/Makefile
++++ zita-alsa-pcmi/apps/Makefile
+@@ -24,7 +24,7 @@ SUFFIX := $(shell uname -m | sed -e 's/^
+ LIBDIR = lib$(SUFFIX)
+ VERSION = "0.1.0"
+ LDFLAGS += -L$(PREFIX)/$(LIBDIR)
+-CPPFLAGS += -DVERSION=\"$(VERSION)\"
++CPPFLAGS += -DVERSION=\"$(VERSION)\" -I../libs
+ CXXFLAGS += -O2 -Wall -MMD -MP
+ 
+ 
+@@ -32,7 +32,7 @@ all:	alsa_loopback alsa_delay
+ 
+ 
+ ALSA_LOOPBACK_O =	alsa_loopback.o pxthread.o
+-alsa_loopback:	LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
++alsa_loopback:	LDLIBS += ../libs/libzita-alsa-pcmi.so.0.1.1 -lasound -lpthread -lrt
+ alsa_loopback:	$(ALSA_LOOPBACK_O)
+ 	g++ $(LDFLAGS) -o $@ $(ALSA_LOOPBACK_O) $(LDLIBS)
+ $(ALSA_LOOPBACK_O):
+@@ -40,7 +40,7 @@ $(ALSA_LOOPBACK_O):
+ 
+ 
+ ALSA_DELAY_O =	alsa_delay.o mtdm.o pxthread.o
+-alsa_delay:	LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
++alsa_delay:	LDLIBS += ../libs/libzita-alsa-pcmi.so.0.1.1 -lasound -lpthread -lrt
+ alsa_delay:	$(ALSA_DELAY_O)
+ 	g++ $(LDFLAGS) -o $@ $(ALSA_DELAY_O) $(LDLIBS)
+ $(ALSA_DELAY_O):
diff --git a/debian/patches/series b/debian/patches/series
index d3b72df..452f19c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-makefile.patch
+02-missing_include.patch

-- 
zita-alsa-pcmi packaging



More information about the pkg-multimedia-commits mailing list