[vlc-commits] contrib: musepack: use $(MOVE) like other contribs

Steve Lhomme git at videolan.org
Thu Jul 9 14:23:29 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul  6 10:09:28 2020 +0200| [81d3f2aa114aa32a6c50f6131663fd29b6048629] | committer: Steve Lhomme

contrib: musepack: use $(MOVE) like other contribs

The UNPACK_DIR matches the name of the tarball.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81d3f2aa114aa32a6c50f6131663fd29b6048629
---

 contrib/src/mpcdec/rules.mak | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/contrib/src/mpcdec/rules.mak b/contrib/src/mpcdec/rules.mak
index 8b1d3c74a3..9284ad4e99 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
+		$(UNPACK_DIR)/CMakeLists.txt
 ifdef HAVE_MACOSX
-	cd musepack_src_r$(MUSE_REV) && \
+	cd $(UNPACK_DIR) && \
 	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 .



More information about the vlc-commits mailing list