Skip to content

Commit

Permalink
cmake: Remove outdated osxbundle files
Browse files Browse the repository at this point in the history
These files have been superseded by files in CI/scripts/macos. They are
no longer used, and keeping them around creates confusion and makes
people think they are still used. Let's remove them to prevent further
confusion.

This commit also removes the CMake function `obs_finish_bundle` that was
only used with the osxbundle resources and removes calls to that
function.
  • Loading branch information
RytoEX authored and jp9000 committed May 9, 2021
1 parent 2b1eda6 commit a7b20fc
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 103 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ if(NOT INSTALLER_RUN)
if (BUILD_TESTS OR ENABLE_UNIT_TESTS)
add_subdirectory(test)
endif()

add_subdirectory(cmake/helper_subdir)
else()
obs_generate_multiarch_installer()
endif()
Expand Down
11 changes: 0 additions & 11 deletions cmake/Modules/ObsHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,6 @@ else()
set(OBS_SCRIPT_PLUGIN_PATH "${OBS_INSTALL_PREFIX}${OBS_SCRIPT_PLUGIN_DESTINATION}")
endif()

function(obs_finish_bundle)
if(NOT APPLE OR UNIX_STRUCTURE)
return()
endif()

install(CODE
"if(DEFINED ENV{FIXUP_BUNDLE})
execute_process(COMMAND \"${CMAKE_SOURCE_DIR}/cmake/osxbundle/fixup_bundle.sh\" . bin WORKING_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}\")
endif()")
endfunction()

function(obs_generate_multiarch_installer)
install(DIRECTORY "$ENV{obsInstallerTempDir}/"
DESTINATION "."
Expand Down
3 changes: 0 additions & 3 deletions cmake/helper_subdir/CMakeLists.txt

This file was deleted.

28 changes: 0 additions & 28 deletions cmake/osxbundle/Info.plist

This file was deleted.

54 changes: 0 additions & 54 deletions cmake/osxbundle/fixup_bundle.sh

This file was deleted.

Binary file removed cmake/osxbundle/obs.icns
Binary file not shown.
5 changes: 0 additions & 5 deletions cmake/osxbundle/obslaunch.sh

This file was deleted.

0 comments on commit a7b20fc

Please sign in to comment.