Commit ce9dac0e authored by Felix Paul Kühne's avatar Felix Paul Kühne

package/macosx: remove legacy code

parent 86cf8393
...@@ -4,17 +4,13 @@ ...@@ -4,17 +4,13 @@
# #
# Script that installs libvlc to VLC.app # 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 if test "${ACTION}" = "release-makefile"; then
echo "running build-package.sh in release-makefile mode" echo "running build-package.sh in release-makefile mode"
FULL_PRODUCT_NAME="${PRODUCT}" FULL_PRODUCT_NAME="${PRODUCT}"
if [ "$FULL_PRODUCT_NAME" = "VLC-Plugin.plugin" ] ; then TARGET_BUILD_DIR="${build_dir}"
TARGET_BUILD_DIR="${src_dir}"
else
TARGET_BUILD_DIR="${build_dir}"
fi
CONTENTS_FOLDER_PATH="${FULL_PRODUCT_NAME}/Contents/MacOS" CONTENTS_FOLDER_PATH="${FULL_PRODUCT_NAME}/Contents/MacOS"
VLC_BUILD_DIR="${build_dir}" VLC_BUILD_DIR="${build_dir}"
VLC_SRC_DIR="${src_dir}" VLC_SRC_DIR="${src_dir}"
...@@ -235,11 +231,6 @@ if [ "$FULL_PRODUCT_NAME" = "VLC.app" ] ; then ...@@ -235,11 +231,6 @@ if [ "$FULL_PRODUCT_NAME" = "VLC.app" ] ; then
vlc_install "bin/${prefix}" "vlc" "${target}" "bin" "@loader_path/lib" vlc_install "bin/${prefix}" "vlc" "${target}" "bin" "@loader_path/lib"
mv ${target}/vlc ${target}/VLC mv ${target}/vlc ${target}/VLC
chmod +x ${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 else
vlc_install "bin/${prefix}" "vlc" "${target}/bin" "bin" "@loader_path/../lib" vlc_install "bin/${prefix}" "vlc" "${target}/bin" "bin" "@loader_path/../lib"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment