Prechádzať zdrojové kódy

buildMobileVLCKit: rename the script since it's not anymore mobile only and remove buildVLCKit

Carola Nitz 7 rokov pred
rodič
commit
74f8e4dcfd
4 zmenil súbory, kde vykonal 2 pridanie a 88 odobranie
  1. 1 0
      NEWS
  2. 1 1
      Packaging/buildAndDeployFrameworks.sh
  3. 0 87
      buildVLCKit.sh
  4. 0 0
      compileAndBuildVLCKit.sh

+ 1 - 0
NEWS

@@ -1,6 +1,7 @@
 Version 3.0.3:
 --------------
 - Expose the existing snapshot API of the VLCMediaPlayer class to macOS
+- Rename buildMobileVLCKit to compileAndBuildVLCKit
 
 Version 3.0.2:
 --------------

+ 1 - 1
Packaging/buildAndDeployFrameworks.sh

@@ -7,7 +7,7 @@ DEPLOY_MOBILEVLCKIT=no
 DEPLOY_TVVLCKIT=no
 TEST_MODE=no
 
-BUILD_MOBILEVLCKIT="./buildMobileVLCKit.sh -vf"
+BUILD_MOBILEVLCKIT="./compileAndBuildVLCKit.sh -vf"
 CREATE_DISTRIBUTION_PACKAGE="./create-distributable-package.sh"
 STABLE_UPLOAD_URL="https://download.videolan.org/cocoapods/unstable/"
 MOBILE_PODSPEC="MobileVLCKit-unstable.podspec"

+ 0 - 87
buildVLCKit.sh

@@ -1,87 +0,0 @@
-#!/bin/sh
-# Copyright (C) Pierre d'Herbemont, 2010
-# Copyright (C) Felix Paul Kühne, 2012-2016
-
-set -e
-
-FORWARDEDOPTIONS=""
-
-if [ -z "$MAKE_JOBS" ]; then
-    CORE_COUNT=`sysctl -n machdep.cpu.core_count`
-    let MAKE_JOBS=$CORE_COUNT+1
-fi
-
-usage()
-{
-cat << EOF
-This is a LEGACY WRAPPER to retain compatibility
-------> UPGRADE YOUR BUILD SYSTEM <------
-EOF
-}
-
-spushd()
-{
-     pushd "$1" 2>&1> /dev/null
-}
-
-spopd()
-{
-     popd 2>&1> /dev/null
-}
-
-info()
-{
-     local green="\033[1;32m"
-     local normal="\033[0m"
-     echo "[${green}info${normal}] $1"
-}
-
-while getopts "hvwsfbdntlk:" OPTION
-do
-     case $OPTION in
-         h)
-             usage
-             exit 1
-             ;;
-         v)
-             FORWARDEDOPTIONS+=" -v"
-             ;;
-         d)
-             FORWARDEDOPTIONS+=" -d"
-             ;;
-         w)
-             FORWARDEDOPTIONS+=" -w"
-             ;;
-         n)
-             FORWARDEDOPTIONS+=" -n"
-             ;;
-         l)
-             FORWARDEDOPTIONS+=" -l"
-             ;;
-         k)
-             FORWARDEDOPTIONS+=" -k" $OPTARG
-             ;;
-         ?)
-             usage
-             exit 1
-             ;;
-     esac
-done
-shift $(($OPTIND - 1))
-
-out="/dev/null"
-if [ "$VERBOSE" = "yes" ]; then
-   out="/dev/stdout"
-fi
-
-if [ "x$1" != "x" ]; then
-    usage
-    exit 1
-fi
-
-info "This is a LEGACY wrapper to retain compability with the previous build system"
-info "Consider UPGRADING NOW"
-
-./buildMobileVLCKit.sh -x $FORWARDEDOPTIONS
-
-exit 0

buildMobileVLCKit.sh → compileAndBuildVLCKit.sh