ayaports/backports/coin/APKBUILD

37 lines
1 KiB
Text
Raw Permalink Normal View History

2023-05-15 19:53:09 +00:00
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
2024-12-13 20:42:59 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
2023-05-15 19:53:09 +00:00
pkgname=coin
2024-12-13 20:42:59 +00:00
pkgver=4.0.3
pkgrel=0
2023-05-15 19:53:09 +00:00
pkgdesc="OpenGL OpenInventor compatible graphics library"
url="https://github.com/coin3d/coin"
license="BSD-3-Clause"
2023-08-11 19:49:05 +00:00
arch="all"
2023-05-15 19:53:09 +00:00
makedepends="boost-dev cmake glu-dev graphviz samurai"
subpackages="$pkgname-dev"
2024-12-13 20:42:59 +00:00
source="https://github.com/coin3d/coin/releases/download/v$pkgver/coin-$pkgver-src.tar.gz
2023-05-15 19:53:09 +00:00
TestSuitePatch.patch
"
builddir="$srcdir/coin"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCOIN_BUILD_TESTS=ON
cmake --build build
}
check() {
cmake --build build --target test
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
2024-12-13 20:42:59 +00:00
b661bf2124b0de1b46e76a6699b0975abb3aed4dc9019bf32531c535179dc84a90fe4e19def6f6cda7b175470636040d0e58812d532198cf207296d37c539915 coin-4.0.3-src.tar.gz
2023-05-15 19:53:09 +00:00
aab464244b13371badf0878e5bfbcce859a42756cf8c7657d1480318aa291d296eac2741219c346bae056f761c5f46857f8fd1ec1c4129f86bc10236d3869deb TestSuitePatch.patch
"