Hi Timo,
On Wed Sep 10, 2025 at 10:04 PM CEST, Timo Röhling wrote:
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..e8d5871
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,44 @@
+Description: re-add pkg-config file
+ This re-adds the pkg-config file which was left out during upstream
+ refactoring but is still relied upon by library users.
+Forwarded: no
+Author: Andrea Pappacoda <[email protected]>
Did I write this?
+
+Forwarded: no
+Last-Update: 2025-09-10
+
+---
+ CMakeLists.txt | 6 ++++++
+ cmake/glm.pc.in | 8 ++++++++
+ 2 files changed, 14 insertions(+)
+ create mode 100644 cmake/glm.pc.in
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0341772..9b54d28 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -287,4 +287,10 @@ if (GLM_BUILD_INSTALL)
+ "${CMAKE_COMMAND}" -P
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ )
++ cmake_path(APPEND PKGCONFIG_INCLUDEDIR "\${prefix}"
"${CMAKE_INSTALL_INCLUDEDIR}")
++ configure_file("cmake/glm.pc.in" "glm.pc" @ONLY)
++ install(
++ FILES "${CMAKE_CURRENT_BINARY_DIR}/glm.pc"
++ DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig"
++ )
+ endif()
+diff --git a/cmake/glm.pc.in b/cmake/glm.pc.in
+new file mode 100644
+index 0000000..9b28614
+--- /dev/null
++++ b/cmake/glm.pc.in
+@@ -0,0 +1,8 @@
++prefix=@CMAKE_INSTALL_PREFIX@
++includedir=@PKGCONFIG_INCLUDEDIR@
++
++Name: GLM
++Description: OpenGL Mathematics
++URL: https://glm.g-truc.net
++Version: @GLM_VERSION@
++Cflags: -I${includedir}