[SCM] ecasound/master: Add build-shared-libkvutils patch

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Sun Feb 6 21:59:29 UTC 2011


The following commit has been merged in the master branch:
commit ab6a9c78ef8eae4892d7901b07184ad637257b77
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Sun Feb 6 22:10:55 2011 +0100

    Add build-shared-libkvutils patch

diff --git a/debian/patches/0005-build-shared-libkvutils.patch b/debian/patches/0005-build-shared-libkvutils.patch
new file mode 100644
index 0000000..ff0b4df
--- /dev/null
+++ b/debian/patches/0005-build-shared-libkvutils.patch
@@ -0,0 +1,65 @@
+From: Alessandro Ghedini <al3xbio at gmail.com>
+Date: Sun, 6 Feb 2011 19:57:10 +0100
+Subject: [PATCH] build shared libkvutils
+
+Build libkvutils as shared library instead of static
+---
+ kvutils/Makefile.am     |    2 +-
+ kvutils/Makefile.in     |    2 +-
+ libecasound/Makefile.am |    2 +-
+ libecasound/Makefile.in |    2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/kvutils/Makefile.am b/kvutils/Makefile.am
+index 76408b6..2a9446b 100644
+--- a/kvutils/Makefile.am
++++ b/kvutils/Makefile.am
+@@ -56,7 +56,7 @@ kvutil_headers = 	kvu_dbc.h \
+ 			kvu_value_queue.h
+ 
+ libkvutils_la_SOURCES = $(kvutil_sources) $(kvutil_headers)
+-libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -static
++libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -shared -fPIC
+ 
+ libkvutils_debug_la_SOURCES = $(libkvutils_la_SOURCES)
+ libkvutils_debug_la_LDFLAGS = $(libkvutils_la_LDFLAGS)
+diff --git a/kvutils/Makefile.in b/kvutils/Makefile.in
+index 95c8869..922ca8c 100644
+--- a/kvutils/Makefile.in
++++ b/kvutils/Makefile.in
+@@ -326,7 +326,7 @@ kvutil_headers = kvu_dbc.h \
+ 			kvu_value_queue.h
+ 
+ libkvutils_la_SOURCES = $(kvutil_sources) $(kvutil_headers)
+-libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -static
++libkvutils_la_LDFLAGS = -version-info @LIBKVUTILS_VERSION@:0:@LIBKVUTILS_VERSION_AGE@ -shared -fPIC
+ libkvutils_debug_la_SOURCES = $(libkvutils_la_SOURCES)
+ libkvutils_debug_la_LDFLAGS = $(libkvutils_la_LDFLAGS)
+ libkvutils_tester_SOURCES = libkvutils_tester.cpp
+diff --git a/libecasound/Makefile.am b/libecasound/Makefile.am
+index b1a26f6..660d771 100644
+--- a/libecasound/Makefile.am
++++ b/libecasound/Makefile.am
+@@ -363,7 +363,7 @@ libecasound_tester_src = \
+ 
+ libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+ libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+-libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC
++libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC -L$(top_builddir)/kvutils -lkvutils
+ libecasound_la_LIBADD = $(eca_libadd)
+ libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
+ libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
+diff --git a/libecasound/Makefile.in b/libecasound/Makefile.in
+index 79e04ed..0adc095 100644
+--- a/libecasound/Makefile.in
++++ b/libecasound/Makefile.in
+@@ -737,7 +737,7 @@ libecasound_tester_src = \
+ 
+ libecasound_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+ libecasound_debug_la_SOURCES = $(ecasound_common1_src) $(ecasound_common2_src)
+-libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC
++libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC -L$(top_builddir)/kvutils -lkvutils
+ libecasound_la_LIBADD = $(eca_libadd)
+ libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
+ libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 6e29605..2eee8e5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-fix-spelling-error.patch
 0003-build-shared-libecasound.patch
 0004-build-shared-libecasoundc.patch
+0005-build-shared-libkvutils.patch

-- 
ecasound packaging



More information about the pkg-multimedia-commits mailing list