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

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


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

    Add build-shared-libecasound patch

diff --git a/debian/patches/0003-build-shared-libecasound.patch b/debian/patches/0003-build-shared-libecasound.patch
new file mode 100644
index 0000000..908be43
--- /dev/null
+++ b/debian/patches/0003-build-shared-libecasound.patch
@@ -0,0 +1,65 @@
+From: Alessandro Ghedini <al3xbio at gmail.com>
+Date: Sun, 6 Feb 2011 18:55:33 +0100
+Subject: [PATCH] build shared libecasound
+
+Build libecasound as shared library instead of static
+---
+ libecasound/Makefile.am         |    2 +-
+ libecasound/Makefile.in         |    2 +-
+ libecasound/plugins/Makefile.am |    2 +-
+ libecasound/plugins/Makefile.in |    2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/libecasound/Makefile.am b/libecasound/Makefile.am
+index 1f90b35..b1a26f6 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) -static
++libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC
+ 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 74a544e..79e04ed 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) -static
++libecasound_la_LDFLAGS = -export-dynamic $(eca_ldflags) -shared -fPIC
+ libecasound_la_LIBADD = $(eca_libadd)
+ libecasound_debug_la_LDFLAGS = $(libecasound_la_LDFLAGS)
+ libecasound_debug_la_LIBADD = $(libecasound_la_LIBADD)
+diff --git a/libecasound/plugins/Makefile.am b/libecasound/plugins/Makefile.am
+index 8b1e3ef..493709d 100644
+--- a/libecasound/plugins/Makefile.am
++++ b/libecasound/plugins/Makefile.am
+@@ -105,7 +105,7 @@ plugin_all_sources = 	$(all_af_src) \
+ libecasound_plugins_la_SOURCES          = audioio_dummy.cpp $(plugin_cond_sources)
+ EXTRA_libecasound_plugins_la_SOURCES    = $(plugin_all_sources)
+ libecasound_plugins_la_LIBADD		= $(ECA_S_EXTRA_LIBS)
+-libecasound_plugins_la_LDFLAGS 		= -static
++libecasound_plugins_la_LDFLAGS 		= -shared -fPIC
+ 
+ libecasound_plugins_debug_la_SOURCES	= $(libecasound_plugins_la_SOURCES)
+ EXTRA_libecasound_plugins_debug_la_SOURCES = $(EXTRA_libecasound_plugins_la_SOURCES)
+diff --git a/libecasound/plugins/Makefile.in b/libecasound/plugins/Makefile.in
+index 97861c6..3f6a8af 100644
+--- a/libecasound/plugins/Makefile.in
++++ b/libecasound/plugins/Makefile.in
+@@ -356,7 +356,7 @@ plugin_all_sources = $(all_af_src) \
+ libecasound_plugins_la_SOURCES = audioio_dummy.cpp $(plugin_cond_sources)
+ EXTRA_libecasound_plugins_la_SOURCES = $(plugin_all_sources)
+ libecasound_plugins_la_LIBADD = $(ECA_S_EXTRA_LIBS)
+-libecasound_plugins_la_LDFLAGS = -static
++libecasound_plugins_la_LDFLAGS = -shared -fPIC
+ libecasound_plugins_debug_la_SOURCES = $(libecasound_plugins_la_SOURCES)
+ EXTRA_libecasound_plugins_debug_la_SOURCES = $(EXTRA_libecasound_plugins_la_SOURCES)
+ libecasound_plugins_debug_la_LIBADD = $(libecasound_plugins_la_LIBADD)
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index edaefb0..dc9c978 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-fix-manpages-errors.patch
 0002-fix-spelling-error.patch
+0003-build-shared-libecasound.patch

-- 
ecasound packaging



More information about the pkg-multimedia-commits mailing list