Skip to content

Commit

Permalink
CMake: Improve GStreamer Inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Sep 15, 2024
1 parent 3139615 commit 5180f41
Show file tree
Hide file tree
Showing 29 changed files with 731 additions and 399 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ elseif(WIN32)
endif()
endif()

if(CMAKE_CROSSCOMPILING AND ANDROID)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
endif()

set(BUILD_SHARED_LIBS OFF)

# include(CMakePrintSystemInformation)
Expand Down
89 changes: 0 additions & 89 deletions cmake/BuildGstQtPlugin.cmake

This file was deleted.

15 changes: 14 additions & 1 deletion cmake/CreateAppImage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,17 @@ endif()
# execute_process(COMMAND chmod a+x "${LD_GSTPLUGIN_PATH}")
# endif()

execute_process(COMMAND ${LD_PATH} --appdir ${APPDIR_PATH} --output appimage) # --plugin qt --plugin gtk --plugin gstreamer
execute_process(COMMAND ${LD_PATH} --appdir ${APPDIR_PATH} --output appimage)
# --exclude-library "libX*"
# --exclude-library "libglib*"
# --exclude-library "libgobject*"
# --exclude-library "libgdk_pixbuf*"
# --exclude-library "libwayland*"
# --exclude-library "libgmodule*"
# --exclude-library "libgio*"
# --exclude-library "libxcb*"
# --exclude-library "libxkbcommon*"
# --exclude-library "libdb*"
# --exclude-library "libgst*"
# --exclude-library "libgthread*"
# --plugin qt --plugin gtk --plugin gstreamer
35 changes: 0 additions & 35 deletions cmake/DownloadGStreamer.cmake

This file was deleted.

Loading

0 comments on commit 5180f41

Please sign in to comment.