aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
AgeCommit message (Collapse)Author
2020-08-04Merge pull request #18084 from the-black-eagle/add_statxyol
[filesystem] Getting file creation time on posix systems using statx
2020-08-03[filesystem] Use statx on posix systems if available to get file birth timethe-black-eagle
2020-08-03[cmake] fix build by remove quotation marks on ExternalProject valuesAlwin Esch
Before was about externalproject_add and related values quotation marks used. This breaks since cmake 3.18.0 his use (3.17.4 ok about). There it reports this by project related "PATCH_COMMAND ${PATCH_COMMAND}" as there a "" behind and seems to take this instead of patch path. Produced error message: ``` patching file '' Hunk #1 FAILED at 16. 1 out of 1 hunk FAILED -- saving rejects to file .rej /usr/bin/patch: **** Can't reopen file '' : No such file or directory ``` This 2 values has used the quotation marks: INSTALL_COMMAND EXTERNALPROJECT_SETUP This remove them to have working again and fix e.g. Azure build system where takes this new version.
2020-07-28Merge pull request #18181 from phunkyfish/binary-origin-addonsphunkyfish
[addons] Detect binary addons and Origin Type and set properties to be accessed in skins
2020-07-22Merge pull request #17178 from kambala-decapitator/macos-codesigningDave Blake
[macos] implement code signining
2020-07-19[addons] detect binary addons and set skin propertyphunkyfish
2020-07-17[addons] deny addon-updates from private repos if they exist in official reposhowie-f
2020-07-14[macos] add ability to notarize dmgAndrey Filipenkov
2020-07-14[macos] add ability to codesign app and dmgAndrey Filipenkov
2020-06-28[LINUX] Fix kodi-ps3remote exceptionsVasyl Gello
Reported in Debian: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962929 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962930 Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2020-06-22Merge pull request #18071 from lrusak/ffmpeg-updateLukas Rusak
FFmpeg: Bump to 4.3-Matrix-Alpha1
2020-06-21[tools/depends] bump pythonmodule-pil 7.1.2fuzzard
Fix ios/tvos usage rbpi requires to explicitly remove lcms, as it doesnt respect the --disable-lcms flag for some reason, and causes a build failure trying to build the _imagingcms extension when it shouldnt be building it at all. building 'PIL._imagingcms' extension /usr/bin/ccache /home/jenkins/rbpi-dev/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -fPIC -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -mvectorize-with-neon-quad -pipe -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -Wno-deprecated-declarations -isystem/home/jenkins/rbpi-dev/firmware/opt/vc/include -isystem/home/jenkins/rbpi-dev/firmware/opt/vc/include/interface/vcos/pthreads -isystem/home/jenkins/rbpi-dev/firmware/opt/vc/include/interface/vmcs_host/linux -Og -g -D_DEBUG -isystem /home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/raspberry-pi2-debug/include -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/raspberry-pi2-debug/include/freetype2 -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/target/pythonmodule-pil/raspberry-pi2-debug/src/libImaging -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/i686-linux-gnu-native/include -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/raspberry-pi2-debug/include -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/raspberry-pi2-debug/include/python3.7 -I/usr/local/include -I/usr/include -I/home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/i686-linux-gnu-native/include/python3.7 -c src/_imagingcms.c -o build/temp.linux-x86_64-3.7/src/_imagingcms.o In file included from /home/jenkins/workspace/LINUX-RBPI/tools/depends/xbmc-depends/raspberry-pi2-debug/include/python3.7/Python.h:11:0, from src/_imagingcms.c:29: /usr/include/limits.h:26:36: fatal error: bits/libc-header-start.h: No such file or directory #include <bits/libc-header-start.h> ^ compilation terminated. error: command '/usr/bin/ccache' failed with exit status 1 Makefile:71: recipe for target '.installed-raspberry-pi2-debug' failed
2020-06-19FFmpeg: Bump to 4.3-Matrix-Alpha1Lukas Rusak
2020-06-15[cmake] remove very old no more needed part of addonsAlwin Esch
There was still a part where was since years no more needed and from the time where the binary addons has a shared lib between. This was some years ago removed but his cmake build function still exists.
2020-06-10[peripheralbusdarwinembedded] Micro and Extended gamecontroller supportBrent Murphy
This supports both Micro and Extended gamecontroller support as per Apples API. Extended Gamecontroller supports 16 buttons, 4 axis - Dpad (4 buttons) - L/R Shoulder (2 buttons) - L/R Trigger (currently buttons but provides axis data) - A/B/X/Y - Menu (>= ios13 required) - Option (>= ios13 required) - L/R Thumbsticks (2 axis each stick) - L/R Thumbstick Buttons (>= ios 13 required) Micro Gamecontroller supports 6 buttons, 0 axis - Dpad (4 buttons) - A/X - Accelerometer/gyro data is possible, but not supported Note: Micro support is entirely untested. The only micro controller im aware of is the tvos Siri remote. TVOS input handling needs a complete overhaul for this to work on that platform currently. Todo: - Multicontroller handling - Convert Triggers to axis instead of buttons - Investigate crash with Steelseries Nimbus Pause button - Cleanup/refine Logging - Investigate Micro Gyro/Accelerometer input
2020-05-06cmake: fix check for memfd_createBernd Kuhls
memfd_create is disabled on uClibc: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=0bbc6a4bf54197ec5dab874750d125cbd5b9e877 Instead of checking for the header file we need to check for memfd_create(), fixes build error xbmc/utils/UDMABufferObject.cpp:94:13: error: ‘memfd_create’ was not declared in this scope for this kodi config: -DCORE_PLATFORM_NAME=wayland -DWAYLAND_RENDER_SYSTEM=gl -- Core system type: linux -- Platform: wayland
2020-04-20Merge pull request #17657 from lrusak/cmake-linux-messageLukas Rusak
[cmake] change warnings to status as it's only for indication
2020-04-12IBufferObject: add sync methodsLukas Rusak
2020-04-11[cmake] change warnings to status as it's only for indicationLukas Rusak
2020-03-27[darwin_embedded] enable xcode project binary addon build for iosBrent Murphy
Just enables xcode binary-addon creation as part of the xcode project.
2020-03-22CDMAHeapBufferObject: add new class to abstract new dma-heap buffersLukas Rusak
2020-03-21CUDMABufferObject: add new class to abstract memfd/udmabuf buffersLukas Rusak
2020-02-27[ios] set minimum ios version to 11.0 and cleanup dependenciesphunkyfish
2020-02-17[build][depends] add support for x86_64-linux-androidAlwin Esch
Previously, only an "i686-linux-android" was used which actually only corresponds to the 32bit CPU. In reference to this https://developer.android.com/ndk/guides/other_build_systems at 64bit "x86_64-linux-android" is used.
2020-02-05Merge pull request #17318 from Paxxi/fix_fmt_enumPär Björklund
Fix formatting of class enums
2020-02-05[macosx] set minimum osx version to 10.13 (High Sierra), fix deprecations ↵phunkyfish
and cleanup dependencies
2020-02-04Fix formatting of class enumsPär Björklund
Fixes the issue reported by Montellese and adds some tests for it. Also cleans up a define that was missed for UWP
2020-02-02Merge pull request #17259 from lrusak/depends-updatesLukas Rusak
Update depends to build on a recent host os
2020-02-02[depends] gnutls: update to 3.6.11.1Lukas Rusak
2020-01-30[cmake] show API version by addon dependency checkAlwin Esch
2020-01-30[cmake] add message to find easier the checks on logAlwin Esch
2020-01-30[cmake] fix check of " #include <...>" with spaces on beginAlwin Esch
There are addons where added the include by `#ifdef` and spaces before `#include`. e.g. screensaver.asteroids with: ```cpp \#ifndef WIN32 #include <kodi/gui/gl/GL.h> #include <kodi/gui/gl/Shader.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> \#else #include <d3d11.h> \#endif ```
2020-01-30[cmake] prevent "@ADDON_DEPENDS@" with same several timesAlwin Esch
Before comes e.g.: ``` -- Added usage definition: ADDON_GLOBAL_VERSION_MAIN_USED -- Added usage definition: ADDON_GLOBAL_VERSION_GUI_USED -- Added usage definition: ADDON_GLOBAL_VERSION_GUI_USED <<<<<<<<<<<<<<<<<<<<<<< THIS HERE -- Added usage definition: ADDON_INSTANCE_VERSION_SCREENSAVER_USED ``` or on addon.xml: ```xml <requires> <import addon="kodi.binary.global.main" version="1.0.15"/> <import addon="kodi.binary.global.gui" version="5.13.0"/> <import addon="kodi.binary.global.gui" version="5.13.0"/> <<<<<<<<<<<<<<<<<<<<<<< THIS HERE <import addon="kodi.binary.instance.screensaver" version="2.0.0"/></requires> ``` This adds a test to whether this definition has been previously set.
2020-01-29Merge pull request #17247 from lrusak/network-platformsLukas Rusak
[posix] network: split into platform specific files
2020-01-26Merge pull request #17266 from AlwinEsch/fix-addon-depends-ldflagsAlwin Esch
[cmake] fix ldflags transfer on addon depends build
2020-01-26[cmake] fix ldflags transfer on addon depends buildAlwin Esch
Before was only a "-DCMAKE_EXE_LINKER_FLAGS=-L${OUTPUT_DIR}/lib" given. But by cross compile on some depends are library linker flags needed who give infos about the OS (specially ffmpeg). This change add the give of them in same way as already CFLAGS and CPPFLAGS are given.
2020-01-24[posix] network: split into platform specific filesLukas Rusak
2020-01-23Merge pull request #17232 from AlwinEsch/depends-build-checkAlwin Esch
[cmake] fix not allowed depends check
2020-01-20[cmake] fix not allowed depends checkAlwin Esch
Before was in case with more as one value for not allowed OS e.g. "!windows !windowsstore" defined in platforms.txt, it used all the time. Is a cmake "for" loop where it compare the name with wanted target, before has it seen the name is, in one of the names not equal and set to allowed and continued loop, no matter if on next/before place defined as not. With this change it check the not allowed name is present, make `set(${build} FALSE)` and break the loop. Related to inputstream.ffmpegdirect, where on some depends, Windows and Windowsstore must be prevented.
2020-01-08[tvOS] add binary-addons to xcode projectfuzzard
binary-addon building added to xcode project for tvOS. The default behaviour is to add all addons to the project, but not add as a dependency. This means the addons will NOT be built be default. Documentation updated and shows how to selectively build addons if required and how to add the auto building dependecy to the Xcode project.
2020-01-08[tvOS] Initial Platform Commit for Apple TVOSSylvain CECCHETTO
Initial commit for TVOS platform.
2020-01-06Update dependenciesPär Björklund
Updates most dependencies to latest version Fixes the store build by fixing python Enables pillow and pycryptodome again on windows Replaces easyhook with detours
2020-01-03Fixed windows 7 environment compatibilityCastagnaIT
2019-11-13Fix OSS support for FreeBSDRozhuk Ivan
2019-10-13Fix build on various windows by including the correct openssl and Windows ↵Jim Carroll
UWP by adding -DMS_STORE
2019-10-11Added Python Version VaraiableArpit Nandwani
2019-10-11Added Android FixArpit Nandwani
2019-10-11Updated Windows DependenciesArpit Nandwani
2019-10-10[ios/networking] - Implemented Darwin_embedded specific network implemenationfuzzard
Removes darwin_embedded network implementation from standard posix network implementation Handles all CNetworkBase overloads specific to darwin_embedded platforms. As of ios11, it is not possible to retrieve interface MAC addresses, or to retrieve info from the devices ARP table. WOL/WakeOnAccess features are not possible without these. MAC address access was actually deprecated in ios7.
2019-10-07Merge pull request #16721 from kambala-decapitator/ios-infoplist-cleanupAndrey Filipenkov
[ios] Info.plist cleanup