File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2525
2626sudo apt-get install -y \
2727 debhelper \
28- aptitude \
2928 sbuild \
3029 schroot \
3130 " $DEVTOOLS_PACKAGE " \
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ $build_dir = $ENV{'BUILD_DIR'};
44$run_lintian = 0;
55$apt_update = 1;
66$apt_distupgrade = 1;
7- $build_dep_resolver = 'aptitude ';
7+ $build_dep_resolver = 'apt ';
88$mailto = '';
99$mailprog = '';
1010
Original file line number Diff line number Diff line change @@ -2,10 +2,15 @@ project(jnscreencapture C)
22
33set (OS_SOURCES "" )
44set (OS_LIBS "" )
5+ set (MACOS_COMPILE_FLAGS "" )
56if (WIN32 )
67 set (OS_SOURCES screencapture.rc)
78elseif (APPLE )
89 set (OS_LIBS "-framework ApplicationServices" )
10+ # CGWindowListCreateImage is deprecated/unavailable in macOS 15.0+
11+ # Allow using deprecated APIs until migration to ScreenCaptureKit
12+ # TODO: Migrate to ScreenCaptureKit for macOS 15+ support
13+ set (MACOS_COMPILE_FLAGS "-Wno-deprecated-declarations" )
914elseif (UNIX AND NOT APPLE )
1015 find_package (X11 REQUIRED)
1116 if (NOT X11_FOUND)
@@ -35,6 +40,10 @@ target_include_directories(${PROJECT_NAME} PUBLIC
3540 ${CMAKE_BINARY_DIR} /include /
3641 )
3742
43+ if (APPLE )
44+ target_compile_options (${PROJECT_NAME} PRIVATE ${MACOS_COMPILE_FLAGS} )
45+ endif ()
46+
3847if (JITSI_BUILD_DEBIAN)
3948 install (TARGETS ${PROJECT_NAME}
4049 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
You can’t perform that action at this time.
0 commit comments