Skip to content

Commit

Permalink
glm: Add back glm.pc
Browse files Browse the repository at this point in the history
Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
  • Loading branch information
ReillyBrogan committed Mar 16, 2024
1 parent 9197bce commit 27d2559
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions packages/g/glm/files/glm.pc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
prefix=/usr
includedir=${prefix}/include

Name: GLM
Description: OpenGL Mathematics
Version: @GLM_VERSION@
Cflags: -I${includedir}
5 changes: 4 additions & 1 deletion packages/g/glm/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : glm
version : 1.0.1
release : 7
release : 8
source :
- https://github.com/g-truc/glm/archive/1.0.1.tar.gz : 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c
license : MIT
Expand All @@ -18,5 +18,8 @@ build : |
%ninja_build
install : |
%ninja_install
sed -i "s|@GLM_VERSION@|$version|" $pkgfiles/glm.pc
install -Dm00644 $pkgfiles/glm.pc $installdir/usr/lib64/pkgconfig/glm.pc
check : |
%ninja_check
3 changes: 2 additions & 1 deletion packages/g/glm/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,11 @@
<Path fileType="library">/usr/lib64/cmake/glm/glmConfig.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/glm/glmConfigVersion.cmake</Path>
<Path fileType="library">/usr/lib64/libglm.a</Path>
<Path fileType="data">/usr/lib64/pkgconfig/glm.pc</Path>
</Files>
</Package>
<History>
<Update release="7">
<Update release="8">
<Date>2024-03-16</Date>
<Version>1.0.1</Version>
<Comment>Packaging update</Comment>
Expand Down

0 comments on commit 27d2559

Please sign in to comment.