plugin: add Apache 2 license to known licenses

the licence in gstreamer/subprojects/gstreamer/gst/gstplugin.c
currently is defined to be one of:
LGPL GPL QPL GPL/QPL MPL BSD MIT/X11 0BSD Proprietary
The open source project for the kinesis plugin is using an
Apache 2.0 license. Because "Apache 2.0" is not one of the
supported licenses it automatically falls back to Proprietary.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2524>
This commit is contained in:
tom schuring 2022-05-29 20:38:38 +10:00 committed by Tim-Philipp Müller
parent 42bb70a2df
commit 4357c72451

View file

@ -95,6 +95,8 @@ static char *_gst_plugin_fault_handler_filename = NULL;
* MIT/X11: https://opensource.org/licenses/MIT
* 3-clause BSD: https://opensource.org/licenses/BSD-3-Clause
* Zero-Clause BSD: https://opensource.org/licenses/0BSD
* Apache License 2.0: http://www.apache.org/licenses/LICENSE-2.0 (Since: 1.22)
* FIXME: update to use SPDX identifiers, or just remove entirely
*/
static const gchar known_licenses[] = "LGPL\000" /* GNU Lesser General Public License */
@ -106,6 +108,7 @@ static const gchar known_licenses[] = "LGPL\000" /* GNU Lesser General Pu
"BSD\000" /* 3-clause BSD license */
"MIT/X11\000" /* MIT/X11 license */
"0BSD\000" /* Zero-Clause BSD */
"Apache 2.0\000" /* Apache License 2.0 */
"Proprietary\000" /* Proprietary license */
GST_LICENSE_UNKNOWN; /* some other license */