[vlc-devel] [PATCH 02/10] contrib: musepack: use $(MOVE) like other contribs
Steve Lhomme
robux4 at ycbcr.xyz
Mon Jul 6 15:14:04 CEST 2020
The UNPACK_DIR matches the name of the tarball.
---
contrib/src/mpcdec/rules.mak | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/src/mpcdec/rules.mak b/contrib/src/mpcdec/rules.mak
index 8b1d3c74a36..248ed75fa77 100644
--- a/contrib/src/mpcdec/rules.mak
+++ b/contrib/src/mpcdec/rules.mak
@@ -34,13 +34,12 @@ endif
sed -i.orig \
-e 's,^add_subdirectory(mpcgain),,g' \
-e 's,^add_subdirectory(mpcchap),,g' \
- $@_src_r$(MUSE_REV)/CMakeLists.txt
+ musepack_src_r$(MUSE_REV)/CMakeLists.txt
ifdef HAVE_MACOSX
cd musepack_src_r$(MUSE_REV) && \
sed -e 's%-O3 -Wall%-O3 -Wall $(CFLAGS)%' CMakeLists.txt
endif
- mv $@_src_r$(MUSE_REV) $@
- touch $@
+ $(MOVE)
.mpcdec: musepack toolchain.cmake
cd $< && $(HOSTVARS_PIC) $(CMAKE) -DSHARED=OFF .
--
2.26.2
More information about the vlc-devel
mailing list