Skip to content

Commit c3b7ad7

Browse files
Merge branch 'main' into AppleProRes_SDK_Support
2 parents cd57a8a + 2d24281 commit c3b7ad7

3 files changed

Lines changed: 16 additions & 31 deletions

File tree

cmake/defaults/CYCOMMON.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Common build dependencies for all CY20XX platforms aja https://github.com/aja-video/libajantv2
22
SET(RV_DEPS_AJA_VERSION
3-
"17.1.0"
3+
"17.6.0.hotfix1"
44
)
55
SET(RV_DEPS_AJA_DOWNLOAD_HASH
6-
"b9d189f77e18dbdff7c39a339b1a5dd4"
6+
"dba447ddd1b0ee84cee8441c0adba06a"
77
)
88

99
# atomic_ops https://github.com/ivmai/libatomic_ops

cmake/dependencies/aja.cmake

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ SET(_download_hash
1717
"${RV_DEPS_AJA_DOWNLOAD_HASH}"
1818
)
1919

20-
IF(RV_TARGET_WINDOWS)
20+
IF(RV_TARGET_WINDOWS
21+
AND CMAKE_BUILD_TYPE MATCHES "^Debug$"
22+
)
2123
RV_MAKE_STANDARD_LIB_NAME(ajantv2_vs143_MT "" "SHARED" "d")
2224
ELSE()
2325
RV_MAKE_STANDARD_LIB_NAME(ajantv2 "" "SHARED" "d")
@@ -30,28 +32,6 @@ SET(_aja_include_dir
3032
${_include_dir}/libajantv2
3133
)
3234

33-
IF(RHEL_VERBOSE)
34-
SET(_mbedtls_lib_dir
35-
${_build_dir}/ajantv2/mbedtls-install/lib64
36-
)
37-
ELSE()
38-
SET(_mbedtls_lib_dir
39-
${_build_dir}/ajantv2/mbedtls-install/lib
40-
)
41-
ENDIF()
42-
43-
SET(_mbedtls_lib
44-
${_mbedtls_lib_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}mbedtls${CMAKE_STATIC_LIBRARY_SUFFIX}
45-
)
46-
SET(_mbedx509_lib
47-
${_mbedtls_lib_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}mbedx509${CMAKE_STATIC_LIBRARY_SUFFIX}
48-
)
49-
SET(_mbedcrypto_lib
50-
${_mbedtls_lib_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}mbedcrypto${CMAKE_STATIC_LIBRARY_SUFFIX}
51-
)
52-
53-
LIST(APPEND _byproducts ${_mbedtls_lib} ${_mbedx509_lib} ${_mbedcrypto_lib})
54-
5535
# There is an issue with the recent AJA SDK : the OS specific header files are no longer copied to _aja_ntv2_include_dir Adding custom paths here to work around
5636
# this issue
5737
IF(RV_TARGET_LINUX)
@@ -75,6 +55,8 @@ LIST(
7555
"-DAJANTV2_DISABLE_TOOLS=ON"
7656
"-DAJANTV2_DISABLE_TESTS=ON"
7757
"-DAJANTV2_BUILD_SHARED=ON"
58+
"-DAJANTV2_DISABLE_PLUGIN_LOAD=ON"
59+
"-DAJANTV2_DISABLE_DRIVER=ON"
7860
"-DNTV2_VERSION_BUILD=0"
7961
)
8062

@@ -97,7 +79,7 @@ EXTERNALPROJECT_ADD(
9779
INSTALL_DIR ${_install_dir}
9880
CONFIGURE_COMMAND ${CMAKE_COMMAND} ${_configure_options}
9981
BUILD_COMMAND ${_cmake_build_command}
100-
INSTALL_COMMAND ${_cmake_install_command} && ${CMAKE_COMMAND} -E copy_directory ${_mbedtls_lib_dir} ${_lib_dir}
82+
INSTALL_COMMAND ${_cmake_install_command}
10183
BUILD_IN_SOURCE FALSE
10284
BUILD_ALWAYS FALSE
10385
BUILD_BYPRODUCTS ${_byproducts}
@@ -126,11 +108,6 @@ RV_ADD_IMPORTED_LIBRARY(
126108
ADD_TO_DEPS_LIST
127109
)
128110

129-
TARGET_LINK_LIBRARIES(
130-
aja::ntv2
131-
INTERFACE ${_mbedtls_lib} ${_mbedx509_lib} ${_mbedcrypto_lib}
132-
)
133-
134111
IF(RV_TARGET_DARWIN)
135112
LIST(APPEND _aja_compile_options "-DAJAMac=1")
136113
LIST(APPEND _aja_compile_options "-DAJA_MAC=1")

cmake/dependencies/python3.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,14 @@ SET(RV_PYTHON_WHEEL_SAFE
298298
"six" # Python 2/3 compatibility (pure Python)
299299
"packaging" # Version parsing (pure Python)
300300
"requests" # HTTP library (pure Python)
301+
"setuptools-rust" # Build tool for cryptography (pure Python, calls cargo)
302+
"setuptools-scm" # Version detection tool (pure Python, calls git)
303+
"hatchling" # Build backend (pure Python, like setuptools)
304+
"hatch-vcs" # Hatchling VCS version plugin (pure Python)
305+
"pluggy" # Plugin framework (pure Python)
306+
"pathspec" # Gitignore pattern matching (pure Python)
307+
"trove-classifiers" # PyPI classifiers data (pure Python)
308+
"vcs-versioning" # VCS version detection for setuptools-scm 10.x (pure Python)
301309
CACHE STRING "Packages safe to install from wheels (pure Python or build tools)"
302310
)
303311

0 commit comments

Comments
 (0)