[vlc-commits] Contribs: mpcdec: don't build binaries.
Konstantin Pavlov
git at videolan.org
Wed Apr 18 12:59:33 CEST 2012
vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Apr 17 15:18:34 2012 +0400| [301f34dea49ac0d41ec1f7a1309a4707ca56ae97] | committer: Konstantin Pavlov
Contribs: mpcdec: don't build binaries.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=301f34dea49ac0d41ec1f7a1309a4707ca56ae97
---
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