[vlc-commits] package/macosx: remove legacy code

Felix Paul Kühne git at videolan.org
Thu Jan 16 19:32:13 CET 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Jan 16 19:32:01 2014 +0100| [ce9dac0ed9264fd4425b1901461881b078bb1c81] | committer: Felix Paul Kühne

package/macosx: remove legacy code

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

 extras/package/macosx/build-package.sh |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/extras/package/macosx/build-package.sh b/extras/package/macosx/build-package.sh
index e49f89a..a693c4f 100644
--- a/extras/package/macosx/build-package.sh
+++ b/extras/package/macosx/build-package.sh
@@ -4,17 +4,13 @@
 #
 # Script that installs libvlc to VLC.app
 
-# We are building VLC.app or the moz plugin
+# We are building VLC.app
 #
 if test "${ACTION}" = "release-makefile"; then
     echo "running build-package.sh in release-makefile mode"
 
     FULL_PRODUCT_NAME="${PRODUCT}"
-    if [ "$FULL_PRODUCT_NAME" = "VLC-Plugin.plugin" ] ; then
-        TARGET_BUILD_DIR="${src_dir}"
-    else
-        TARGET_BUILD_DIR="${build_dir}"
-    fi
+    TARGET_BUILD_DIR="${build_dir}"
     CONTENTS_FOLDER_PATH="${FULL_PRODUCT_NAME}/Contents/MacOS"
     VLC_BUILD_DIR="${build_dir}"
     VLC_SRC_DIR="${src_dir}"
@@ -235,11 +231,6 @@ if [ "$FULL_PRODUCT_NAME" = "VLC.app" ] ; then
     vlc_install "bin/${prefix}" "vlc" "${target}" "bin" "@loader_path/lib"
     mv ${target}/vlc ${target}/VLC
     chmod +x ${target}/VLC
-elif [ "$FULL_PRODUCT_NAME" = "VLC-Plugin.plugin" ] ; then
-    # install Safari webplugin
-    vlc_install "projects/mozilla/${prefix}" "npvlc.${suffix}" "${target}" "lib" "@loader_path/lib"
-    mv ${target}/npvlc.${suffix} "${target}/VLC Plugin"
-    chmod +x "${target}/VLC Plugin"
 else
     vlc_install "bin/${prefix}" "vlc" "${target}/bin" "bin" "@loader_path/../lib"
 fi



More information about the vlc-commits mailing list