[vlmc-devel] Mac Contribs: Get architecture dependent vlc 1.1.8 for contribs

Rohit Yadav git at videolan.org
Thu Mar 24 13:10:30 CET 2011


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Thu Mar 24 17:55:16 2011 +0530| [094c8364075472d7c035257735c8ddca6f42e201] | committer: Rohit Yadav

Mac Contribs: Get architecture dependent vlc 1.1.8 for contribs

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=094c8364075472d7c035257735c8ddca6f42e201
---

 contribs/contribs-mac.sh |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/contribs/contribs-mac.sh b/contribs/contribs-mac.sh
index 2d2fb15..7c91057 100644
--- a/contribs/contribs-mac.sh
+++ b/contribs/contribs-mac.sh
@@ -1,8 +1,15 @@
 #!/bin/sh
 
-echo "For 64-bit builds please use an intel64 based contrib."
-VLC_VERSION_DATE="20110203-0102"
-VLC_VERSION_PREFIX="1.1-branch-intel-${VLC_VERSION_DATE}"
+VLC_ARCH=""
+VLC_BUILD_ID="0104"
+if [ `uname -m` != "i386" ]; then
+    VLC_ARCH="64";
+    VLC_BUILD_ID="0205";
+fi
+echo "Contribs configured for" `uname -m` "architecture"
+
+VLC_VERSION_DATE="20110304-${VLC_BUILD_ID}"
+VLC_VERSION_PREFIX="1.1-branch-intel${VLC_ARCH}-${VLC_VERSION_DATE}"
 VLC_FILE="${VLC_VERSION_PREFIX}.zip"
 VLC_URL="http://nightlies.videolan.org/build/macosx-intel/${VLC_FILE}"
 FREI0R_FILE="frei0r-plugins-1.2.1.tar.gz"



More information about the Vlmc-devel mailing list