summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt12
-rw-r--r--externals/cmake-modules/GetGitRevisionDescription.cmake4
-rw-r--r--externals/cmake-modules/GetGitRevisionDescription.cmake.in5
-rw-r--r--externals/cmake-modules/WindowsCopyFiles.cmake5
m---------externals/cpp-jwt0
m---------externals/discord-rpc0
m---------externals/enet0
-rw-r--r--externals/ffmpeg/CMakeLists.txt3
m---------externals/ffmpeg/ffmpeg0
-rw-r--r--externals/find-modules/FindCatch2.cmake2
-rw-r--r--externals/find-modules/FindFFmpeg.cmake6
-rw-r--r--externals/find-modules/FindLibUSB.cmake5
-rw-r--r--externals/find-modules/Findfmt.cmake2
-rw-r--r--externals/find-modules/Findlz4.cmake2
-rw-r--r--externals/find-modules/Findnlohmann_json.cmake2
-rw-r--r--externals/find-modules/Findopus.cmake2
-rw-r--r--externals/find-modules/Findzstd.cmake2
-rw-r--r--externals/getopt/CMakeLists.txt3
-rw-r--r--externals/glad/CMakeLists.txt3
-rw-r--r--externals/glad/Readme.md5
-rw-r--r--externals/inih/CMakeLists.txt3
-rw-r--r--externals/libusb/CMakeLists.txt3
-rw-r--r--externals/libusb/config.h.in5
-rw-r--r--externals/opus/CMakeLists.txt3
24 files changed, 67 insertions, 10 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index bd01f4c4d..6d04ace1d 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Definitions for all external bundled libraries
+# SPDX-FileCopyrightText: 2016 Citra Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules")
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/externals/find-modules")
@@ -73,6 +74,10 @@ if (YUZU_USE_EXTERNAL_SDL2)
add_library(SDL2 ALIAS SDL2-static)
endif()
+# ENet
+add_subdirectory(enet)
+target_include_directories(enet INTERFACE ./enet/include)
+
# Cubeb
if(ENABLE_CUBEB)
set(BUILD_TESTS OFF CACHE BOOL "")
@@ -112,6 +117,11 @@ if (ENABLE_WEB_SERVICE)
if (WIN32)
target_link_libraries(httplib INTERFACE crypt32 cryptui ws2_32)
endif()
+
+ # cpp-jwt
+ add_library(cpp-jwt INTERFACE)
+ target_include_directories(cpp-jwt INTERFACE ./cpp-jwt/include)
+ target_compile_definitions(cpp-jwt INTERFACE CPP_JWT_USE_VENDORED_NLOHMANN_JSON)
endif()
# Opus
diff --git a/externals/cmake-modules/GetGitRevisionDescription.cmake b/externals/cmake-modules/GetGitRevisionDescription.cmake
index 087f5deea..dab134775 100644
--- a/externals/cmake-modules/GetGitRevisionDescription.cmake
+++ b/externals/cmake-modules/GetGitRevisionDescription.cmake
@@ -1,3 +1,7 @@
+# SPDX-FileCopyrightText: 2009 Iowa State University
+# SPDX-FileContributor: Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# SPDX-License-Identifier: BSL-1.0
+
# - Returns a version string from Git
#
# These functions force a re-configure on each git commit so that you can
diff --git a/externals/cmake-modules/GetGitRevisionDescription.cmake.in b/externals/cmake-modules/GetGitRevisionDescription.cmake.in
index 0d7eb3c26..868e032ef 100644
--- a/externals/cmake-modules/GetGitRevisionDescription.cmake.in
+++ b/externals/cmake-modules/GetGitRevisionDescription.cmake.in
@@ -1,4 +1,7 @@
-#
+# SPDX-FileCopyrightText: 2009 Iowa State University
+# SPDX-FileContributor: Ryan Pavlik <rpavlik@iastate.edu> <abiryan@ryand.net>
+# SPDX-License-Identifier: BSL-1.0
+
# Internal file for GetGitRevisionDescription.cmake
#
# Requires CMake 2.6 or newer (uses the 'function' command)
diff --git a/externals/cmake-modules/WindowsCopyFiles.cmake b/externals/cmake-modules/WindowsCopyFiles.cmake
index 72cec5354..08b598365 100644
--- a/externals/cmake-modules/WindowsCopyFiles.cmake
+++ b/externals/cmake-modules/WindowsCopyFiles.cmake
@@ -1,6 +1,5 @@
-# Copyright 2018 Yuzu Emulator Project
-# Licensed under GPLv2 or any later version
-# Refer to the license.txt file included.
+# SPDX-FileCopyrightText: 2018 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
# This file provides the function windows_copy_files.
# This is only valid on Windows.
diff --git a/externals/cpp-jwt b/externals/cpp-jwt
new file mode 160000
+Subproject e12ef06218596b52d9b5d6e1639484866a8e706
diff --git a/externals/discord-rpc b/externals/discord-rpc
-Subproject 963aa9f3e5ce81a4682c6ca3d136cddda614db3
+Subproject 20cc99aeffa08a4834f156b6ab49ed68618cf94
diff --git a/externals/enet b/externals/enet
new file mode 160000
+Subproject 39a72ab1990014eb399cee9d538fd529df99c6a
diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt
index dcc978827..20ad716ea 100644
--- a/externals/ffmpeg/CMakeLists.txt
+++ b/externals/ffmpeg/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
if (NOT WIN32)
# Build FFmpeg from externals
message(STATUS "Using FFmpeg from externals")
diff --git a/externals/ffmpeg/ffmpeg b/externals/ffmpeg/ffmpeg
-Subproject dc91b913b6260e85e1304c74ff7bb3c22a8c9fb
+Subproject 6b6b9e593dd4d3aaf75f48d40a13ef03bdef9fd
diff --git a/externals/find-modules/FindCatch2.cmake b/externals/find-modules/FindCatch2.cmake
index ce1d40bae..bded15951 100644
--- a/externals/find-modules/FindCatch2.cmake
+++ b/externals/find-modules/FindCatch2.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_Catch2 QUIET Catch2)
diff --git a/externals/find-modules/FindFFmpeg.cmake b/externals/find-modules/FindFFmpeg.cmake
index 61b6dc8d2..add5b2c01 100644
--- a/externals/find-modules/FindFFmpeg.cmake
+++ b/externals/find-modules/FindFFmpeg.cmake
@@ -1,9 +1,9 @@
+# SPDX-FileCopyrightText: 2019 Citra Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
# FindFFmpeg
# ----------
#
-# Copyright 2019 Citra Emulator Project
-# Licensed under GPLv2 or any later version
-#
# Find the native FFmpeg includes and libraries
#
# This module defines the following variables:
diff --git a/externals/find-modules/FindLibUSB.cmake b/externals/find-modules/FindLibUSB.cmake
index dec0b98b0..617daf9a5 100644
--- a/externals/find-modules/FindLibUSB.cmake
+++ b/externals/find-modules/FindLibUSB.cmake
@@ -1,11 +1,12 @@
+# SPDX-FileCopyrightText: 2009 Michal Cihar <michal@cihar.com>
+# SPDX-License-Identifier: GPL-2.0-or-later
+
# - Find libusb-1.0 library
# This module defines
# LIBUSB_INCLUDE_DIR, where to find bluetooth.h
# LIBUSB_LIBRARIES, the libraries needed to use libusb-1.0.
# LIBUSB_FOUND, If false, do not try to use libusb-1.0.
#
-# Copyright (c) 2009, Michal Cihar, <michal@cihar.com>
-#
# vim: expandtab sw=4 ts=4 sts=4:
if(ANDROID)
diff --git a/externals/find-modules/Findfmt.cmake b/externals/find-modules/Findfmt.cmake
index 8ba51cbea..d11e98a69 100644
--- a/externals/find-modules/Findfmt.cmake
+++ b/externals/find-modules/Findfmt.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_fmt QUIET fmt)
diff --git a/externals/find-modules/Findlz4.cmake b/externals/find-modules/Findlz4.cmake
index 6279854c0..56dcca8f6 100644
--- a/externals/find-modules/Findlz4.cmake
+++ b/externals/find-modules/Findlz4.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_lz4 QUIET lz4)
diff --git a/externals/find-modules/Findnlohmann_json.cmake b/externals/find-modules/Findnlohmann_json.cmake
index b0c5b3e4e..8a3958cf1 100644
--- a/externals/find-modules/Findnlohmann_json.cmake
+++ b/externals/find-modules/Findnlohmann_json.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_nlohmann_json QUIET nlohmann_json)
diff --git a/externals/find-modules/Findopus.cmake b/externals/find-modules/Findopus.cmake
index 2bce56122..ec7b4f61f 100644
--- a/externals/find-modules/Findopus.cmake
+++ b/externals/find-modules/Findopus.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_opus QUIET opus)
diff --git a/externals/find-modules/Findzstd.cmake b/externals/find-modules/Findzstd.cmake
index 539abbafc..f0c56f499 100644
--- a/externals/find-modules/Findzstd.cmake
+++ b/externals/find-modules/Findzstd.cmake
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
find_package(PkgConfig QUIET)
pkg_check_modules(PC_zstd QUIET libzstd)
diff --git a/externals/getopt/CMakeLists.txt b/externals/getopt/CMakeLists.txt
index ad7a2b363..4797fe01c 100644
--- a/externals/getopt/CMakeLists.txt
+++ b/externals/getopt/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2015 Greg Wicks <gpwicks@email.wm.edu>
+# SPDX-License-Identifier: GPL-2.0-or-later
+
add_library(getopt
getopt.c
getopt.h
diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txt
index c43ae475a..3dfcac2fd 100644
--- a/externals/glad/CMakeLists.txt
+++ b/externals/glad/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2015 Yuri Kunde Schlesner <yuriks@yuriks.net>
+# SPDX-License-Identifier: GPL-2.0-or-later
+
add_library(glad STATIC
src/glad.c
include/KHR/khrplatform.h
diff --git a/externals/glad/Readme.md b/externals/glad/Readme.md
index 7aad7fff2..998eec4a7 100644
--- a/externals/glad/Readme.md
+++ b/externals/glad/Readme.md
@@ -1,3 +1,8 @@
+<!--
+SPDX-FileCopyrightText: 2015 Yuri Kunde Schlesner <yuriks@yuriks.net>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
+
These files were generated by the [glad](https://github.com/Dav1dde/glad) OpenGL loader generator and have been checked in as-is. You can re-generate them using glad with the following command:
```
diff --git a/externals/inih/CMakeLists.txt b/externals/inih/CMakeLists.txt
index 2a75852c2..b686e3cf5 100644
--- a/externals/inih/CMakeLists.txt
+++ b/externals/inih/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2014 Gui Andrade <admin@archshift.com>
+# SPDX-License-Identifier: GPL-2.0-or-later
+
add_library(inih
inih/ini.c
inih/ini.h
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt
index 12bdc097a..055b89295 100644
--- a/externals/libusb/CMakeLists.txt
+++ b/externals/libusb/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
set(LIBUSB_FOUND ON CACHE BOOL "libusb is present" FORCE)
set(LIBUSB_VERSION "1.0.24" CACHE STRING "libusb version string" FORCE)
diff --git a/externals/libusb/config.h.in b/externals/libusb/config.h.in
index 915b7390f..42ae5a5e8 100644
--- a/externals/libusb/config.h.in
+++ b/externals/libusb/config.h.in
@@ -1,3 +1,8 @@
+/*
+ * SPDX-FileCopyrightText: 2020 yuzu Emulator Project
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
/* Default visibility */
#if defined(__GNUC__) || defined(__clang__)
#define DEFAULT_VISIBILITY __attribute__((visibility("default")))
diff --git a/externals/opus/CMakeLists.txt b/externals/opus/CMakeLists.txt
index 16f5af9f2..a92ffbd69 100644
--- a/externals/opus/CMakeLists.txt
+++ b/externals/opus/CMakeLists.txt
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
+# SPDX-License-Identifier: GPL-2.0-or-later
+
cmake_minimum_required(VERSION 3.8)
project(opus)