Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Conner Clere (86ecd84017a6d286fb6fb86500814ce870e3d3da)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Conner Clere <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (86ecd84017a6d286fb6fb86500814ce870e3d3da)
  • Date: Thu, 31 Aug 2023 08:17:55 +0000

GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:

libs/glm/HISTORY | 4 ++++
libs/glm/INSTALL | 12 +++++++++++-
libs/glm/glm.pc.in | 7 +++++++
3 files changed, 22 insertions(+), 1 deletion(-)

New commits:
commit 86ecd84017a6d286fb6fb86500814ce870e3d3da
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>

libs/glm: add pkgconfig file

Should help with other spells finding it now

diff --git a/libs/glm/HISTORY b/libs/glm/HISTORY
index 88a8b6e..84f6b1c 100644
--- a/libs/glm/HISTORY
+++ b/libs/glm/HISTORY
@@ -1,3 +1,7 @@
+2023-08-31 Conner Clere <xenanthropy AT sourcemage.org>
+ * glm.pc.in: added, glm pkgconfig file
+ * INSTALL: added install for glm pkgconfig file
+
2020-04-18 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 0.9.9.8

diff --git a/libs/glm/INSTALL b/libs/glm/INSTALL
index 2c7e3ac..a6221ec 100755
--- a/libs/glm/INSTALL
+++ b/libs/glm/INSTALL
@@ -1,3 +1,13 @@
rm glm/CMakeLists.txt &&
install -vm 755 -d "$INSTALL_ROOT/usr/include/glm" &&
-cp -r glm "$INSTALL_ROOT/usr/include"
+cp -r glm "$INSTALL_ROOT/usr/include" &&
+
+cd "${SPELL_DIRECTORY}" &&
+
+sed -e "s:@CMAKE_INSTALL_PREFIX@:$INSTALL_ROOT/usr:" \
+ -e "s:@GLM_VERSION@:$VERSION:" \
+ "${SPELL_DIRECTORY}"/glm.pc.in > "${SOURCE_DIRECTORY}/glm.pc" &&
+
+if [[ -f "${SOURCE_DIRECTORY}/glm.pc" ]]; then
+ install -D "${SOURCE_DIRECTORY}/glm.pc"
"${INSTALL_ROOT}/usr/lib/pkgconfig/glm.pc"
+fi
diff --git a/libs/glm/glm.pc.in b/libs/glm/glm.pc.in
new file mode 100644
index 0000000..fc5c7bb
--- /dev/null
+++ b/libs/glm/glm.pc.in
@@ -0,0 +1,7 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+includedir=${prefix}/include
+
+Name: GLM
+Description: OpenGL Mathematics
+Version: @GLM_VERSION@
+Cflags: -I${includedir}



  • [SM-Commit] GIT changes to master grimoire by Conner Clere (86ecd84017a6d286fb6fb86500814ce870e3d3da), Conner Clere, 08/31/2023

Archive powered by MHonArc 2.6.24.

Top of Page