gentoo-ebuilds/media-gfx/openmesh/files/openmesh-11.0.0-pkgconfig_instdir.patch
Nicolas PARLANT ae72a44e4e
media-gfx/openmesh: add 11.0.0, qt6
update HOMEPAGE / SRC_URI (redirect)

iuse :
  qt6 -> gui
  add doc

deps :
  * media-libs/freeglut -> media-libs/libglvnd
  * test : add dev-cpp/eigen
  * doc, add :
      app-text/doxygen[dot]
      dev-texlive/texlive-latex
      dev-texlive/texlive-latexextra (for xcolor.sty)
      dev-texlive/texlive-latexrecommended (for newunicodechar.sty)

static-libs : set shared-libs only with a patch because previous sed-op
  is no longer sufficient.

Closes: https://bugs.gentoo.org/836649
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41285
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-02 17:48:59 +02:00

14 lines
521 B
Diff

use commondir (share) for pkgconfig installation
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3aa8122..6d1bf51 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,7 +196,7 @@ set(PRIVATE_LIBS "-lOpenMeshCore -lOpenMeshTools")
configure_file("openmesh.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/openmesh.pc" @ONLY)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openmesh.pc DESTINATION libdata/pkgconfig)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openmesh.pc DESTINATION share/pkgconfig)
# generate target file