[vlc-commits] contrib: print overall contrib license
Rémi Denis-Courmont
git at videolan.org
Tue Sep 26 20:12:29 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep 26 21:12:01 2017 +0300| [c705f614371dd7914b3e3d186033fb721379859d] | committer: Rémi Denis-Courmont
contrib: print overall contrib license
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c705f614371dd7914b3e3d186033fb721379859d
---
contrib/bootstrap | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index 5e3760c5af..dbb0e27545 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -135,6 +135,26 @@ then
echo "$HOST"
fi
+echo -n "Packages licensing... "
+if test -n "$GPL"
+then
+ if test -n "$GNUV3"
+ then
+ LICENSE="GPL version 3"
+ else
+ LICENSE="GPL version 2"
+ fi
+else
+ if test -n "$GNUV3"
+ then
+ LICENSE="Lesser GPL version 3"
+ else
+ LICENSE="Lesser GPL version 2.1"
+ fi
+fi
+test -z "$AD_CLAUSES" || LICENSE="$LICENSE, with advertisement clauses"
+echo "$LICENSE"
+
if test "$PREFIX"
then
# strip trailing slash
More information about the vlc-commits
mailing list