Age | Commit message (Collapse) | Author |
|
|
|
If a toolchain file is provided, pass it along to any internal dep cmake based
build systems.
|
|
|
|
|
|
|
|
deps
refactor out usage of externalproject_add to a macro for internal dep building
|
|
Macro will factor out repetitive code for internal dependency builds
|
|
|
|
|
|
|
|
[cmake] improve cppcheck behaviour for CI
|
|
|
|
|
|
compile_commands.json)
|
|
|
|
|
|
|
|
Provides a SHA512 hash to our possible "Internal" depends to verify download of tarballs.
Implementation currently supports SHA256, SHA512 and any additional cmake supported algo's
can be implemented easily. This supports differing supported hash types per dependency if
desired, so if a new algo is introduced for a particular dependency, we dont have to mass
change all other existing hash types.
|
|
Findlibdvd does 3 dependencies in the single find module. Facilitate this by
setting ARCHIVE to be LIBNAME_ARCHIVE instead to allow differentiation for multiple
calls in the single Find module.
|
|
TARBALL_DIR is set in common Archsetup after the load of platform archsetup.
This allows platforms to potentially set a default if not provided, otherwise fallback
to a default
|
|
|
|
Cmake helper function to parse a VERSION file from a dependency
Helper sets ARCHIVE, XXX_BASE_URL, XXX_VER to parent scope as parsed from
VERSION file of module requested. module_name must match tools/depends/target folder name
|
|
[cmake] add Wextra minus a few warnings
|
|
|
|
|
|
|
|
|
|
This reverts commit bd6818f1975ef4665d2319b482460f64aa4ae277.
This also includes a fix for the following:
CLog: fix SPDLOG_LEVEL_NAMES to allow compiling
Otherwise the following error occurs:
xbmc/utils/log.h:12:89: error: ‘constexpr fmt::v8::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]’ called in a constant expression
12 | #define SPDLOG_LEVEL_NAMES {"TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "OFF"};
| ^
In file included from /usr/include/fmt/format.h:44,
from xbmc/utils/StringUtils.h:37,
from xbmc/utils/log.h:19,
/usr/include/fmt/core.h:460:3: note: ‘constexpr fmt::v8::basic_string_view<Char>::basic_string_view(const Char*) [with Char = char]’ is not usable as a ‘constexpr’ function because:
460 | basic_string_view(const Char* s) : data_(s) {
| ^~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:460:3: error: member ‘fmt::v8::basic_string_view<char>::size_’ must be initialized by mem-initializer in ‘constexpr’ constructor
/usr/include/fmt/core.h:439:10: note: declared here
439 | size_t size_;
| ^~~~~
|
|
[cmake] use -Werror for double-promotion, missing-field-initializers, and sign-compare
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Found via `codespell -q 3 -S *.po,./lib/libUPnP/Neptune -L bloaded,busses,inout,lod,medias,parm`
|
|
Fix issue 20421 - UWP Xbox Python add-ons permission error
|
|
Hugh Cole-Baker reported the issue with incorrect placement of
KodiConfig.cmake (that contains architecture-dependent paths)
into arch-independent /usr/share/kodi/cmake as Debian Bug #999482:
https://bugs.debian.org/999482
The fix also needs changing the PPA packaging filed in a separate
PR.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
|
|
|
|
Before this commit, shippable TexturePacker is not built at all if:
* the pre-built TexturePacker is supplied by -DWITH_TEXTUREPACKER
* build is KODI_DEPENDSBUILD
* building for Windows
This breaks generation of kodi-tools-texturepacker package on Linux
and FreeBSD if cross-compiling.
The new commit separates installable and executable TexturePackers.
Executable TexturePacker is executed on all platforms, but it can
be overriden by a binary specified by KODI_DEPENDSBUILD or
WITH_TEXTUREPACKER options on non-depends build.
Installable TexturePacker is shipped only on Linux and FreeBSD
platforms, and is executed only if the build is not a cross-compilation
and the executable TexturePacker not overridden by one of the options
above.
If external TexturePacker is specified WITH_TEXTUREPACKER but its
executable file can not be found, a warning is raised and the module
falls back to build internal TexturePacker if it can be executed
during the build.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
... to kodi-TexturePacker and kodi-JsonSchemaBuilder.
These names are less generic and will less likely cause conflicts
in /usr/bin.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
[addons][binary] First automation support part
|
|
[cmake] split glu dependency into it's own module
|
|
Previously, "core_add_library" was used which, once referring to library by name, and on the other hand always had the path as "addons_kodi-dev-kit_include_ *" in it.
This adds a new CMake function with which it is done via "core_add_devkit_header". The difference is that this checks on "ENABLE_STATIC_LIBS" and always adds "addons_kodi-dev-kit_include_" as begin.
The following background is behind it:
- So that the kodi-dev-kit path is not set in its parts (here CMakeLists.txt) and the folder can simply be moved to another location.
- The "core_add_devkit_header" could possibly be replaced with another function if kodi-dev-kit were used independently of Kodi.
- Better to use with auto scripts
The other `if (HEADERS)` has the background if inline cmake calls were integrated into it and HEADERS would be given as empty.
|
|
[cmake] add support for riscv64 in ArchSetup.cmake
|
|
Upstreamed Debian patches
|
|
Fixes Flatpak manifest issue.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
|