gentoo-ebuilds/dev-debug/apitrace/files/apitrace-12.0-unbundle.patch
Nicolas PARLANT abb6607f7f
dev-debug/apitrace: add 12.0, qt6
qt6 (network not required)

deps :
  rm media-libs/libglvnd as it uses bundled headers to preserve compatibility
  rm sys-process/procps as it requires a header provided only by procps-3
     and from upstream "I was planning to deprecate procps use in apitrace"
  add 3rd libbacktrace, not in tree
  virtual/pkgconfig

add dev-python/pillow and dev-python/numpy in optfeatures

IUSE :
  add test (dev-cpp/gtest)
  qt6 -> gui

multilib :
  add gltrim
  add symlinks for libEGL wrapper

Closes: https://bugs.gentoo.org/951573
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41210
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-24 05:23:25 +00:00

30 lines
955 B
Diff

diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index 34eb7f7..5fbd073 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -16,25 +16,6 @@ function (include_with_scope)
include (${ARGV})
endfunction ()
-set (SUBMODULES_MISSING FALSE)
-foreach (path IN ITEMS
- brotli/LICENSE
- gtest/LICENSE
- libbacktrace/LICENSE
- libpng/LICENSE
- snappy/COPYING
- zlib/README
- directxmath/LICENSE
-)
- if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${path}")
- message (SEND_ERROR "error: ${CMAKE_CURRENT_SOURCE_DIR}/${path} does not exist")
- set (SUBMODULES_MISSING TRUE)
- endif ()
-endforeach ()
-if (SUBMODULES_MISSING)
- message (FATAL_ERROR "Update Git submodules by running\ngit submodule update --init --depth 1 --recursive")
-endif ()
-
if (ENABLE_STATIC_SNAPPY OR NOT Snappy_FOUND)
message (STATUS "Using bundled Snappy")
include_with_scope (snappy.cmake)