From 260ccf443255308d1cc3393af773b3652d4c26aa Mon Sep 17 00:00:00 2001 From: Zhang Rui Date: Thu, 18 Sep 2014 14:59:16 +0800 Subject: [PATCH] license: license script files as Apache License 2.0 --- android/compile-ffmpeg.sh | 15 +++++++++++++++ android/compile-ijk.sh | 15 +++++++++++++++ android/compile-openssl.sh | 15 +++++++++++++++ android/ndk-stack-ijkmp.sh | 15 +++++++++++++++ android/setup-as-commiter.sh | 15 +++++++++++++++ android/sync-mirrors.sh | 15 +++++++++++++++ android/tools/do-compile-ffmpeg.sh | 15 +++++++++++++++ init-android-libyuv.sh | 16 ++++++++++++++++ init-android-openssl.sh | 15 +++++++++++++++ init-android.sh | 15 +++++++++++++++ init-config.sh | 15 +++++++++++++++ init-ios-openssl.sh | 15 +++++++++++++++ init-ios.sh | 15 +++++++++++++++ ios/compile-ffmpeg.sh | 15 +++++++++++++++ ios/compile-openssl.sh | 15 +++++++++++++++ ios/tools/do-compile-ffmpeg.sh | 15 +++++++++++++++ ios/tools/do-compile-openssl.sh | 15 +++++++++++++++ 17 files changed, 256 insertions(+) diff --git a/android/compile-ffmpeg.sh b/android/compile-ffmpeg.sh index 5e9df082..ece17eae 100755 --- a/android/compile-ffmpeg.sh +++ b/android/compile-ffmpeg.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script is based on projects below # https://github.com/yixia/FFmpeg-Android diff --git a/android/compile-ijk.sh b/android/compile-ijk.sh index 03c02375..2cc1c1b4 100755 --- a/android/compile-ijk.sh +++ b/android/compile-ijk.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cd ijkmediaplayer/jni ndk-build diff --git a/android/compile-openssl.sh b/android/compile-openssl.sh index 76e4c4e1..94645b9a 100755 --- a/android/compile-openssl.sh +++ b/android/compile-openssl.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #-------------------- echo "====================" diff --git a/android/ndk-stack-ijkmp.sh b/android/ndk-stack-ijkmp.sh index ebfc024a..663dd92b 100755 --- a/android/ndk-stack-ijkmp.sh +++ b/android/ndk-stack-ijkmp.sh @@ -1,3 +1,18 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# adb logcat | ndk-stack -sym ijkmediaplayer/obj/local/armeabi-v7a diff --git a/android/setup-as-commiter.sh b/android/setup-as-commiter.sh index 425a6233..5d6e1211 100755 --- a/android/setup-as-commiter.sh +++ b/android/setup-as-commiter.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cd ffmpeg-armv7a diff --git a/android/sync-mirrors.sh b/android/sync-mirrors.sh index 103aa5fa..874a5163 100755 --- a/android/sync-mirrors.sh +++ b/android/sync-mirrors.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cd ffmpeg-armv7a diff --git a/android/tools/do-compile-ffmpeg.sh b/android/tools/do-compile-ffmpeg.sh index 01c6833b..190c0a87 100755 --- a/android/tools/do-compile-ffmpeg.sh +++ b/android/tools/do-compile-ffmpeg.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script is based on projects below # https://github.com/yixia/FFmpeg-Android diff --git a/init-android-libyuv.sh b/init-android-libyuv.sh index 2287096e..41bc80cf 100755 --- a/init-android-libyuv.sh +++ b/init-android-libyuv.sh @@ -1,4 +1,20 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + IJK_LIBYUV_UPSTREAM=https://github.com/bbcallen/libyuv.git IJK_LIBYUV_FORK=https://github.com/bbcallen/libyuv.git diff --git a/init-android-openssl.sh b/init-android-openssl.sh index 25e16f6e..956d4b4d 100644 --- a/init-android-openssl.sh +++ b/init-android-openssl.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# IJK_OPENSSL_UPSTREAM=https://github.com/openssl/openssl IJK_OPENSSL_FORK=https://github.com/bbcallen/openssl.git diff --git a/init-android.sh b/init-android.sh index e582d7cd..cb6d526d 100755 --- a/init-android.sh +++ b/init-android.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# IJK_FFMPEG_UPSTREAM=git://git.videolan.org/ffmpeg.git IJK_FFMPEG_FORK=https://github.com/bbcallen/FFmpeg.git diff --git a/init-config.sh b/init-config.sh index e1e93a52..fec365b6 100755 --- a/init-config.sh +++ b/init-config.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# if [ ! -f 'config/module.sh' ]; then cp config/module-lite.sh config/module.sh diff --git a/init-ios-openssl.sh b/init-ios-openssl.sh index 937402ae..1e72c7e3 100644 --- a/init-ios-openssl.sh +++ b/init-ios-openssl.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# IJK_OPENSSL_UPSTREAM=https://github.com/openssl/openssl IJK_OPENSSL_FORK=https://github.com/bbcallen/openssl.git diff --git a/init-ios.sh b/init-ios.sh index ae3e57d2..21227c24 100755 --- a/init-ios.sh +++ b/init-ios.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# IJK_FFMPEG_UPSTREAM=git://git.videolan.org/ffmpeg.git IJK_FFMPEG_FORK=https://github.com/bbcallen/FFmpeg.git diff --git a/ios/compile-ffmpeg.sh b/ios/compile-ffmpeg.sh index 10330b19..18939d19 100755 --- a/ios/compile-ffmpeg.sh +++ b/ios/compile-ffmpeg.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #---------- # modify for your build tool diff --git a/ios/compile-openssl.sh b/ios/compile-openssl.sh index 9f38ae3e..4b89458d 100755 --- a/ios/compile-openssl.sh +++ b/ios/compile-openssl.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# #---------- # modify for your build tool diff --git a/ios/tools/do-compile-ffmpeg.sh b/ios/tools/do-compile-ffmpeg.sh index 3a1208c4..ee4b6fb9 100755 --- a/ios/tools/do-compile-ffmpeg.sh +++ b/ios/tools/do-compile-ffmpeg.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script is based on projects below # https://github.com/kolyvan/kxmovie diff --git a/ios/tools/do-compile-openssl.sh b/ios/tools/do-compile-openssl.sh index 0aa6c44a..39f9ac83 100755 --- a/ios/tools/do-compile-openssl.sh +++ b/ios/tools/do-compile-openssl.sh @@ -1,4 +1,19 @@ #! /usr/bin/env bash +# +# Copyright (C) 2013-2014 Zhang Rui +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # This script is based on projects below # https://github.com/x2on/OpenSSL-for-iPhone -- GitLab