[vlc-commits] Contribs: mpcdec: don't build binaries.

Konstantin Pavlov git at videolan.org
Sat Apr 21 19:43:53 CEST 2012


vlc/vlc-2.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Apr 17 15:18:34 2012 +0400| [4eca2eeb419e056725da7b276ebe6fc50c7b8b24] | committer: Jean-Baptiste Kempf

Contribs: mpcdec: don't build binaries.
(cherry picked from commit 301f34dea49ac0d41ec1f7a1309a4707ca56ae97)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=4eca2eeb419e056725da7b276ebe6fc50c7b8b24
---

 contrib/src/mpcdec/musepack-no-binaries.patch |   15 +++++++++++++++
 contrib/src/mpcdec/rules.mak                  |    1 +
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/contrib/src/mpcdec/musepack-no-binaries.patch b/contrib/src/mpcdec/musepack-no-binaries.patch
new file mode 100644
index 0000000..bb48e851
--- /dev/null
+++ b/contrib/src/mpcdec/musepack-no-binaries.patch
@@ -0,0 +1,15 @@
+diff -urN musepack_src_r475.clean/CMakeLists.txt musepack_src_r475/CMakeLists.txt
+--- musepack_src_r475.clean/CMakeLists.txt	2012-04-17 15:16:37.000000000 +0400
++++ musepack_src_r475/CMakeLists.txt	2012-04-17 15:17:07.000000000 +0400
+@@ -23,11 +23,4 @@
+ add_subdirectory(libmpcpsy)
+ add_subdirectory(libmpcenc)
+ add_subdirectory(libwavformat)
+-add_subdirectory(mpcgain)
+-add_subdirectory(mpcdec)
+-add_subdirectory(mpcenc)
+-add_subdirectory(mpc2sv8)
+-add_subdirectory(mpccut)
+-add_subdirectory(mpcchap)
+-add_subdirectory(wavcmp)
+ add_subdirectory(include)
diff --git a/contrib/src/mpcdec/rules.mak b/contrib/src/mpcdec/rules.mak
index 31022b6..13a46cc 100644
--- a/contrib/src/mpcdec/rules.mak
+++ b/contrib/src/mpcdec/rules.mak
@@ -27,6 +27,7 @@ $(TARBALLS)/musepack_src_r$(MUSE_REV).tar.gz:
 musepack: musepack_src_r$(MUSE_REV).tar.gz .sum-mpcdec
 	$(UNPACK)
 	$(APPLY) $(SRC)/mpcdec/musepack-no-cflags-clobber.patch
+	$(APPLY) $(SRC)/mpcdec/musepack-no-binaries.patch
 	sed -i.orig \
 		-e 's,^add_subdirectory(mpcgain),,g' \
 		-e 's,^add_subdirectory(mpcchap),,g' \



More information about the vlc-commits mailing list