Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
f61600e2
Unverified
Commit
f61600e2
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/glm: modernise
parent
8280a13b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/glm/APKBUILD
+10
-8
10 additions, 8 deletions
community/glm/APKBUILD
with
10 additions
and
8 deletions
community/glm/APKBUILD
+
10
−
8
View file @
f61600e2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
glm
pkgver
=
0.9.9.8
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"C++ mathematics library for graphics programming"
url
=
"https://glm.g-truc.net/"
arch
=
"noarch"
license
=
"MIT"
makedepends
=
"cmake"
makedepends
=
"cmake
samurai
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::
https://github.com/g-truc/glm/archive/
$pkgver
.tar.gz
source
=
"https://github.com/g-truc/glm/archive/
refs/tags/
$pkgver
/glm-
$pkgver
.tar.gz
fix-endian-test.patch
glm.pc
"
patch_args
=
"--binary -p1"
build
()
{
cmake
-B
build
\
cmake
-B
build
-G
Ninja
\
-DCMAKE_BUILD_TYPE
=
None
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DGLM_TEST_ENABLE
=
TRUE
make
-
C
build
c
make
-
-build
build
}
check
()
{
make
-C
build
test
ctest
--output-on-failure
--test-dir
build
}
package
()
{
...
...
@@ -35,6 +35,8 @@ package() {
cp
"
$srcdir
"
/glm.pc
"
$pkgdir
"
/usr/lib/pkgconfig/
}
sha512sums
=
"9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8 glm-0.9.9.8.tar.gz
sha512sums
=
"
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8 glm-0.9.9.8.tar.gz
93e02285b7530bb5fdad71905a55150e64cda3d036f43fca166eddb2e8d2f2d03025543c96dfd44234a37f860ea0682be2c683a66c9d4ef33f5bc269c95bbdfa fix-endian-test.patch
185a9eae06b4bd291c72351239a969e37b83feb1b2de64c397f657370aff81241bf489f0109c74d50cd7106389c2740b0f620f39cdd3604dc51ed9b5046442af glm.pc"
185a9eae06b4bd291c72351239a969e37b83feb1b2de64c397f657370aff81241bf489f0109c74d50cd7106389c2740b0f620f39cdd3604dc51ed9b5046442af glm.pc
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment