diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2022-05-10 12:01:24 +0200 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2022-05-12 18:40:57 +0200 |
commit | 5d4d46887e010a86f7c857c42d5a0b6495a1d6bc (patch) | |
tree | 3f154ea9e9ce754d2a3dd1e5c11ad9c11bc1f9ab /cmake | |
parent | 6f69d363d0dee6f608e0a650b9c821bfb286424b (diff) |
[macOS][iOS] Add speech recognition service implementation.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/scripts/darwin_embedded/ArchSetup.cmake | 5 | ||||
-rw-r--r-- | cmake/scripts/osx/ArchSetup.cmake | 3 | ||||
-rw-r--r-- | cmake/treedata/darwin_embedded/ios/ios.txt | 1 | ||||
-rw-r--r-- | cmake/treedata/darwin_embedded/subdirs.txt | 1 | ||||
-rw-r--r-- | cmake/treedata/darwin_embedded/tvos/tvos.txt | 1 | ||||
-rw-r--r-- | cmake/treedata/osx/subdirs.txt | 2 |
6 files changed, 10 insertions, 3 deletions
diff --git a/cmake/scripts/darwin_embedded/ArchSetup.cmake b/cmake/scripts/darwin_embedded/ArchSetup.cmake index 8368413b12..0730c4567a 100644 --- a/cmake/scripts/darwin_embedded/ArchSetup.cmake +++ b/cmake/scripts/darwin_embedded/ArchSetup.cmake @@ -44,6 +44,11 @@ list(APPEND DEPLIBS "-framework CoreFoundation" "-framework CoreVideo" "-framework VideoToolbox" "-lresolv" "-ObjC" "-framework AVKit" "-framework GameController") +# Speech not available on tvOS +if(NOT CORE_PLATFORM_NAME_LC STREQUAL tvos) + list(APPEND DEPLIBS "-framework Speech") +endif() + set(ENABLE_OPTICAL OFF CACHE BOOL "" FORCE) set(CMAKE_XCODE_ATTRIBUTE_INLINES_ARE_PRIVATE_EXTERN OFF) set(CMAKE_XCODE_ATTRIBUTE_GCC_SYMBOLS_PRIVATE_EXTERN OFF) diff --git a/cmake/scripts/osx/ArchSetup.cmake b/cmake/scripts/osx/ArchSetup.cmake index 4e89214f40..4f43c1e1aa 100644 --- a/cmake/scripts/osx/ArchSetup.cmake +++ b/cmake/scripts/osx/ArchSetup.cmake @@ -46,7 +46,8 @@ list(APPEND DEPLIBS "-framework DiskArbitration" "-framework IOKit" "-framework CoreAudio" "-framework AudioToolbox" "-framework CoreGraphics" "-framework CoreMedia" "-framework VideoToolbox" "-framework Security" - "-framework GameController") + "-framework GameController" "-framework Speech" + "-framework AVFoundation") if(ARCH STREQUAL aarch64) set(CMAKE_OSX_DEPLOYMENT_TARGET 11.0) diff --git a/cmake/treedata/darwin_embedded/ios/ios.txt b/cmake/treedata/darwin_embedded/ios/ios.txt index f5d13e3a4e..b5a5dcf1f9 100644 --- a/cmake/treedata/darwin_embedded/ios/ios.txt +++ b/cmake/treedata/darwin_embedded/ios/ios.txt @@ -1,2 +1,3 @@ xbmc/platform/darwin/ios platform/ios +xbmc/platform/darwin/speech platform/darwin/speech xbmc/windowing/ios windowing/ios diff --git a/cmake/treedata/darwin_embedded/subdirs.txt b/cmake/treedata/darwin_embedded/subdirs.txt index 31cd9b9c09..52892f47c2 100644 --- a/cmake/treedata/darwin_embedded/subdirs.txt +++ b/cmake/treedata/darwin_embedded/subdirs.txt @@ -2,7 +2,6 @@ xbmc/cores/RetroPlayer/process/ios cores/RetroPlayer/process/ios xbmc/cores/VideoPlayer/Process/ios cores/VideoPlayer/Process/ios xbmc/input/touch input/touch xbmc/input/touch/generic input/touch/generic -xbmc/platform/common/speech platform/common/speech xbmc/platform/darwin platform/darwin xbmc/platform/darwin/ios-common platform/ios-common xbmc/platform/darwin/ios-common/network platform/ios-common/network diff --git a/cmake/treedata/darwin_embedded/tvos/tvos.txt b/cmake/treedata/darwin_embedded/tvos/tvos.txt index 1335e6694f..da2e107e71 100644 --- a/cmake/treedata/darwin_embedded/tvos/tvos.txt +++ b/cmake/treedata/darwin_embedded/tvos/tvos.txt @@ -1,3 +1,4 @@ +xbmc/platform/common/speech platform/common/speech xbmc/platform/darwin/tvos platform/tvos xbmc/platform/darwin/tvos/filesystem platform/darwin/tvos/filesystem xbmc/platform/darwin/tvos/input platform/darwin/tvos/input diff --git a/cmake/treedata/osx/subdirs.txt b/cmake/treedata/osx/subdirs.txt index 0c1ba717eb..b56f268cae 100644 --- a/cmake/treedata/osx/subdirs.txt +++ b/cmake/treedata/osx/subdirs.txt @@ -1,8 +1,8 @@ xbmc/cores/RetroPlayer/process/osx cores/RetroPlayer/process/osx xbmc/cores/VideoPlayer/Process/osx cores/VideoPlayer/Process/osx -xbmc/platform/common/speech platform/common/speech xbmc/platform/darwin platform/darwin xbmc/platform/darwin/network platform/darwin/network +xbmc/platform/darwin/speech platform/darwin/speech xbmc/platform/darwin/osx platform/osx xbmc/platform/darwin/osx/network platform/darwin/osx/network xbmc/platform/darwin/osx/peripherals platform/osx/peripherals |